java.io.IOException: java.lang.reflect.InvocationTargetException

Jenkins JIRA | Dnaiel Molkentin | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    After upgrading to 1.583 from an older release, Jenkins now fails to clear the workspace. This seems to be cause by one of our tests which contains a file encoded in Normalized Decomposed Form (NFD). The backtrace is: {code} Wiping out workspace first. java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.Util.isSymlinkJava7(Util.java:366) at hudson.Util.isSymlink(Util.java:331) at hudson.Util.deleteRecursive(Util.java:297) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.FilePath$13.invoke(FilePath.java:1090) at hudson.FilePath$13.invoke(FilePath.java:1087) at hudson.FilePath.act(FilePath.java:912) at hudson.FilePath.act(FilePath.java:885) at hudson.FilePath.deleteContents(FilePath.java:1087) at hudson.plugins.git.extensions.impl.WipeWorkspace.beforeCheckout(WipeWorkspace.java:28) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:858) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor985.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.isSymlinkJava7(Util.java:361) ... 26 more Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters: /var/lib/jenkins/jobs/csync-source-dav/workspace/tests/ownCloud/toremote1/rtl2/??mettre.xls at sun.nio.fs.UnixPath.encode(UnixPath.java:147) at sun.nio.fs.UnixPath.<init>(UnixPath.java:71) at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) at java.io.File.toPath(File.java:2178) {code} Subsequently, the project folder can no longer be cleared. Did the way cleaning happens change in the last versions? I noticed that the GUI changed from a bunch of checkbox options to addable and reorderable actions.

    Jenkins JIRA | 3 years ago | Dnaiel Molkentin
    java.io.IOException: java.lang.reflect.InvocationTargetException
  2. 0

    After upgrading to 1.583 from an older release, Jenkins now fails to clear the workspace. This seems to be cause by one of our tests which contains a file encoded in Normalized Decomposed Form (NFD). The backtrace is: {code} Wiping out workspace first. java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.Util.isSymlinkJava7(Util.java:366) at hudson.Util.isSymlink(Util.java:331) at hudson.Util.deleteRecursive(Util.java:297) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.Util.deleteRecursive(Util.java:298) at hudson.Util.deleteContentsRecursive(Util.java:204) at hudson.FilePath$13.invoke(FilePath.java:1090) at hudson.FilePath$13.invoke(FilePath.java:1087) at hudson.FilePath.act(FilePath.java:912) at hudson.FilePath.act(FilePath.java:885) at hudson.FilePath.deleteContents(FilePath.java:1087) at hudson.plugins.git.extensions.impl.WipeWorkspace.beforeCheckout(WipeWorkspace.java:28) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:858) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor985.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.Util.isSymlinkJava7(Util.java:361) ... 26 more Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters: /var/lib/jenkins/jobs/csync-source-dav/workspace/tests/ownCloud/toremote1/rtl2/??mettre.xls at sun.nio.fs.UnixPath.encode(UnixPath.java:147) at sun.nio.fs.UnixPath.<init>(UnixPath.java:71) at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) at java.io.File.toPath(File.java:2178) {code} Subsequently, the project folder can no longer be cleared. Did the way cleaning happens change in the last versions? I noticed that the GUI changed from a bunch of checkbox options to addable and reorderable actions.

    Jenkins JIRA | 3 years ago | Dnaiel Molkentin
    java.io.IOException: java.lang.reflect.InvocationTargetException
  3. 0

    GitHub comment 11#77008267

    GitHub | 2 years ago | giray
    java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /data/TEST/ab??defg??i????????????????.txt
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when upgraded to 0.90 graylog-server: Latest 0.90 release

    GitHub | 2 years ago | zagros
    java.nio.file.InvalidPathException: Illegal char <:> at index 4: file:\C:\graylog2-server\graylog2-server.jar!\blacklist .drl
  6. 0

    UTF Character handling issue?

    GitHub | 2 years ago | giray
    java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/giray/Documents/Docs/XX/Yyyyy/Abn Abedeo??lu_files

  1. bpbhat77 10 times, last 5 months ago
  2. Adarro 1 times, last 7 months ago
5 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.nio.file.InvalidPathException

    Malformed input or input contains unmappable chacraters: /var/lib/jenkins/jobs/csync-source-dav/workspace/tests/ownCloud/toremote1/rtl2/??mettre.xls

    at sun.nio.fs.UnixPath.encode()
  2. Java RT
    File.toPath
    1. sun.nio.fs.UnixPath.encode(UnixPath.java:147)
    2. sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
    3. sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
    4. java.io.File.toPath(File.java:2178)
    4 frames