Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4146

Intermittent NPE in jbossws-cxf-client unit tests with IBM JDK

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide
      ## prebuild necessary artifacts and download dependencies
      mvn -V -B install -pl modules/client -am
      
      ## second run to execute client module testsuite
      for i in {1..100000}; do
       echo "Run #$i" 
       mvn -V -B test -pl modules/client
      done
      
      Show
      ## prebuild necessary artifacts and download dependencies mvn -V -B install -pl modules/client -am ## second run to execute client module testsuite for i in {1..100000}; do echo "Run #$i" mvn -V -B test -pl modules/client done

      Description

      An intermittent NPE is thrown during building project on IBM JDK, might be specific issue with different JDK vendor but might be also revealing the bug in client code.

      When the situation occurs the exception is thrown in arbitrary call of org.apache.cxf.endpoint.Client#getEndpoint

      ERROR!
      15:43:15 java.lang.NullPointerException
      15:43:15 	at org.jboss.wsf.stack.cxf.client.configuration.CXFClientConfigurerTest.testAddInterceptorsThroughSetConfigProperties(CXFClientConfigurerTest.java:524)
      

      Reproducibility ~ <5%

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jbliznak Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: