[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
joe nobody commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? The problem is the depedency to Apache Commons IO 2.3. It requires JDK6. For Commons IO 2.2 JDK5 would be sufficient. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
joe nobody reopened JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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 Change By: joe nobody (26/Jul/12 2:08 PM) Resolution: Fixed Status: Resolved Reopened This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
joe nobody edited a comment on JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
SCM/JIRA link daemon commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
SCM/JIRA link daemon resolved JENKINS-14461 as Fixed Warnings plugin not Java 1.5 compatible? Change By: SCM/JIRA link daemon (23/Jul/12 8:33 AM) Status: InProgress Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? Thank you! This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? analysis-core is version 1.43, yeah. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin no Java 1.5 compatible?
Trevor Bekolay created JENKINS-14461 Warnings plugin no Java 1.5 compatible? Issue Type: Bug Affects Versions: current Assignee: Ulli Hafner Components: warnings Created: 17/Jul/12 1:38 PM 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$_javascript_ProxyMethodDispatcher.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
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay updated JENKINS-14461 Warnings plugin not Java 1.5 compatible? Change By: Trevor Bekolay (17/Jul/12 1:42 PM) Summary: Warningsplugin no not Java1.5compatible? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-14461) Warnings plugin not Java 1.5 compatible?
Trevor Bekolay commented on JENKINS-14461 Warnings plugin not Java 1.5 compatible? 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. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira