Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14461

Warnings plugin not Java 1.5 compatible?

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Ubuntu 10.04
      Java 1.5 JDK
      Tomcat 6
      Jenkins 1.474
      Warnings 4.10

    Description

      After upgrading Jenkins and Warnings, my projects no longer showed up. System log was pointing to the Warnings plugin, so I disabled it and they came back.

      I disabled the post-build trigger and reeanbled Warnings, which didn't cause a problem.

      However, when I tried to re-add the console output as a post-build step, nothing happens. Looking at the log, I get this output:

      WARNING: Failed to evaluate the template closure
      org.apache.commons.jelly.JellyTagException: file:/srv/hudson/plugins/warnings/WEB-INF/classes/hudson/plugins/warnings/WarningsPublisher/config.jelly:4:124: <j:invokeStatic> Bad version number in .class file
      	at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:735)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:290)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:81)
      	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:146)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      	at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
      	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:119)
      	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:98)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      	at hudson.widgets.RenderOnDemandClosure$1.generateResponse(RenderOnDemandClosure.java:91)
      	at org.kohsuke.stapler.HttpResponseRenderer$Default.handleHttpResponse(HttpResponseRenderer.java:104)
      	at org.kohsuke.stapler.HttpResponseRenderer$Default.generateResponse(HttpResponseRenderer.java:62)
      	at org.kohsuke.stapler.Function.renderResponse(Function.java:103)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:92)
      	at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher.doDispatch(MetaClass.java:439)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:625)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:125)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      	at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
      	at java.net.URLClassLoader.access$100(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:306)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
      	at java.lang.Class.getDeclaredMethods0(Native Method)
      	at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      	at java.lang.Class.getMethod0(Class.java:2642)
      	at java.lang.Class.getMethod(Class.java:1579)
      	at org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(InvokeStaticTag.java:124)
      	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:270)
      	... 86 more
      

      This suggests to me that Warnings won't work with Java 1.5? Is that the case?

      Attachments

        Activity

          drulli Ulli Hafner added a comment -

          I'm not aware that I changed something that requires Java 6. The stack trace is not very helpful, hmm...

          drulli Ulli Hafner added a comment - I'm not aware that I changed something that requires Java 6. The stack trace is not very helpful, hmm...
          drulli Ulli Hafner added a comment -

          Can you please check if the latest release 4.12 also has this problem?

          drulli Ulli Hafner added a comment - Can you please check if the latest release 4.12 also has this problem?
          drulli Ulli Hafner added a comment - - edited

          Ok, I just checked, the latest release has the correct version:

            minor version: 0
            major version: 49
          

          Maybe one of the libraries has changed?

          drulli Ulli Hafner added a comment - - edited Ok, I just checked, the latest release has the correct version: minor version: 0 major version: 49 Maybe one of the libraries has changed?

          I updated to 4.11 (the latest at http://updates.jenkins-ci.org/download/plugins/warnings/ ) and am still having the same issue.

          The start of the stack trace (not sure if the rest is useful?):

          17-Jul-2012 9:35:01 AM hudson.widgets.RenderOnDemandClosure$1 generateResponse
          WARNING: Failed to evaluate the template closure
          org.apache.commons.jelly.JellyTagException: file:/srv/hudson/plugins/warnings/WEB-INF/classes/hudson/plugins/warnings/WarningsPublisher/config.jelly:4:124: <j:invokeStatic> Bad version number in .class file
          
          tbekolay Trevor Bekolay added a comment - I updated to 4.11 (the latest at http://updates.jenkins-ci.org/download/plugins/warnings/ ) and am still having the same issue. The start of the stack trace (not sure if the rest is useful?): 17-Jul-2012 9:35:01 AM hudson.widgets.RenderOnDemandClosure$1 generateResponse WARNING: Failed to evaluate the template closure org.apache.commons.jelly.JellyTagException: file:/srv/hudson/plugins/warnings/WEB-INF/classes/hudson/plugins/warnings/WarningsPublisher/config.jelly:4:124: <j:invokeStatic> Bad version number in . class file
          drulli Ulli Hafner added a comment -

          Well yes, the stack trace points to my class. But the class is compiled with compliance level Java 5. Maybe one of the libraries (or jelly from core) causes this.

          Do you have the change to test your setup with the LTS version of Jenkins? Just to be sure that the problem is not from a bundled Jenkins library...

          drulli Ulli Hafner added a comment - Well yes, the stack trace points to my class. But the class is compiled with compliance level Java 5. Maybe one of the libraries (or jelly from core) causes this. Do you have the change to test your setup with the LTS version of Jenkins? Just to be sure that the problem is not from a bundled Jenkins library...

          Okay, I installed the most recent LTS (1.447.2). Now, I am not getting any errors in the log, but projects cannot be configured. If I try to configure a project, it continues to display the LOADING text with grey overlay; scrolling down, the post-build actions are loaded up until the Warnings plugin, it seems. But, as I said, nothing shows up in the log.

          This is with the updated 4.11 plugin. It might be worth mentioning that the previously installed version, before upgrading to 4.10, was 3.21, and it worked perfectly then.

          tbekolay Trevor Bekolay added a comment - Okay, I installed the most recent LTS (1.447.2). Now, I am not getting any errors in the log, but projects cannot be configured. If I try to configure a project, it continues to display the LOADING text with grey overlay; scrolling down, the post-build actions are loaded up until the Warnings plugin, it seems. But, as I said, nothing shows up in the log. This is with the updated 4.11 plugin. It might be worth mentioning that the previously installed version, before upgrading to 4.10, was 3.21, and it worked perfectly then.
          drulli Ulli Hafner added a comment - - edited

          It would be nice if the exception would show which class is the actual problem

          Does the plug-in 3.21 work in your Jenkins 1.474 installation?

          drulli Ulli Hafner added a comment - - edited It would be nice if the exception would show which class is the actual problem Does the plug-in 3.21 work in your Jenkins 1.474 installation?

          Agreed, the error is really not informative... 3.21 worked for a project that had the warnings post-build action already configured, but I've since removed it so I can't try to a build out to see. However, with 3.21 in my 1.474 installation, it now allows me to add "Scan compiler warnings" as a post-build action, but when I press "Add" to add a new parser, nothing happens, and nothing appears in the log. This is an elusive bug! I'm going to try a bunch of different versions of the plugin to see if I can get any of them working.

          tbekolay Trevor Bekolay added a comment - Agreed, the error is really not informative... 3.21 worked for a project that had the warnings post-build action already configured, but I've since removed it so I can't try to a build out to see. However, with 3.21 in my 1.474 installation, it now allows me to add "Scan compiler warnings" as a post-build action, but when I press "Add" to add a new parser, nothing happens, and nothing appears in the log. This is an elusive bug! I'm going to try a bunch of different versions of the plugin to see if I can get any of them working.

          Oh, perhaps this is a bit more helpful of an error message. I installed 4.12 and now get this in the log when trying to add a post-build action (relevant lines only):

          WARNING: Caught exception evaluating: action.iconFileName!=null. Reason: java.lang.reflect.InvocationTargetException
          ...
          Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
          ...
                  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
          	at hudson.plugins.warnings.WarningsResultAction.getSmallImage(WarningsResultAction.java:63)
          	at hudson.plugins.analysis.core.AbstractResultAction.getIconFileName(AbstractResultAction.java:138)
          
          tbekolay Trevor Bekolay added a comment - Oh, perhaps this is a bit more helpful of an error message. I installed 4.12 and now get this in the log when trying to add a post-build action (relevant lines only): WARNING: Caught exception evaluating: action.iconFileName!= null . Reason: java.lang.reflect.InvocationTargetException ... Caused by: java.lang.UnsupportedClassVersionError: Bad version number in . class file ... at java.lang. ClassLoader .loadClassInternal( ClassLoader .java:319) at hudson.plugins.warnings.WarningsResultAction.getSmallImage(WarningsResultAction.java:63) at hudson.plugins.analysis.core.AbstractResultAction.getIconFileName(AbstractResultAction.java:138)
          drulli Ulli Hafner added a comment -

          I think I need to install a JDK 5 in order to reproduce...

          Did you also update the corresponding analysis-core plugin?

          drulli Ulli Hafner added a comment - I think I need to install a JDK 5 in order to reproduce... Did you also update the corresponding analysis-core plugin?

          analysis-core is version 1.43, yeah.

          tbekolay Trevor Bekolay added a comment - analysis-core is version 1.43, yeah.

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/warnings/parser/JSLintParser.java
          src/main/java/hudson/plugins/warnings/parser/fxcop/FxCopParser.java
          http://jenkins-ci.org/commit/warnings-plugin/6958bb7bc216075b0d82c806ad11ba99a87cb4fd
          Log:
          [FIXED JENKINS-14461] Removed references to JDK6 exception constructor.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/warnings/parser/JSLintParser.java src/main/java/hudson/plugins/warnings/parser/fxcop/FxCopParser.java http://jenkins-ci.org/commit/warnings-plugin/6958bb7bc216075b0d82c806ad11ba99a87cb4fd Log: [FIXED JENKINS-14461] Removed references to JDK6 exception constructor.

          Thank you!

          tbekolay Trevor Bekolay added a comment - Thank you!
          drulli Ulli Hafner added a comment -

          I'm not sure if it fixes your problem (the exception message indicates something different). Please reopen if release 4.13 does not work for you.

          drulli Ulli Hafner added a comment - I'm not sure if it fixes your problem (the exception message indicates something different). Please reopen if release 4.13 does not work for you.
          joerg joe nobody added a comment -

          The problem is the depedency to Apache Commons IO 2.3. It requires JDK6. For Commons IO 2.2 JDK5 would be sufficient.

          joerg joe nobody added a comment - The problem is the depedency to Apache Commons IO 2.3. It requires JDK6. For Commons IO 2.2 JDK5 would be sufficient.
          joerg joe nobody added a comment - - edited

          This is the stacktrace produced for v4.13:

          [WARNINGS] Parsing warnings in files '**/*.java' with parser Java Compiler (javac)
          ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
          hudson.util.IOException2: remote file operation failed: ********************
          	at hudson.FilePath.act(FilePath.java:838)
          	at hudson.FilePath.act(FilePath.java:824)
          	at hudson.plugins.warnings.WarningsPublisher.parseFiles(WarningsPublisher.java:368)
          	at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:275)
          	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:358)
          	at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
          	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
          	at hudson.model.Run.execute(Run.java:1513)
          	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
          	at hudson.model.ResourceController.execute(ResourceController.java:88)
          	at hudson.model.Executor.run(Executor.java:236)
          Caused by: java.io.IOException: Remote call on cinix failed
          	at hudson.remoting.Channel.call(Channel.java:672)
          	at hudson.FilePath.act(FilePath.java:831)
          	... 13 more
          Caused by: java.lang.ClassFormatError: Failed to load org.apache.commons.io.input.BOMInputStream
          	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:154)
          	at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
          	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
          	at hudson.plugins.warnings.parser.FileWarningsParser.parse(FileWarningsParser.java:53)
          	at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:261)
          	at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:220)
          	at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:169)
          	at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31)
          	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
          	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:269)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
          	at java.lang.Thread.run(Thread.java:595)
          Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
          	at java.lang.ClassLoader.defineClass1(Native Method)
          	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
          	at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
          	at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:152)
          	... 19 more
          joerg joe nobody added a comment - - edited This is the stacktrace produced for v4.13: [WARNINGS] Parsing warnings in files '**/*.java' with parser Java Compiler (javac) ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: ******************** at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.warnings.WarningsPublisher.parseFiles(WarningsPublisher.java:368) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:275) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:358) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on cinix failed at hudson.remoting.Channel.call(Channel.java:672) at hudson.FilePath.act(FilePath.java:831) ... 13 more Caused by: java.lang.ClassFormatError: Failed to load org.apache.commons.io.input.BOMInputStream at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:154) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at hudson.plugins.warnings.parser.FileWarningsParser.parse(FileWarningsParser.java:53) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:261) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:220) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:169) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:152) ... 19 more

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          http://jenkins-ci.org/commit/warnings-plugin/4d42e38c779d6aa485d396cf49e7ce34e4a3b5e9
          Log:
          JENKINS-14461 Downgrade to commons-io 2.2 which is Java 1.5 compatible

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml http://jenkins-ci.org/commit/warnings-plugin/4d42e38c779d6aa485d396cf49e7ce34e4a3b5e9 Log: JENKINS-14461 Downgrade to commons-io 2.2 which is Java 1.5 compatible

          People

            drulli Ulli Hafner
            tbekolay Trevor Bekolay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: