java.lang.IllegalStateException

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.

  • Plugin fails with CNFE first run
    via GitHub by vjuranek
    ,
  • how to configure a jenkins slave node
    via by ycollet,
  • At the end of the job: Waiting for Jenkins to finish collecting data channel stopped Run condition [Always] enabling perform for step [Archive the artifacts] Archiving artifacts ERROR: Failed to archive artifacts: **/*.log hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.FilePath.copyRecursiveTo(FilePath.java:1943) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:88) at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:96) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:969) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242) Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.remoting.Channel$4.adapt(Channel.java:755) at hudson.remoting.Channel$4.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1941) ... 15 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.os.PosixAPI.jnr(PosixAPI.java:30) at hudson.util.IOUtils.mode(IOUtils.java:125) at hudson.util.io.TarArchiver.visit(TarArchiver.java:102) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1979) at hudson.FilePath.access$1000(FilePath.java:169) at hudson.FilePath$36.invoke(FilePath.java:1920) at hudson.FilePath$36.invoke(FilePath.java:1916) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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) Build step 'Flexible publish' changed build result to FAILURE Finished: FAILURE
    via by magnayn,
  • At the end of the job: Waiting for Jenkins to finish collecting data channel stopped Run condition [Always] enabling perform for step [Archive the artifacts] Archiving artifacts ERROR: Failed to archive artifacts: **/*.log hudson.util.IOException2: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.FilePath.copyRecursiveTo(FilePath.java:1943) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:137) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:88) at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:96) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:969) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:491) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242) Caused by: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.remoting.Channel$4.adapt(Channel.java:755) at hudson.remoting.Channel$4.adapt(Channel.java:750) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1941) ... 15 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class jnr.posix.POSIXFactory at hudson.os.PosixAPI.jnr(PosixAPI.java:30) at hudson.util.IOUtils.mode(IOUtils.java:125) at hudson.util.io.TarArchiver.visit(TarArchiver.java:102) at hudson.util.DirScanner$Glob.scan(DirScanner.java:133) at hudson.FilePath.writeToTar(FilePath.java:1979) at hudson.FilePath.access$1000(FilePath.java:169) at hudson.FilePath$36.invoke(FilePath.java:1920) at hudson.FilePath$36.invoke(FilePath.java:1916) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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) Build step 'Flexible publish' changed build result to FAILURE Finished: FAILURE
    via by magnayn,
    • java.lang.IllegalStateException: Some of the previous steps has failed or was interrupted at org.jenkinsci.plugins.radargun.model.impl.AbstractRgProcess.start(AbstractRgProcess.java:23) at org.jenkinsci.plugins.radargun.RadarGunBuilder.perform(RadarGunBuilder.java:145) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1745) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: remote file operation failed: /home/radargun/workspace/radargun3.0-cq/radargun_master4212393217377389004.sh at hudson.remoting.Channel@6215befb:rg-master: java.io.IOException: Remote call on rg-master failed ... 11 more Caused by: java.io.IOException: Remote call on rg-master failed at hudson.remoting.Channel.call(Channel.java:760) at hudson.FilePath.act(FilePath.java:969) at hudson.FilePath.act(FilePath.java:958) at hudson.FilePath.chmod(FilePath.java:1572) at org.jenkinsci.plugins.radargun.config.TextScriptSource.createMasterScriptFile(TextScriptSource.java:70) at org.jenkinsci.plugins.radargun.config.TextScriptSource.getMasterScriptPath(TextScriptSource.java:57) at org.jenkinsci.plugins.radargun.config.ScriptSource.getMasterCmdLine(ScriptSource.java:78) at org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.getMasterCmdLine(RgMasterProcessImpl.java:66) at org.jenkinsci.plugins.radargun.model.impl.RgMasterProcessImpl.createRunner(RgMasterProcessImpl.java:38) at org.jenkinsci.plugins.radargun.model.impl.AbstractRgProcess.start(AbstractRgProcess.java:21) ... 10 more Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest at hudson.FilePath._chmod(FilePath.java:1586) at hudson.FilePath.access$1500(FilePath.java:190) at hudson.FilePath$29.invoke(FilePath.java:1575) at hudson.FilePath$29.invoke(FilePath.java:1572) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2577) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 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)
    No Bugmate found.