junit.framework.AssertionFailedError: Exception in constructor: testCustomerProvider (org.mule.api.MuleRuntimeException: Unable to create a canonical file for file:/C:/repo/org/mule/mule-core/2.0.0-RC3-SNAPSHOT/mule-core-2.0.0-RC3-SNAPSHOT-tests.jar!/mule-test-exclusions.txt

MuleSoft JIRA | Dan Diephouse | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I get this if I don't have a mule-test-exclusions.xml file around. I shouldn't have to have one IMO as the idea is that all my tests should work and I shouldn't have to exclude anything :-) junit.framework.AssertionFailedError: Exception in constructor: testCustomerProvider (org.mule.api.MuleRuntimeException: Unable to create a canonical file for file:/C:/repo/org/mule/mule-core/2.0.0-RC3-SNAPSHOT/mule-core-2.0.0-RC3-SNAPSHOT-tests.jar!/mule-test-exclusions.txt at org.mule.util.FileUtils.newFile(FileUtils.java:352) at org.mule.tck.AbstractMuleTestCase$TestInfo.<init>(AbstractMuleTestCase.java:603) at org.mule.tck.AbstractMuleTestCase.createTestInfo(AbstractMuleTestCase.java:173) at org.mule.tck.AbstractMuleTestCase.<init>(AbstractMuleTestCase.java:151) at org.mule.tck.FunctionalTestCase.<init>(FunctionalTestCase.java:38) at org.mule.providers.abdera.CustomerTest.<init>(CustomerTest.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.<init>(TestSuite.java:75) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Unknown Source) at java.io.File.getCanonicalPath(Unknown Source) at java.io.File.getCanonicalFile(Unknown Source) at org.mule.util.FileUtils.newFile(FileUtils.java:348) ... 18 more ) at junit.framework.Assert.fail(Assert.java:47) at junit.framework.TestSuite$1.runTest(TestSuite.java:263) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    MuleSoft JIRA | 9 years ago | Dan Diephouse
    junit.framework.AssertionFailedError: Exception in constructor: testCustomerProvider (org.mule.api.MuleRuntimeException: Unable to create a canonical file for file:/C:/repo/org/mule/mule-core/2.0.0-RC3-SNAPSHOT/mule-core-2.0.0-RC3-SNAPSHOT-tests.jar!/mule-test-exclusions.txt
  2. 0

    I get this if I don't have a mule-test-exclusions.xml file around. I shouldn't have to have one IMO as the idea is that all my tests should work and I shouldn't have to exclude anything :-) junit.framework.AssertionFailedError: Exception in constructor: testCustomerProvider (org.mule.api.MuleRuntimeException: Unable to create a canonical file for file:/C:/repo/org/mule/mule-core/2.0.0-RC3-SNAPSHOT/mule-core-2.0.0-RC3-SNAPSHOT-tests.jar!/mule-test-exclusions.txt at org.mule.util.FileUtils.newFile(FileUtils.java:352) at org.mule.tck.AbstractMuleTestCase$TestInfo.<init>(AbstractMuleTestCase.java:603) at org.mule.tck.AbstractMuleTestCase.createTestInfo(AbstractMuleTestCase.java:173) at org.mule.tck.AbstractMuleTestCase.<init>(AbstractMuleTestCase.java:151) at org.mule.tck.FunctionalTestCase.<init>(FunctionalTestCase.java:38) at org.mule.providers.abdera.CustomerTest.<init>(CustomerTest.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.<init>(TestSuite.java:75) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.Win32FileSystem.canonicalize(Unknown Source) at java.io.File.getCanonicalPath(Unknown Source) at java.io.File.getCanonicalFile(Unknown Source) at org.mule.util.FileUtils.newFile(FileUtils.java:348) ... 18 more ) at junit.framework.Assert.fail(Assert.java:47) at junit.framework.TestSuite$1.runTest(TestSuite.java:263) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    MuleSoft JIRA | 9 years ago | Dan Diephouse
    junit.framework.AssertionFailedError: Exception in constructor: testCustomerProvider (org.mule.api.MuleRuntimeException: Unable to create a canonical file for file:/C:/repo/org/mule/mule-core/2.0.0-RC3-SNAPSHOT/mule-core-2.0.0-RC3-SNAPSHOT-tests.jar!/mule-test-exclusions.txt
  3. 0

    The filename, directory name, or volume label syntax is incorrect (Windows)

    GitHub | 3 years ago | konstantinvlasenko
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The filename, directory name, or volume label syntax is incorrect

    GitHub | 3 years ago | konstantinvlasenko
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
  6. 0

    Workspace Feedback #2

    GitHub | 4 years ago | Joeran
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect

  1. treefolk 2 times, last 4 months ago
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    The filename, directory name, or volume label syntax is incorrect

    at java.io.WinNTFileSystem.canonicalize0()
  2. Java RT
    File.getCanonicalFile
    1. java.io.WinNTFileSystem.canonicalize0(Native Method)
    2. java.io.Win32FileSystem.canonicalize(Unknown Source)
    3. java.io.File.getCanonicalPath(Unknown Source)
    4. java.io.File.getCanonicalFile(Unknown Source)
    4 frames
  3. Mule Core
    FileUtils.newFile
    1. org.mule.util.FileUtils.newFile(FileUtils.java:348)
    1 frame
  4. Mule Functional Test Framework (TCK)
    FunctionalTestCase.<init>
    1. org.mule.tck.AbstractMuleTestCase$TestInfo.<init>(AbstractMuleTestCase.java:603)
    2. org.mule.tck.AbstractMuleTestCase.createTestInfo(AbstractMuleTestCase.java:173)
    3. org.mule.tck.AbstractMuleTestCase.<init>(AbstractMuleTestCase.java:151)
    4. org.mule.tck.FunctionalTestCase.<init>(FunctionalTestCase.java:38)
    4 frames
  5. org.mule.providers
    CustomerTest.<init>
    1. org.mule.providers.abdera.CustomerTest.<init>(CustomerTest.java:19)
    1 frame
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  7. JUnit
    TestSuite.<init>
    1. junit.framework.TestSuite.createTest(TestSuite.java:131)
    2. junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
    3. junit.framework.TestSuite.<init>(TestSuite.java:75)
    3 frames
  8. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.getTest(JUnit3TestLoader.java:102)
    2. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestLoader.loadTests(JUnit3TestLoader.java:59)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
    6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    6 frames