[JIRA] [artifactory] (JENKINS-23794) Artifactory Plugin guava dependency problem
Shridhar Patil commented on JENKINS-23794 Artifactory Plugin guava dependency problem I am using Jenkins 1.578 and my plugin works on guava-17.0.jar. In Jenkins lib folder we have guava-11.0.1.jar. Scenario 1. On Windows 7 Enterprise 64-bit : I replaced the 11.0.0 jar with 17.0 version and my plugin and Jenkins both works fine. Scenario 2. On Linux x86_64 I replaced the 11.0.0 jar with 17.0 version and my plugin works fine. but after successfully running the job on Jenkins, I get error while opening the output console and I have to view the output on Plain text option. Exception javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-1.578.jar!/hudson/model/Run/console.jelly:65:27: j:whitespace com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) 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 -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [artifactory] (JENKINS-23794) Artifactory Plugin guava dependency problem
Sergio Vavassori created JENKINS-23794 Artifactory Plugin guava dependency problem Issue Type: Bug Affects Versions: current Assignee: yossis Attachments: failed_build.log Components: artifactory Created: 15/Jul/14 11:29 AM Description: org.jfrog.build.extractor.BuildInfoExtractorUtils.mergePropertiesWithSystemAndPropertyFile uses the method com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable that has been removed since guava 16.x and has been re-added in guava 17.x but with different parameters types: InputStream and Reader instead of Closeable. This breaks the maven build because java.lang.NoSuchMethodError is thrown. libguava-java:amd64 package has been upgraded on July from 15.0-2 to 17.0-1 in debian testing repository, so all new maven installation are affected. Restoring the library to previous version fix the problem. Please notice into attached log that system libraries (/usr/share/maven) are imported into classpath when launching java. Environment: Debian Testing Apache Maven 3.0.5 Maven home: /usr/share/maven Java version: 1.7.0_60, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: linux, version: 3.2.0-0.bpo.2-amd64, arch: amd64, family: unix Project: Jenkins Labels: plugin artifactory guava maven Priority: Major Reporter: Sergio Vavassori 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 -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.