java.nio.file.InvalidPathException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Crashlog Saving Problem
    via GitHub by tigurand
    ,
  • Found Bug
    via docfetcher by *anonymous
    ,
  • GitHub comment 3014#203433991
    via GitHub by ybbpgfjtey
    ,
  • {code} [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly (default-assembly) on project xyz-project-packaging-karaf-archive: Unable to build assembly: Error -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.0.0:assembly (default-assembly) on project xyz-project-packaging-karaf-archive: Unable to build assembly at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) at org.codehaus.classworlds.Launcher.main(Launcher.java:47) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to build assembly at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:170) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 20 more Caused by: org.apache.karaf.features.internal.util.MultiException: Error at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72) at org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1029) at org.apache.karaf.profile.assembly.Builder.bootStage(Builder.java:703) at org.apache.karaf.profile.assembly.Builder.doGenerateAssembly(Builder.java:554) at org.apache.karaf.profile.assembly.Builder.generateAssembly(Builder.java:352) at org.apache.karaf.tooling.AssemblyMojo.doExecute(AssemblyMojo.java:296) at org.apache.karaf.tooling.AssemblyMojo.execute(AssemblyMojo.java:164) ... 22 more Suppressed: java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:/C:/Documents/Development/git/xyz-project/xyz-project-packaging/xyz-project-packaging-karaf/xyz-project-packaging-karaf-archive/target/assembly/system/org/apache/karaf/features/framework/4.0.0/framework-4.0.0-features.xml 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 sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53) at org.apache.karaf.profile.assembly.Builder$4.downloaded(Builder.java:1040) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127) at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344) at org.apache.karaf.features.internal.download.impl.DefaultFuture.addListener(DefaultFuture.java:293) at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.download(MavenDownloadManager.java:127) at org.apache.karaf.profile.assembly.Builder.loadRepositories(Builder.java:1035) ... 27 more {code}
    via by Neha,
  • Problem with SonarJava
    via by Adrian Burri,
    • java.nio.file.InvalidPathException: Illegal char <:> at index 21: crashes/2017-01-26 13:28:43.log at sun.nio.fs.WindowsPathParser.normalize(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPathParser.parse(Unknown Source) at sun.nio.fs.WindowsPath.parse(Unknown Source) at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source) at sun.nio.fs.AbstractPath.resolve(Unknown Source) at com.waicool20.kaga.KancolleAuto.saveCrashLog(KancolleAuto.kt:66) at com.waicool20.kaga.KancolleAuto.handleCrash(KancolleAuto.kt:57) at com.waicool20.kaga.KancolleAuto.startAndWait(KancolleAuto.kt:44) at com.waicool20.kaga.views.KagaView$onStartStopButton$1.run(KagaView.kt:131) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    osvzs
    1 times, last one,
    Axelo
    1 times, last one,
    tomthomas
    8 times, last one,
    bpbhat77
    10 times, last one,
    6 more bugmates