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

org.jboss.test.servicebindingmanager.JBPAPP4281UnitTestCase.testAJPBinding fails for EAP 5.3 on Windows when jboss.dist property is not specified

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: TBD EAP 5
    • Fix Version/s: EAP_EWP 5.3.0.GA
    • Component/s: Testsuite
    • Labels:
      None
    • Environment:

      Windows

    • Docs QE Status:
      NEW

      Description

      Culprit is is backslash in URI.

      See:
      https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-5.3.x-JDK6-Win-matrix-CI/lastCompletedBuild/jdk=java16_default,label_exp=w2k8%26%26x86_64/testReport/org.jboss.test.servicebindingmanager/JBPAPP4281UnitTestCase/testAJPBinding/

      Stacktrace
      junit.framework.AssertionFailedError
      at org.jboss.test.servicebindingmanager.JBPAPP4281UnitTestCase.testAJPBinding(JBPAPP4281UnitTestCase.java:95)

      Standard Error
      java.net.URISyntaxException: Illegal character in opaque part at index 2: W:\workspace\eap-5.3.x-JDK6-Win-matrix-CI\dd91eec0\jboss-eap-5.3.x\build\output\jboss-5.3.0.Branch/server/all/conf/bindingservice.beans/META-INF/bindings-jboss-beans.xml
      at java.net.URI$Parser.fail(URI.java:2810)
      at java.net.URI$Parser.checkChars(URI.java:2983)
      at java.net.URI$Parser.parse(URI.java:3020)
      at java.net.URI.<init>(URI.java:577)
      at org.jboss.test.servicebindingmanager.JBPAPP4281UnitTestCase.extractXSLTFromXml(JBPAPP4281UnitTestCase.java:110)
      at org.jboss.test.servicebindingmanager.JBPAPP4281UnitTestCase.testAJPBinding(JBPAPP4281UnitTestCase.java:73)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at junit.framework.TestCase.runTest(TestCase.java:164)
      at junit.framework.TestCase.runBare(TestCase.java:130)
      at junit.framework.TestResult$1.protect(TestResult.java:106)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.framework.TestResult.run(TestResult.java:109)
      at junit.framework.TestCase.run(TestCase.java:120)
      at junit.framework.TestSuite.runTest(TestSuite.java:230)
      at junit.framework.TestSuite.run(TestSuite.java:225)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
      at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
      java.lang.NullPointerException
      at org.jboss.test.servicebindingmanager.JBPAPP4281UnitTestCase.testAJPBinding(JBPAPP4281UnitTestCase.java:80)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ehugonnet Emmanuel Hugonnet
                Reporter:
                pjelinek Pavel Jelinek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: