1 Reply Latest reply on Apr 22, 2002 12:40 AM by jasonuithol

    java.lang.NullPointerException: METHOD IS NOT FOUND

    jasonuithol

      I started getting this error:

      I know other people have got it but no one seems to have posted a resolution...


      java.lang.reflect.InvocationTargetException: java.lang.NullPointerException: METHOD IS NOT FOUND: 2081295996050332126
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:117)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96


      I am using a CVS build of jboss-3.0.0 beta 20020318-2000

      Help greatly appreciated.

        • 1. Re: java.lang.NullPointerException: METHOD IS NOT FOUND
          jasonuithol

          I thought I'd keep a little dialogue of this since I haven't found a reference to it anywhere else. If anyone has had experience with this I would grealy appreciate some help.

          ------

          Found the problem - there are two ear's with two versions of the same class. One has the method being called, one doesn't. Removing the ear with the version without the class fixed everything.

          Question time: Is this by design ? I was under the impression that separate ear's had separate classloaders. Is there any way I can have two versions of the same class running in separate applications ?