Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-10798

ArtifactClassLoaderRunner - Cannot classify URLs on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-M4
    • Fix Version/s: 4.0.0-M4
    • Component/s: Build: (other)
    • Labels:
    • Environment:

      Windows 10 Home (Version: 10.0.14393 Build: 14393)
      Mule version: 4.0.0-M3
      Maven: 3.3.9
      Java build: 1.8.0_101-b13

    • Severity:
      S2
    • Story Points:
      1
    • Sprint:
      Mule 4 M4 - Sprint 3
    • Severity Label:
      S2 (Regular)

      Description

      I run the test from studio and from command line (using: mvn clean verify) with following error:

      java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/user_name/AnypointStudio/workspace_7.0.0/hello-world/C
          at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
          at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
          at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
          at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
          at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
          at java.nio.file.Paths.get(Paths.java:84)
          at org.mule.functional.classloading.isolation.maven.AutoDiscoverWorkspaceLocationResolver.lambda$discoverMavenProjectsFromClassPath$0(AutoDiscoverWorkspaceLocationResolver.java:147)
          at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
          at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
          at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
          at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
          at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
          at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
          at org.mule.functional.classloading.isolation.maven.AutoDiscoverWorkspaceLocationResolver.discoverMavenProjectsFromClassPath(AutoDiscoverWorkspaceLocationResolver.java:147)
          at org.mule.functional.classloading.isolation.maven.AutoDiscoverWorkspaceLocationResolver.<init>(AutoDiscoverWorkspaceLocationResolver.java:94)
          at org.mule.functional.junit4.runners.ArtifactClassLoaderRunner.createClassLoaderTestRunner(ArtifactClassLoaderRunner.java:186)
          at org.mule.functional.junit4.runners.ArtifactClassLoaderRunner.<init>(ArtifactClassLoaderRunner.java:122)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
          at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:33)
          at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
          at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
          at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
          at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
          at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
          at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createUnfilteredTest(JUnit4TestLoader.java:84)
          at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:70)
          at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      

      Please see attached file.

        Attachments

          Activity

            People

            • Assignee:
              gsfernandes Guillermo Fernandes
              Reporter:
              lenka.mizikova Lenka Mizikova
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • It looks like Backbone Issue Sync is not enabled for your project.