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

Jenkins JIRA | Ondrej Kunc | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hi, ws-cleanup fails on files unpacked from boost library. Reason is probably that character represented by ?? Mar 10, 2016 9:38:27 AM hudson.plugins.ws_cleanup.Wipeout$Command invoke SEVERE: Unable to delete workspace java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.Util.isSymlinkJava7(Util.java:377) at hudson.Util.isSymlink(Util.java:342) at hudson.Util.deleteRecursive(Util.java:308) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.plugins.ws_cleanup.Wipeout$Command.invoke(Wipeout.java:73) at hudson.plugins.ws_cleanup.Wipeout$Command.invoke(Wipeout.java:70) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719) at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.Util.isSymlinkJava7(Util.java:372) ... 23 more Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /jenkins/jobs/QUIC_DEV/workspace_ws-cleanup_1457602706659/boost/boost_1_59_0/libs/preprocessor/doc/Appendix A ?? An Introduction to Preprocessor Metaprogramming.html 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:2234) ... 27 more ls -lah: jenkins/jobs/QUIC_DEV/workspace_ws-cleanup_1457602706659/boost/boost_1_59_0/libs/preprocessor/doc# ls -lah total 248K drwxr-xr-x 8 jenkins jenkins 4.0K Mar 10 09:38 . drwxr-xr-x 3 jenkins jenkins 4.0K Mar 10 09:38 .. *-rw-r--r-- 1 jenkins jenkins 127K Jul 17 2015 Appendix A ?? An Introduction to Preprocessor Metaprogramming.html* -rw-r--r-- 1 jenkins jenkins 2.2K Jul 17 2015 acknowledgements.html -rw-r--r-- 1 jenkins jenkins 2.0K Jul 17 2015 bibliography.html -rw-r--r-- 1 jenkins jenkins 1.4K Jul 17 2015 contents.html

    Jenkins JIRA | 11 months ago | Ondrej Kunc
    java.io.IOException: java.lang.reflect.InvocationTargetException
  2. 0

    Hi, ws-cleanup fails on files unpacked from boost library. Reason is probably that character represented by ?? Mar 10, 2016 9:38:27 AM hudson.plugins.ws_cleanup.Wipeout$Command invoke SEVERE: Unable to delete workspace java.io.IOException: java.lang.reflect.InvocationTargetException at hudson.Util.isSymlinkJava7(Util.java:377) at hudson.Util.isSymlink(Util.java:342) at hudson.Util.deleteRecursive(Util.java:308) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.Util.deleteContentsRecursive(Util.java:220) at hudson.Util.deleteRecursive(Util.java:309) at hudson.plugins.ws_cleanup.Wipeout$Command.invoke(Wipeout.java:73) at hudson.plugins.ws_cleanup.Wipeout$Command.invoke(Wipeout.java:70) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719) at hudson.remoting.LocalChannel$1.call(LocalChannel.java:52) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.Util.isSymlinkJava7(Util.java:372) ... 23 more Caused by: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /jenkins/jobs/QUIC_DEV/workspace_ws-cleanup_1457602706659/boost/boost_1_59_0/libs/preprocessor/doc/Appendix A ?? An Introduction to Preprocessor Metaprogramming.html 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:2234) ... 27 more ls -lah: jenkins/jobs/QUIC_DEV/workspace_ws-cleanup_1457602706659/boost/boost_1_59_0/libs/preprocessor/doc# ls -lah total 248K drwxr-xr-x 8 jenkins jenkins 4.0K Mar 10 09:38 . drwxr-xr-x 3 jenkins jenkins 4.0K Mar 10 09:38 .. *-rw-r--r-- 1 jenkins jenkins 127K Jul 17 2015 Appendix A ?? An Introduction to Preprocessor Metaprogramming.html* -rw-r--r-- 1 jenkins jenkins 2.2K Jul 17 2015 acknowledgements.html -rw-r--r-- 1 jenkins jenkins 2.0K Jul 17 2015 bibliography.html -rw-r--r-- 1 jenkins jenkins 1.4K Jul 17 2015 contents.html

    Jenkins JIRA | 11 months ago | Ondrej Kunc
    java.io.IOException: java.lang.reflect.InvocationTargetException
  3. 0

    [JIRA] [ws-cleanup-plugin] (JENKINS-33452) Workspace cleanup fails when trying to delete files with ? in name.

    Google Groups | 11 months ago | kun...@gmail.com (JIRA)
    java.io.IOException: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Yarn/ hdfs attempting to use kerberos when security is disabled

    Stack Overflow | 1 year ago | javadba
    java.lang.IllegalArgumentException: Can't get Kerberos realm
  6. 0

    Truncated stack traces in HTML report

    GitHub | 4 years ago | lsuk
    java.lang.reflect.UndeclaredThrowableException
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 characters: /jenkins/jobs/QUIC_DEV/workspace_ws-cleanup_1457602706659/boost/boost_1_59_0/libs/preprocessor/doc/Appendix A ?? An Introduction to Preprocessor Metaprogramming.html

    at sun.nio.fs.UnixPath.encode()
  2. Java RT
    Method.invoke
    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:2234)
    5. sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    6. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    7. java.lang.reflect.Method.invoke(Method.java:497)
    7 frames
  3. Hudson
    Util.deleteRecursive
    1. hudson.Util.isSymlinkJava7(Util.java:372)
    2. hudson.Util.isSymlink(Util.java:342)
    3. hudson.Util.deleteRecursive(Util.java:308)
    4. hudson.Util.deleteContentsRecursive(Util.java:220)
    5. hudson.Util.deleteRecursive(Util.java:309)
    6. hudson.Util.deleteContentsRecursive(Util.java:220)
    7. hudson.Util.deleteRecursive(Util.java:309)
    8. hudson.Util.deleteContentsRecursive(Util.java:220)
    9. hudson.Util.deleteRecursive(Util.java:309)
    10. hudson.Util.deleteContentsRecursive(Util.java:220)
    11. hudson.Util.deleteRecursive(Util.java:309)
    12. hudson.Util.deleteContentsRecursive(Util.java:220)
    13. hudson.Util.deleteRecursive(Util.java:309)
    14. hudson.Util.deleteContentsRecursive(Util.java:220)
    15. hudson.Util.deleteRecursive(Util.java:309)
    15 frames
  4. hudson.plugins.ws_cleanup
    Wipeout$Command.invoke
    1. hudson.plugins.ws_cleanup.Wipeout$Command.invoke(Wipeout.java:73)
    2. hudson.plugins.ws_cleanup.Wipeout$Command.invoke(Wipeout.java:70)
    2 frames
  5. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
    1 frame
  6. Hudson :: Remoting Layer
    LocalChannel$1.call
    1. hudson.remoting.LocalChannel$1.call(LocalChannel.java:52)
    1 frame
  7. jenkins.util
    ContextResettingExecutorService$2.call
    1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
    1 frame
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames