Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-970

ServiceRefClientTestCase and WebServiceRefClientTestCase failures because of NPE on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 6.0.0 ER 6_Beta2
    • Fix Version/s: EAP 6.0.1 ER 1
    • Component/s: Web Services
    • Labels:
      None
    • Environment:

      Windows

      Description

      Failing tests:
      org.jboss.test.ws.jaxws.samples.serviceref.ServiceRefClientTestCase
      org.jboss.test.ws.jaxws.samples.webserviceref.WebServiceRefClientTestCase

      Cause:

      java.lang.NullPointerException
      	at org.jboss.wsf.test.AppclientHelper.undeployAppclient(AppclientHelper.java:92)
      	at org.jboss.wsf.test.JBossWSTestHelper.undeployAppclient(JBossWSTestHelper.java:128)
      	at org.jboss.test.ws.jaxws.samples.webserviceref.WebServiceRefClientTestCase.testApplicationClient(WebServiceRefClientTestCase.java:97)
      

      Details:
      [rsvoboda@rosta-ntb jbossws-shared-testsuite-4.0.3.GA]$ vim src/main/java/org/jboss/wsf/test/AppclientHelper.java
      AppclientProcess ap is null

            final AppclientProcess ap = appclients.remove(archive);
      ...
            finally
            {
               ap.outTask.kill();  /// line 92
               ap.errTask.kill();
               ap.process.destroy();
               ap.log.close();
            }
      

      Links to tests:
      https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-WS/job/eap-60-jbossws-testsuite-windows/jdk=java17_default,label=dev97-W2k8-x86_64/lastCompletedBuild/testReport/org.jboss.test.ws.jaxws.samples.serviceref/ServiceRefClientTestCase/testApplicationClient/
      https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-WS/job/eap-60-jbossws-testsuite-windows/jdk=java17_default,label=dev97-W2k8-x86_64/lastCompletedBuild/testReport/org.jboss.test.ws.jaxws.samples.webserviceref/WebServiceRefClientTestCase/testApplicationClient/

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jim.ma Jim Ma
                  Reporter:
                  rsvoboda Rostislav Svoboda
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: