Results 1 to 9 of 9
  1. #1
    happyknappy is offline Member
    Join Date
    Jul 2008
    Location
    tondo manila
    Posts
    7
    Rep Power
    0

    Default TransactionRolledbackLocalException

    Can you help me with this error.. and possible reason why this occured?
    thanks guys really appreaciate it..


    08:44:27,569 ERROR [LogInterceptor] TransactionRolledbackLocalException, causedy:
    java.lang.NullPointerException
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.cr eateBeanClassInstace(JDBCStoreManager.java:513)
    at org.jboss.ejb.plugins.CMPPersistenceManager.create BeanClassInstance(MPPersistenceManager.java:165)
    at org.jboss.ejb.EntityContainer.createBeanClassInsta nce(EntityContaine.java:294)
    at org.jboss.ejb.plugins.AbstractInstancePool.get(Abs tractInstancePool.ava:184)
    at org.jboss.ejb.plugins.EntityInstanceInterceptor.in vokeHome(EntityInsanceInterceptor.java:78)
    at org.jboss.ejb.plugins.EntityLockInterceptor.invoke Home(EntityLockIntrceptor.java:79)
    at org.jboss.ejb.plugins.EntityCreationInterceptor.in vokeHome(EntityCretionInterceptor.java:44)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxIntrceptor.java:111)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxIntercetorCMT.java:228)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome( TxInterceptorCMT.jva:62)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHo me(SecurityIntercetor.java:105)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(Lo gInterceptor.java:29)
    at org.jboss.ejb.EntityContainer.invokeHome(EntityCon tainer.java:487)
    at org.jboss.ejb.plugins.local.BaseLocalContainerInvo ker.invokeHome(BasLocalContainerInvoker.java:230)
    at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke( LocalHomeProxy.jav:110)
    at $Proxy31.findByEmployeeNo(Unknown Source)
    at ph.com.smart.cs.forculus.ejb.session.user.UserMgrB ean.getUser(UserMgBean.java:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpljava:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccesorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.ejb.StatelessSessionContainer$ContainerI nterceptor.invoke(tatelessSessionContainer.java:66 0)
    at

    org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.invke(CachedConnectionInterceptor.j ava:186)
    at

    org.jboss.ejb.plugins.StatelessSessionInstanceInte rceptor.invoke(StaelessSessionInstanceInterceptor. java:77)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxIntrceptor.java:107)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxIntercetorCMT.java:228)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxIn terceptorCMT.java:2)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(S ecurityInterceptorjava:130)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInt erceptor.java:204)
    at org.jboss.ejb.StatelessSessionContainer.invoke(Sta telessSessionContaner.java:313)
    at org.jboss.ejb.Container.invoke(Container.java:712)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:517)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invok e(JRMPInvoker.java382)
    at sun.reflect.GeneratedMethodAccessor17.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccesorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 48)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTranspor.java:701)
    at java.lang.Thread.run(Thread.java:534)
    08:44:27,570 ERROR [LogInterceptor] TransactionRolledbackException, causedBy:
    java.lang.NullPointerException
    at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.cr eateBeanClassInstace(JDBCStoreManager.java:513)
    at org.jboss.ejb.plugins.CMPPersistenceManager.create BeanClassInstance(MPPersistenceManager.java:165)
    at org.jboss.ejb.EntityContainer.createBeanClassInsta nce(EntityContaine.java:294)
    at org.jboss.ejb.plugins.AbstractInstancePool.get(Abs tractInstancePool.ava:184)
    at org.jboss.ejb.plugins.EntityInstanceInterceptor.in vokeHome(EntityInsanceInterceptor.java:78)
    at org.jboss.ejb.plugins.EntityLockInterceptor.invoke Home(EntityLockIntrceptor.java:79)
    at org.jboss.ejb.plugins.EntityCreationInterceptor.in vokeHome(EntityCretionInterceptor.java:44)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxIntrceptor.java:111)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxIntercetorCMT.java:228)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome( TxInterceptorCMT.jva:62)
    at org.jboss.ejb.plugins.SecurityInterceptor.invokeHo me(SecurityIntercetor.java:105)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(Lo gInterceptor.java:29)
    at org.jboss.ejb.EntityContainer.invokeHome(EntityCon tainer.java:487)
    at org.jboss.ejb.plugins.local.BaseLocalContainerInvo ker.invokeHome(BasLocalContainerInvoker.java:230)
    at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke( LocalHomeProxy.jav:110)
    at $Proxy31.findByEmployeeNo(Unknown Source)
    at ph.com.smart.cs.forculus.ejb.session.user.UserMgrB ean.getUser(UserMgBean.java:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpljava:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccesorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.ejb.StatelessSessionContainer$ContainerI nterceptor.invoke(tatelessSessionContainer.java:66 0)
    at

    org.jboss.resource.connectionmanager.CachedConnect ionInterceptor.invke(CachedConnectionInterceptor.j ava:186)
    at

    org.jboss.ejb.plugins.StatelessSessionInstanceInte rceptor.invoke(StaelessSessionInstanceInterceptor. java:77)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invoke Next(AbstractTxIntrceptor.java:107)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTran sactions(TxIntercetorCMT.java:228)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxIn terceptorCMT.java:2)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(S ecurityInterceptorjava:130)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInt erceptor.java:204)
    at org.jboss.ejb.StatelessSessionContainer.invoke(Sta telessSessionContaner.java:313)
    at org.jboss.ejb.Container.invoke(Container.java:712)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanSe rverImpl.java:517)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invok e(JRMPInvoker.java382)
    at sun.reflect.GeneratedMethodAccessor17.invoke(Unkno wn Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccesorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 48)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:60)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTranspor.java:701)
    at java.lang.Thread.run(Thread.java:534)
    [Full GC 8460K->6349K(259328K), 0.0856910 secs]

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    I don't know what you exactly doing in your code. But normally this exception is occurred when a request from one party to the other party processing, the request is not completed or roll back.

    Are you working on a server-client application?

  3. #3
    happyknappy is offline Member
    Join Date
    Jul 2008
    Location
    tondo manila
    Posts
    7
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    I don't know what you exactly doing in your code. But normally this exception is occurred when a request from one party to the other party processing, the request is not completed or roll back.

    Are you working on a server-client application?
    thanks eranga... yes this is for server-client application.. this error occurs once i log in on jsp. is this error occured because the data i input, got lost?

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    I think it's not because of lost. It's because of the same message are feeding. I mean you send different messages, but internally sending a same message.

    Which server you use? Your own one or else.

  5. #5
    racerxadam is offline Member
    Join Date
    Jul 2008
    Posts
    68
    Rep Power
    0

    Default

    It's a null pointer exception, looks like maybe here
    Java Code:
    ph.com.smart.cs.forculus.ejb.session.user.UserMgrB ean.getUser(UserMgBean.java:123)

  6. #6
    happyknappy is offline Member
    Join Date
    Jul 2008
    Location
    tondo manila
    Posts
    7
    Rep Power
    0

    Default

    To all of you guys thanks for your... i will try to find the problem on my application.. really appreciate your replies to this thread regards :D

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by racerxadam View Post
    It's a null pointer exception, looks like maybe here
    Java Code:
    ph.com.smart.cs.forculus.ejb.session.user.UserMgrB ean.getUser(UserMgBean.java:123)
    It could be, but can't sat that's the exact reason. So best thing is deal with the call stack.

  8. #8
    racerxadam is offline Member
    Join Date
    Jul 2008
    Posts
    68
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    It could be, but can't sat that's the exact reason. So best thing is deal with the call stack.
    yeah, that's what I did. the method call that I quoted looks like the only method that the user wrote.

  9. #9
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •