Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2851

Some itests fail accidentally with NPE

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.1, 7.0.0.M1, 7.0.0
    • Component/s: itests
    • Labels:
      None

      Description

      There are still some itests which fail accidentally with following error

      Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 169.007 sec <<< FAILURE! - in org.apache.servicemix.itests.CxfExamplesTest
      testCxfOsgi(org.apache.servicemix.itests.CxfExamplesTest)  Time elapsed: 19.867 sec  <<< ERROR!
      java.lang.NullPointerException: null
      	at org.apache.servicemix.itests.IntegrationTestSupport$PaxLoggingAppender$$anonfun$containsMessage$1.apply(IntegrationTestSupport.scala:116)
      	at org.apache.servicemix.itests.IntegrationTestSupport$PaxLoggingAppender$$anonfun$containsMessage$1.apply(IntegrationTestSupport.scala:116)
      	at scala.collection.IndexedSeqOptimized$$anonfun$1.apply(IndexedSeqOptimized.scala:50)
      	at scala.collection.IndexedSeqOptimized$$anonfun$1.apply(IndexedSeqOptimized.scala:50)
      	at scala.collection.IndexedSeqOptimized$class.segmentLength(IndexedSeqOptimized.scala:195)
      	at scala.collection.mutable.ArrayBuffer.segmentLength(ArrayBuffer.scala:48)
      	at scala.collection.GenSeqLike$class.prefixLength(GenSeqLike.scala:93)
      	at scala.collection.AbstractSeq.prefixLength(Seq.scala:41)
      	at scala.collection.IndexedSeqOptimized$class.find(IndexedSeqOptimized.scala:50)
      	at scala.collection.mutable.ArrayBuffer.find(ArrayBuffer.scala:48)
      	at org.apache.servicemix.itests.IntegrationTestSupport$PaxLoggingAppender.containsEvent(IntegrationTestSupport.scala:118)
      	at org.apache.servicemix.itests.IntegrationTestSupport$PaxLoggingAppender.containsMessage(IntegrationTestSupport.scala:116)
      	at org.apache.servicemix.itests.CxfExamplesTest$$anonfun$testCxfOsgi$1$$anonfun$apply$mcV$sp$14.apply(ExamplesIntegrationTests.scala:167)
      	at org.apache.servicemix.itests.CxfExamplesTest$$anonfun$testCxfOsgi$1$$anonfun$apply$mcV$sp$14.apply(ExamplesIntegrationTests.scala:167)
      	at org.apache.servicemix.itests.Await$class.org$apache$servicemix$itests$Await$$await(Await.scala:31)
      	at org.apache.servicemix.itests.Await$class.await(Await.scala:28)
      	at org.apache.servicemix.itests.IntegrationTestSupport.await(IntegrationTestSupport.scala:37)
      	at org.apache.servicemix.itests.IntegrationTestSupport.expect(IntegrationTestSupport.scala:82)
      	at org.apache.servicemix.itests.CxfExamplesTest$$anonfun$testCxfOsgi$1.apply$mcV$sp(ExamplesIntegrationTests.scala:167)
      	at org.apache.servicemix.itests.IntegrationTestSupport.testWithFeature(IntegrationTestSupport.scala:74)
      	at org.apache.servicemix.itests.IntegrationTestSupport.testWithFeature(IntegrationTestSupport.scala:64)
      	at org.apache.servicemix.itests.CxfExamplesTest.testCxfOsgi(ExamplesIntegrationTests.scala:166)
      
      Results :
      
      Tests in error: 
        CxfExamplesTest.testCxfOsgi:166->IntegrationTestSupport.testWithFeature:64->IntegrationTestSupport.testWithFeature:74->IntegrationTestSupport.expect:82->IntegrationTestSupport.await:37 ยป NullPointer
      

        Attachments

          Activity

            People

            • Assignee:
              sobkowiak Krzysztof Sobkowiak
              Reporter:
              sobkowiak Krzysztof Sobkowiak

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment