-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Help! NullpointerException
PostPosted: Fri Apr 01, 2005 2:02 pm 
Newbie

Joined: Wed Jan 05, 2005 4:59 pm
Posts: 15
Did anybody ever face this nullpointer exception? Any help will be appreciated.

Regards,
girirx

Hibernate version:2.1

Name and version of the database you are using: oracle 10g

Full stack trace of any exception that occurs:
java.lang.NullPointerException
at
oracle.jdbc.driver.OraclePreparedStatement.setupBindBuffers(OraclePreparedSt
atement.java:2545)
at
oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatem
ent.java:8673)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement
.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement
.java:294)
at
net.sf.hibernate.impl.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:54
)
at net.sf.hibernate.impl.BatcherImpl.executeBatch(BatcherImpl.java:127)
at net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImpl.java:60)
at net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImpl.java:57)
at
net.sf.hibernate.impl.BatcherImpl.prepareBatchStatement(BatcherImpl.java:110
)
at
net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:456)
at
net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:438)
at
net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2438)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2391)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2260)
at com.hfc.hibernate.HibernateUtil.freeMemory(Unknown Source)
at com.hfc.service.ClaimStatusReportProcessor.saveToDb(Unknown Source)
at com.hfc.service.ClaimStatusReportProcessor.processRequest(Unknown
Source)
at com.hfc.service.ClaimStatusReportProcessor.main(Unknown Source)



Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 13, 2005 6:10 pm 
Newbie

Joined: Mon Feb 16, 2004 11:28 pm
Posts: 16
Any resolution? I see the following post where people are saying it's an oracle driver issue.


http://forum.hibernate.org/viewtopic.php?t=941672&highlight=setupbindbuffers[/url]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 06, 2005 6:27 pm 
Newbie

Joined: Tue Mar 15, 2005 1:38 pm
Posts: 11
I have a resolution. Upgrade to the Oracle 10.2.0.1.0 JDBC driver. It was definitely a driver bug. See my post in the thread you reference above for more details.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.