Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-104

excepiiop tests failing with ExceptionThrower NullPointerException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.2.BETA
    • 4.2.ALPHA1
    • System
    • None
    • Windows 2003, x86_64 (dev16)

    Description

      All tests in the class org.jboss.test.excepiiop.text.ExceptionTimingStressTestCase fail, due to the call to home.create() in:
      ExceptionThrowerHome home = (ExceptionThrowerHome)PortableRemoteObject.narrow(
      getInitialContext().lookup(ExceptionThrowerHome.JNDI_NAME), ExceptionThrowerHome.class);
      ExceptionThrower exceptionThrower = home.create();
      throwing a null pointer exception. This error occurs in all test cases.

      test execution
      --------------------
      C:\JBPAPP\JBPAPP-03-26-07-alpha4-BEA\src\testsuite>build.bat one-test -Dnode0=%M
      YTESTIP_1% -Dnode1=%MYTESTIP_2% -DudpGroup=239.11.12.13 -Dtest=org.jboss.test.ex
      cepiiop.test.ExceptionTimingStressTestCase
      Calling ..\tools\bin\ant.bat one-test -Dnode0 10.16.32.161 -Dnode1 10.16.32.162
      -DudpGroup 239.11.12.13 -Dtest org.jboss.test.excepiiop.test.ExceptionTimingStressTestCase
      Buildfile: build.xml
      one-test:
      [delete] Deleting: C:\JBPAPP\JBPAPP-03-26-07-alpha4-BEA\src\testsuite\output\
      log\test.log
      [junit] Running org.jboss.test.excepiiop.test.ExceptionTimingStressTestCase
      [junit] Tests run: 6, Failures: 0, Errors: 6, Time elapsed: 2.75 sec
      [junit] Test org.jboss.test.excepiiop.test.ExceptionTimingStressTestCase FAILED

      junit output
      ----------------
      <testcase classname="org.jboss.test.excepiiop.test.ExceptionTimingStressTestCase"name="testNoException" time="2.688">
      <error type="java.lang.NullPointerException">java.lang.NullPointerException:
      at org.jboss.test.excepiiop.test.ExceptionTimingStressTestCase.testNoException(ExceptionTimingStressTestCase.java:85)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
      at junit.extensions.TestSetup.run(TestSetup.java:25)
      </error>

      server 'all' output during execution
      -----------------------------------------------
      17:36:41,546 INFO [EjbModule] Deploying ExceptionThrower
      17:36:42,093 INFO [excepiiop/ExceptionThrower] EJBHome reference for excepiiop/
      ExceptionThrower:
      IOR:000000000000004E524D493A6F72672E6A626F73732E746573742E657863657069696F702E69
      6E74657266616365732E457863657074696F6E5468726F776572486F6D653A303030303030303030
      303030303030300000000000000200000000000000E4000102000000000D31302E31362E33322E31
      363100000DC8000000304A426F73732F454A42486F6D652625657863657069696F70262545786365
      7074696F6E5468726F7765722FACED000570000000050000000000000008000000004A4143000000
      00010000001C00000000000100010000000105010001000101090000000105010001000000190000
      003D0000000000000035687474703A2F2F64657631363A383038332F576562434C5B657863657069
      696F702F457863657074696F6E5468726F7765725D2F000000000000002000000004000000000000
      001F000000040000000300000001000000680000000000000003000000190000003D000000000000
      0035687474703A2F2F64657631363A383038332F576562434C5B657863657069696F702F45786365
      7074696F6E5468726F7765725D2F000000000000002000000004000000000000001F000000040000
      0003
      17:36:42,093 INFO [excepiiop/ExceptionThrower] Home IOR for ExceptionThrower bo
      und to iiop/excepiiop/ExceptionThrower in JNP naming service
      17:36:42,140 INFO [excepiiop/ExceptionThrower] Home IOR for ExceptionThrower bo
      und to excepiiop/ExceptionThrower in CORBA naming service
      17:36:42,156 INFO [EJBDeployer] Deployed: file:/C:/JBPAPP/JBPAPP-03-26-07-alpha
      4-BEA/src/testsuite/output/lib/excepiiop.jar
      17:36:42,999 INFO [EJBDeployer] Undeploying: file:/C:/JBPAPP/JBPAPP-03-26-07-al
      pha4-BEA/src/testsuite/output/lib/excepiiop.jar
      17:36:43,078 INFO [EjbModule] Undeployed ExceptionThrower

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: