java.lang.NullPointerException

Oracle Community | 807581 | 10 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.markKeyFieldsPresent()
  2. com.sun.jdo
    PersistenceManagerWrapper.getObjectById
    1. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.markKeyFieldsPresent(SQLStateManager.java:1688)
    2. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.reload(SQLStateManager.java:1168)
    3. com.sun.jdo.spi.persistence.support.sqlstore.SQLStateManager.reload(SQLStateManager.java:1136)
    4. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerImpl.getObjectById(PersistenceManagerImpl.java:651)
    5. com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerWrapper.getObjectById(PersistenceManagerWrapper.java:263)
    5 frames
  3. data
    CustomerBean_598693101_ConcreteImpl.ejbFindByPrimaryKey
    1. data.CustomerBean_598693101_ConcreteImpl.ejbFindByPrimaryKey(CustomerBean_598693101_ConcreteImpl.java:252)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. com.sun.enterprise
    EJBSecurityManager.runMethod
    1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
    1 frame
  6. Security Core Classes
    SecurityUtil.invoke
    1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
    1 frame
  7. Embedded GlassFish Web
    EJBLocalHomeInvocationHandler.invoke
    1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
    2. com.sun.ejb.containers.EntityContainer.invokeFindByPrimaryKey(EntityContainer.java:756)
    3. com.sun.ejb.containers.EJBLocalHomeInvocationHandler.invoke(EJBLocalHomeInvocationHandler.java:220)
    3 frames
  8. Unknown
    $Proxy113.findByPrimaryKey
    1. $Proxy113.findByPrimaryKey(Unknown Source)
    1 frame
  9. agency
    AdvertiseBean.ejbCreate
    1. agency.AdvertiseBean.ejbCreate(AdvertiseBean.java:86)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  11. com.sun.enterprise
    EJBSecurityManager.runMethod
    1. com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
    1 frame
  12. Security Core Classes
    SecurityUtil.invoke
    1. com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
    1 frame
  13. Embedded GlassFish Web
    EJBHomeInvocationHandler.invoke
    1. com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
    2. com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocationHandler.java:229)
    2 frames
  14. Unknown
    $Proxy111.create
    1. $Proxy111.create(Unknown Source)
    1 frame
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  16. glassfish-corba-orb
    SocketOrChannelConnectionImpl.doWork
    1. com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
    2. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
    3. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
    4. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
    5. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
    6. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
    7. com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
    8. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
    9. com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
    10. com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
    10 frames
  17. glassfish-corba-orbgeneric
    ThreadPoolImpl$WorkerThread.run
    1. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
    1 frame