Test failure in run-junit-precompiled (trunk, WinXp)
----------------------------------------------------

                 Key: JRUBY-2095
                 URL: http://jira.codehaus.org/browse/JRUBY-2095
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: trunk (5861), WinXp, Java 1.6
            Reporter: Bill Dortch


Looks like a Windows filename issue.
{noformat}
run-junit-precompiled:
     [echo] compile=FORCE, jit.threshold=0, jit.max=-1, objectspace=true 
threadpool=false reflec
tion=false version=ruby1_8
    [junit] Testsuite: org.jruby.test.MainTestSuite
    [junit] java.io.IOException: The filename, directory name, or volume label 
syntax is incorre
ct
    [junit]     at java.io.WinNTFileSystem.canonicalize0(Native Method)
    [junit]     at 
java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
    [junit]     at java.io.File.getCanonicalPath(File.java:559)
    [junit]     at org.jruby.util.JRubyFile.getCanonicalPath(JRubyFile.java:81)
    [junit]     at 
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.jav
a:20)
    [junit]     at 
org.jruby.util.JavaNameMangler.mangledFilenameForStartupClasspath(JavaNameMan
gler.java:48)
    [junit]     at org.jruby.Ruby.tryCompile(Ruby.java:428)
    [junit]     at org.jruby.Ruby.compileAndLoadFile(Ruby.java:1823)
    [junit]     at 
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:56)
    [junit]     at 
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:319)
    [junit]     at 
org.jruby.runtime.load.LoadService.require(LoadService.java:345)
    [junit]     at org.jruby.RubyKernel.require(RubyKernel.java:678)
    [junit]     at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown 
Source)
    [junit]     at 
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMet
hod.java:139)
    [junit]     at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
    [junit]     at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:2
11)
    [junit]     at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:361)
    [junit]     at ruby.C_3a_.jruby.trunk.test.__file__(test:1)
    [junit]     at ruby.C_3a_.jruby.trunk.test.load(test)
    [junit]     at org.jruby.Ruby.runScript(Ruby.java:492)
    [junit]     at org.jruby.Ruby.runNormally(Ruby.java:412)
    [junit]     at org.jruby.test.TestRubyBase.eval(TestRubyBase.java:69)
    [junit]     at 
org.jruby.test.TestRequire.testRubyRequire(TestRequire.java:52)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRun
ner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTest
Runner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRu
nner.java:743)
    [junit] could not compile: 
file:/C:/jruby/trunk/test/requireTest.jar!/A/C.rb because of: "ja
va.io.IOException: The filename, directory name, or volume label syntax is 
incorrect"
    [junit] java.lang.RuntimeException: java.io.IOException: The filename, 
directory name, or vo
lume label syntax is incorrect
    [junit]     at 
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.jav
a:39)
    [junit]     at 
org.jruby.util.JavaNameMangler.mangledFilenameForStartupClasspath(JavaNameMan
gler.java:48)
    [junit]     at org.jruby.Ruby.tryCompile(Ruby.java:428)
    [junit]     at org.jruby.Ruby.compileAndLoadFile(Ruby.java:1823)
    [junit]     at 
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:56)
    [junit]     at 
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:319)
    [junit]     at 
org.jruby.runtime.load.LoadService.require(LoadService.java:345)
    [junit]     at org.jruby.RubyKernel.require(RubyKernel.java:678)
    [junit]     at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown 
Source)
    [junit]     at 
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMet
hod.java:139)
    [junit]     at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
    [junit]     at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:2
11)
    [junit]     at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:361)
    [junit]     at ruby.C_3a_.jruby.trunk.test.__file__(test:1)
    [junit]     at ruby.C_3a_.jruby.trunk.test.load(test)
    [junit]     at org.jruby.Ruby.runScript(Ruby.java:492)
    [junit]     at org.jruby.Ruby.runNormally(Ruby.java:412)
    [junit]     at org.jruby.test.TestRubyBase.eval(TestRubyBase.java:69)
    [junit]     at 
org.jruby.test.TestRequire.testRubyRequire(TestRequire.java:52)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRun
ner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTest
Runner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRu
nner.java:743)
    [junit] Caused by: java.io.IOException: The filename, directory name, or 
volume label syntax
 is incorrect
    [junit]     at java.io.WinNTFileSystem.canonicalize0(Native Method)
    [junit]     at 
java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
    [junit]     at java.io.File.getCanonicalPath(File.java:559)
    [junit]     at org.jruby.util.JRubyFile.getCanonicalPath(JRubyFile.java:81)
    [junit]     at 
org.jruby.util.JavaNameMangler.mangleFilenameForClasspath(JavaNameMangler.jav
a:20)
    [junit]     ... 35 more
    [junit] Error, could not compile; pass -J-Djruby.jit.logging.verbose=true 
for more details
    [junit] java.lang.NullPointerException
    [junit]     at org.jruby.Ruby.runScript(Ruby.java:492)
    [junit]     at org.jruby.Ruby.compileAndLoadFile(Ruby.java:1828)
    [junit]     at 
org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:56)
    [junit]     at 
org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:319)
    [junit]     at 
org.jruby.runtime.load.LoadService.require(LoadService.java:345)
    [junit]     at org.jruby.RubyKernel.require(RubyKernel.java:678)
    [junit]     at org.jruby.RubyKernelInvoker$require_method_1_0.call(Unknown 
Source)
    [junit]     at 
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneBlock.call(JavaMet
hod.java:139)
    [junit]     at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)
    [junit]     at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:2
11)
    [junit]     at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:361)
    [junit]     at ruby.C_3a_.jruby.trunk.test.__file__(test:1)
    [junit]     at ruby.C_3a_.jruby.trunk.test.load(test)
    [junit]     at org.jruby.Ruby.runScript(Ruby.java:492)
    [junit]     at org.jruby.Ruby.runNormally(Ruby.java:412)
    [junit]     at org.jruby.test.TestRubyBase.eval(TestRubyBase.java:69)
    [junit]     at 
org.jruby.test.TestRequire.testRubyRequire(TestRequire.java:52)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRun
ner.java:421)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTest
Runner.java:912)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRu
nner.java:743)
    [junit] java.io.FileNotFoundException: 
C:\jruby\trunk\junitvmwatcher648704745.properties (Th
e system cannot find the file specified)
    [junit]     at java.io.FileInputStream.open(Native Method)
    [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [junit]     at java.io.FileReader.<init>(FileReader.java:55)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitT
ask.java:1028)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java
:859)
Terminate batch job (Y/N)? y
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to