0 Replies Latest reply on Oct 4, 2002 5:30 AM by Guillermo Guisado

    Desperate: TRANSACTION ROLLBACK EXCEPTION

    Guillermo Guisado Newbie

      Hi I am dying trying to find a solution for this error.
      I load a bean and it loads ok but sas soon as I try to acces one field it gives me a NullPointerException.
      All the fileds use Class Types (Integer, String, etc) never primitive ones. I am using jboss 2.4.4/Catalina4.0.1 and the database is oracle 8.1.7.
      What can be wrong?
      [10:28:34,227,bucketingTSY] Resource 'org.jboss.pool.jdbc.xa.wrapper.XAResourceImpl@cb2795' enlisted for 'org.jboss.pool.jdbc.xa.wrapper.XAConnectionImpl@7a4989'.
      [10:28:34,336,LOANDEPOSITDEALS] TRANSACTION ROLLBACK EXCEPTION:
      javax.transaction.TransactionRolledbackException: Load failed; nested exception is:
      java.lang.NullPointerException; nested exception is:
      java.rmi.ServerException: Load failed; nested exception is:
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:188)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:428)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:504)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:133)
      at $Proxy15.getCURRENCY(Unknown Source)
      at com.db.cib.gm.it.madrid.bucketing.rules.LoanDepositDeal.getLoanDepositDeals(LoanDepositDeal.java:53)
      at com.db.cib.gm.it.madrid.bucketing.rules.LoanDepositDeal.getCreatedDealsByCpty(LoanDepositDeal.java:70)
      at com.db.cib.gm.it.madrid.bucketing.pages.pgDealSearch.(pgDealSearch.java:47)
      at com.db.cib.gm.it.madrid.pages.DistributorLocal.crearPagina(DistributorLocal.java:22)
      at com.db.cib.gm.it.madrid.pages.Distributor.crearPagina(Distributor.java:172)
      at com.db.cib.gm.it.madrid.pages.Distributor.responderPeticionGEToDO(Distributor.java:149)
      at com.db.cib.gm.it.madrid.pages.Distributor.doPost(Distributor.java:36)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.rmi.ServerException: Load failed; nested exception is:
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:151)
      at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPersistenceManager.java:156)
      at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:362)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:287)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:197)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:125)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      ... 46 more
      Caused by: java.lang.NullPointerException
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getResultObject(JDBCCommand.java:500)
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.loadOneEntity(JDBCLoadEntityCommand.java:219)
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JDBCLoadEntityCommand.java:176)
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndHandleResult(JDBCQueryCommand.java:59)
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:156)
      at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:147)
      ... 52 more
      [10:28:34,336,Default] javax.transaction.TransactionRolledbackException: Load failed; nested exception is:
      java.lang.NullPointerException; nested exception is:
      java.rmi.ServerException: Load failed; nested exception is:
      java.lang.NullPointerException
      [10:28:34,336,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:188)
      [10:28:34,336,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170)
      [10:28:34,352,Default] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:428)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:504)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.jrmp.interfaces.EntityProxy.invoke(EntityProxy.java:133)
      [10:28:34,352,Default] at $Proxy15.getCURRENCY(Unknown Source)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.bucketing.rules.LoanDepositDeal.getLoanDepositDeals(LoanDepositDeal.java:53)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.bucketing.rules.LoanDepositDeal.getCreatedDealsByCpty(LoanDepositDeal.java:70)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.bucketing.pages.pgDealSearch.(pgDealSearch.java:47)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.pages.DistributorLocal.crearPagina(DistributorLocal.java:22)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.pages.Distributor.crearPagina(Distributor.java:172)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.pages.Distributor.responderPeticionGEToDO(Distributor.java:149)
      [10:28:34,352,Default] at com.db.cib.gm.it.madrid.pages.Distributor.doPost(Distributor.java:36)
      [10:28:34,352,Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      [10:28:34,352,Default] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      [10:28:34,352,Default] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      [10:28:34,352,Default] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [10:28:34,352,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [10:28:34,352,Default] at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [10:28:34,352,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [10:28:34,352,Default] at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      [10:28:34,352,Default] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [10:28:34,352,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      [10:28:34,352,Default] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      [10:28:34,352,Default] at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      [10:28:34,352,Default] at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
      [10:28:34,352,Default] at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
      [10:28:34,352,Default] at java.lang.Thread.run(Thread.java:536)
      [10:28:34,352,Default] Caused by: java.rmi.ServerException: Load failed; nested exception is:
      java.lang.NullPointerException
      [10:28:34,352,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:151)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPersistenceManager.java:156)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:362)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:287)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:197)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:125)
      [10:28:34,352,Default] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138)
      [10:28:34,352,Default] ... 46 more
      [10:28:34,352,Default] Caused by: java.lang.NullPointerException
      [10:28:34,352,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getResultObject(JDBCCommand.java:500)
      [10:28:34,367,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.loadOneEntity(JDBCLoadEntityCommand.java:219)
      [10:28:34,367,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JDBCLoadEntityCommand.java:176)
      [10:28:34,367,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndHandleResult(JDBCQueryCommand.java:59)
      [10:28:34,367,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:156)
      [10:28:34,367,Default] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:147)
      [10:28:34,367,Default] ... 52 more
      [10:28:34,367,Default] 04/10/2002 10:28:34.367 ERROR: [com.db.cib.gm.it.madrid.bucketing.pages.pgDealSearch] Error getting input parameters. Load failed; nested exception is:
      java.lang.NullPointerException; nested exception is:
      java.rmi.ServerException: Load failed; nested exception is:
      java.lang.NullPointerException