0 Replies Latest reply on Apr 9, 2002 4:53 AM by chouzhi

    Find failed problem, urgent!!!

    chouzhi Newbie

      When i insert a record in a page, then redirect to list all the record page,
      The jboss gave following error,
      javax.ejb.FinderException: Find failed: java.lang.NullPointerException

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:144)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:40)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:395)

      at org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:318)

      at org.jboss.ejb.EntityContainer.find(EntityContainer.java:634)

      at java.lang.reflect.Method.invoke(Native Method)

      at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1051)

      at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73)

      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:222)

      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:136)

      at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:80)

      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)

      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:167)

      at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)

      at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:102)

      at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)

      at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:469)

      at org.jboss.ejb.Container.invoke(Container.java:682)

      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)

      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)

      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

      at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:364)

      at java.lang.reflect.Method.invoke(Native Method)

      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)

      at sun.rmi.transport.Transport$1.run(Transport.java:152)

      at java.security.AccessController.doPrivileged(Native Method)

      at sun.rmi.transport.Transport.serviceCall(Transport.java:148)

      at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)

      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)

      at java.lang.Thread.run(Thread.java:484)