java.lang.reflect.InvocationTargetException

Google Groups | Ricardo Tangali | 4 months ago
  1. 0

    Jcr runner on hippo 10.2

    Google Groups | 4 months ago | Ricardo Tangali
    java.lang.reflect.InvocationTargetException
  2. 0

    When set up to copy a file on a windows box I get the following with 0.12 {code} ERROR: Publisher org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.processDeployment(ArtifactDeployerPublisher.java:133) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:79) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.perform(ArtifactDeployerPublisher.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616) at hudson.model.Run.run(Run.java:1429) 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.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 14 more Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/artifactdeployer/service/LocalCopy$1CopyImpl at org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers(LocalCopy.java:50) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:48) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:18) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} I also had another stack trace in another job: {code} FATAL: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.processDeployment(ArtifactDeployerBuilder.java:97) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.perform(ArtifactDeployerBuilder.java:45) at hudson.plugins.release.ReleaseWrapper.executeBuildSteps(ReleaseWrapper.java:337) at hudson.plugins.release.ReleaseWrapper.access$300(ReleaseWrapper.java:83) at hudson.plugins.release.ReleaseWrapper$4.tearDown(ReleaseWrapper.java:284) at hudson.model.Build$RunnerImpl.doRun(Build.java:150) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) at hudson.model.Run.run(Run.java:1404) 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.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 12 more Caused by: java.lang.NoClassDefFoundError: com/atlassian/ant/tasks/CopyWithPerms at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch2(RemoteClassLoader.java:408) at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: com.atlassian.ant.tasks.CopyWithPerms at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 22 more {code}

    Jenkins JIRA | 5 years ago | Larry Shatzer
    hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server
  3. 0

    When set up to copy a file on a windows box I get the following with 0.12 {code} ERROR: Publisher org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.processDeployment(ArtifactDeployerPublisher.java:133) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:79) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.perform(ArtifactDeployerPublisher.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616) at hudson.model.Run.run(Run.java:1429) 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.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 14 more Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/artifactdeployer/service/LocalCopy$1CopyImpl at org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers(LocalCopy.java:50) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:48) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:18) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} I also had another stack trace in another job: {code} FATAL: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.processDeployment(ArtifactDeployerBuilder.java:97) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.perform(ArtifactDeployerBuilder.java:45) at hudson.plugins.release.ReleaseWrapper.executeBuildSteps(ReleaseWrapper.java:337) at hudson.plugins.release.ReleaseWrapper.access$300(ReleaseWrapper.java:83) at hudson.plugins.release.ReleaseWrapper$4.tearDown(ReleaseWrapper.java:284) at hudson.model.Build$RunnerImpl.doRun(Build.java:150) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) at hudson.model.Run.run(Run.java:1404) 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.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 12 more Caused by: java.lang.NoClassDefFoundError: com/atlassian/ant/tasks/CopyWithPerms at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch2(RemoteClassLoader.java:408) at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: com.atlassian.ant.tasks.CopyWithPerms at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 22 more {code}

    Jenkins JIRA | 5 years ago | Larry Shatzer
    hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 1045 - chromedriver - ChromeDriver is not working with selenium 2.45.0? - WebDriver for Google Chrome - Google Project Hosting

    google.com | 1 year ago
    java.lang.NoClassDefFoundError: org/openqa/selenium/remote/service/DriverService$Builder
  6. 0

    exception while using excel workbook

    Stack Overflow | 2 years ago | Pooja Mahawar
    java.lang.NoClassDefFoundError: org/apache/poi/UnsupportedFileFormatException

  1. kjhdofjosvs 3 times, last 3 weeks ago
  2. Luka 24 times, last 2 months ago
  3. andyglick 2 times, last 2 months ago
  4. tfr 8 times, last 4 months ago
  5. pnaranja 1 times, last 4 months ago
5 more registered users
90 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.lang.NoClassDefFoundError

    org/hippoecm/repository/HippoRepository

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    7. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    12. java.lang.ClassLoader.defineClass1(Native Method)
    13. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
    14. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    15. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    16. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    17. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    18. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    19. java.security.AccessController.doPrivileged(Native Method)
    20. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    21. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    22. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    22 frames
  3. org.hippoecm.repository
    HippoRepositoryFactory.getHippoRepository
    1. org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:102)
    1 frame
  4. org.onehippo.forge
    JcrRunner.main
    1. org.onehippo.forge.jcrrunner.JcrHelper.ensureConnected(JcrHelper.java:125)
    2. org.onehippo.forge.jcrrunner.JcrRunner.main(JcrRunner.java:60)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. org.codehaus.mojo
    ExecJavaMojo$1.run
    1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame