2.x Runtime can't handle contributions with spaces in the name
--------------------------------------------------------------

                 Key: TUSCANY-3015
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3015
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions:  Java-SCA-2.0-M2
            Reporter: Luciano Resende
             Fix For: Java-SCA-2.0


run:

init:
    [mkdir] Created dir: /export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes

compile:
    [javac] Compiling 13 source files to 
/export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
     [copy] Copying 2 files to /export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/classes
      [jar] Building jar: /export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar

run:
     [java] May 11, 2009 12:43:51 AM org.apache.tuscany.sca.node.impl.NodeImpl 
<init>
     [java] INFO: Creating node: default
     [java] Exception in thread "main" 
java.lang.reflect.InvocationTargetException
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at 
org.apache.tuscany.sca.launcher.LauncherMain.invokeMainMethod(LauncherMain.java:114)
     [java]     at 
org.apache.tuscany.sca.launcher.LauncherMain.main(LauncherMain.java:55)
     [java] Caused by: org.oasisopen.sca.ServiceRuntimeException: 
java.lang.IllegalArgumentException
     [java]     at 
org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:191)
     [java]     at 
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createNode(NodeFactoryImpl.java:52)
     [java]     at sample.SampleClientImpl.main(SampleClientImpl.java:31)
     [java]     ... 6 more
     [java] Caused by: java.lang.IllegalArgumentException
     [java]     at java.net.URI.create(URI.java:842)
     [java]     at 
org.apache.tuscany.sca.node.impl.NodeImpl.configureNode(NodeImpl.java:510)
     [java]     at 
org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:188)
     [java]     ... 8 more
     [java] Caused by: java.net.URISyntaxException: Illegal character in path 
at index 56: file:/zonestorage/hudson/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/target/sample-binding-ws-calculator.jar
     [java]     at java.net.URI$Parser.fail(URI.java:2809)
     [java]     at java.net.URI$Parser.checkChars(URI.java:2982)
     [java]     at java.net.URI$Parser.parseHierarchical(URI.java:3066)
     [java]     at java.net.URI$Parser.parse(URI.java:3014)
     [java]     at java.net.URI.<init>(URI.java:578)
     [java]     at java.net.URI.create(URI.java:840)
     [java]     ... 10 more
[HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/itest/distribution/binding-ws-calculator/pom.xml to 
/export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/pom.xml
[HUDSON] Archiving /export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/itest/distribution/binding-ws-calculator/target/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
 to /export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/modules/org.apache.tuscany.sca$itest-distribution-binding-ws-calculator/builds/2009-05-11_00-28-24/archive/org.apache.tuscany.sca/itest-distribution-binding-ws-calculator/2.0-SNAPSHOT/itest-distribution-binding-ws-calculator-2.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while 
executing this line:
/export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/itest/distribution/binding-ws-calculator/build.xml:36: The 
following error occurred while executing this line:
/export/home/hudson/hudson/jobs/Tuscany Java SCA 
2.x/workspace/sca/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT-dir/tuscany-sca-2.0-SNAPSHOT/samples/binding-ws-calculator/build.xml:58:
 Java returned: 1



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to