0 Replies Latest reply on Dec 27, 2001 8:26 AM by Herve Tchepannou

    Receive a NullPointerException when throwing an application

    Herve Tchepannou Newbie

      I receive a NullPointerException every time my SLSB throw one of my exception. ( I my case, my exception is DomainException ).
      Does anyone has any idea why?

      Im running JBoss-2.4.3 on Linux RH 7.2 with hsqldb as database

      [junit] Running test.com.tbh.tspace.components.DomainManagerTest
      [junit] java.lang.NullPointerException
      [junit] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:248)
      [junit] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
      [junit] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
      [junit] at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:357)
      [junit] at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123)
      [junit] at $Proxy1.removeNode(Unknown Source)
      [junit] at test.com.tbh.tspace.components.DomainManagerTest.testRemoveNodeNullURI(DomainManagerTest.java:225)
      [junit] at java.lang.reflect.Method.invoke(Native Method)
      [junit] at junit.framework.TestCase.runTest(TestCase.java:166)
      [junit] at junit.framework.TestCase.runBare(TestCase.java:140)
      [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
      [junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
      [junit] at junit.framework.TestResult.run(TestResult.java:109)
      [junit] at junit.framework.TestCase.run(TestCase.java:131)
      [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
      [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
      [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173)
      [junit] at junit.framework.TestSuite.run(TestSuite.java:168)
      [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:231)
      [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:409)