-->
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: Exception caught when committed
PostPosted: Tue Apr 04, 2006 2:53 am 
Newbie

Joined: Tue Mar 28, 2006 6:57 am
Posts: 6
Here is the output in console
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R java.lang.NullPointerException
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at oracle.jdbc.dbaccess.DBData.clearItem(DBData.java:431)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at oracle.jdbc.dbaccess.DBDataSetImpl.clearItem(DBDataSetImpl.java:3528)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at oracle.jdbc.driver.OraclePreparedStatement.clearParameters(OraclePreparedStatement.java:3401)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.resetStatement(WSJdbcConnection.java:1839)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1521)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareStatement(WSJdbcConnection.java:1487)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:383)
[4/4/06 14:47:38:508 CST] 7142ccd0 SystemErr R at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:74)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:67)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:148)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.persister.entity.BasicEntityPersister.update(BasicEntityPersister.java:1944)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.persister.entity.BasicEntityPersister.updateOrInsert(BasicEntityPersister.java:1899)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.persister.entity.BasicEntityPersister.update(BasicEntityPersister.java:2139)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:75)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:137)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.statestr.oms.fx.manager.BenchmarkAutopricingSiteManager.setAutomatedPricing(BenchmarkAutopricingSiteManager.java:65)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.statestr.gfx.oms.benchmark.jsfbeans.SetAutomatedPricingBean.apply(SetAutomatedPricingBean.java:238)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at javax.faces.component.UICommand.broadcast(UICommand.java:312)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:270)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:384)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:217)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
[4/4/06 14:47:38:523 CST] 7142ccd0 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)

I've updated the jar of hibernate and oracle jdbc driver but the problem still bothers me. Could you please help me for that?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 3:58 am 
Newbie

Joined: Tue Mar 28, 2006 6:57 am
Posts: 6
It has been resolved by setting the property statement cache size to 0 (10 default) in datasource configuration page.
However, it seems that doing this will have a trade off on performance. What's more, someone said that using an updated JDBC driver will be also helpful but it failed to work. Could you please give me some other advice?


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.