Uploaded image for project: 'Wise'
  1. Wise
  2. WISE-318

WSConsumerTest.parseHelloGreetingWSDLShouldFailWithPackageAndNoBindingsForNameDuplication fails on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • CORE 2.1.0
    • CORE 2.2.0
    • core
    • None

    Description

      WSConsumerTest.parseHelloGreetingWSDLShouldFailWithPackageAndNoBindingsForNameDuplication fails on Windows (tested on Windows 2012 Server)

      The main problem seems to be with character escaping
      Caused by: java.lang.IllegalArgumentException: character to be escaped is missing

      Full stack trace:

      Stacktrace
      
      java.lang.Exception: Unexpected exception, expected<org.jboss.wise.core.exception.WiseRuntimeException> but was<java.lang.IllegalArgumentException>
      	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:31)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
      	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
      Caused by: java.lang.IllegalArgumentException: character to be escaped is missing
      	at java.util.regex.Matcher.appendReplacement(Matcher.java:809)
      	at java.util.regex.Matcher.replaceAll(Matcher.java:955)
      	at java.lang.String.replaceAll(String.java:2223)
      	at org.jboss.wise.core.consumer.WSConsumer.getClassNames(WSConsumer.java:92)
      	at org.jboss.wise.core.consumer.impl.jbossws.DefaultWSImportImpl.importObjectFromWsdl(DefaultWSImportImpl.java:90)
      	at org.jboss.wise.core.consumer.impl.WSConsumerTest.parseHelloGreetingWSDLShouldFailWithPackageAndNoBindingsForNameDuplication(WSConsumerTest.java:81)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      	at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:22)
      	... 21 more
      

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rsvoboda@redhat.com Rostislav Svoboda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: