-->
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.  [ 2 posts ] 
Author Message
 Post subject: NullPointerException on OraclePreparedStatement.class (1768)
PostPosted: Fri Feb 20, 2015 12:57 am 
Newbie

Joined: Fri Feb 20, 2015 12:51 am
Posts: 2
Hi,

Anybody knows about below exception. I am not able to figure out why this exception occurred.

Note: This exception occurred only once for some period. After some time it worked for same set of data.

Caused by:
java.lang.NullPointerException
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1768)
at oracle.jdbc.driver.OraclePreparedStatement.addBatch(OraclePreparedStatement.java:10510)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.addBatch(NewProxyPreparedStatement.java:131)
at org.hibernate.jdbc.BatchingBatcher.addToBatch(BatchingBatcher.java:31)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2252)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2659)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:60)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)


Top
 Profile  
 
 Post subject: Re: NullPointerException on OraclePreparedStatement.class (1768)
PostPosted: Fri Feb 20, 2015 7:47 am 
Newbie

Joined: Fri Feb 20, 2015 12:51 am
Posts: 2
Got some Idea..

In the context of a very slow LAN with very little bandwidth left, it is possible that we get java.lang.NullPointerException on OraclePreparedStatement.processCompletedBindRow.

Below link has this information:
https://community.oracle.com/thread/633581
http://oracle.developer-works.com/article/5247902/NullPointerException+in+OraclePreparedStatement.processCompletedBindRow


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.