2 Replies Latest reply on Mar 31, 2002 2:09 AM by hoi tsang

    JBOSS 2.4.4 / MS SQL2000

    hoi tsang Newbie

      hi there, i can successfully create connection, and the a "findByxxx(String)" method run successfully. However, when i try another method like "findByxxx(Integer)", it fails with this error message, any clue?:

      [RoleEJB] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested exception is:
      java.lang.NullPointerException; nested exception is:
      java.rmi.ServerException: Load failed; nested exception is:
      java.lang.NullPointerException
      [RoleEJB] java.rmi.ServerException: Load failed; nested exception is:
      [RoleEJB] java.lang.NullPointerException
      [RoleEJB] java.lang.NullPointerException
      [RoleEJB] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getResultObject(JDBCCommand.java:504)
      [RoleEJB] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.loadOneEntity(JDBCLoadEntityCommand.java:219)
      [RoleEJB] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JDBCLoadEntityCommand.java:176)
      [RoleEJB] at org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndHandleResult(JDBCQueryCommand.java:59)
      [RoleEJB] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:160)
      [RoleEJB] at org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:147)
      [RoleEJB] at org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPersistenceManager.java:156)
      [RoleEJB] at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:362)
      [RoleEJB] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:286)
      [RoleEJB] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:208)
      [RoleEJB] at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:136)
      [RoleEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
      [RoleEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:307)
      [RoleEJB] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
      [RoleEJB] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
      [RoleEJB] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      [RoleEJB] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:427)
      [RoleEJB] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:393)
      [RoleEJB] at java.lang.reflect.Method.invoke(Native Method)
      [RoleEJB] at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      [RoleEJB] at sun.rmi.transport.Transport$1.run(Unknown Source)
      [RoleEJB] at java.security.AccessController.doPrivileged(Native Method)
      [RoleEJB] at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      [RoleEJB] at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      [RoleEJB] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
      [RoleEJB] at java.lang.Thread.run(Unknown Source)