1 Reply Latest reply on Apr 20, 2007 4:06 AM by apill

    java.lang.NullPointerException at org.jboss.ejb.txtimer.Data

    jkahng2000

      I am new to JBoss. I have a simple test with one entity and one session bean. It worked ok with 4.0.5. When I tried 4.2.0CR1, I get his error at startup of JBoss:

      java.lang.NullPointerException
      at org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:147)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)

      I am using Postgres 8.2.3. Any help would be appreciated.

      Jong

        • 1. Re: java.lang.NullPointerException at org.jboss.ejb.txtimer.
          apill

          I had a working ear on JBoss 5.0.0Beta1. When I tried to switch to JBoss 5.0.0Beta2 I get this same error. I have no idea what could be causing this, is it a bug in JBoss 5.0.0Beta2?

          The ejb that fails to install is using a MS SQL datasource.

          If you require any more information I am happy to provide it.

          Thanks.
          Adrian