For future reference, this turned out to be an issue with me having multiple versions of commons-coded.jar on the classpath. Once I removed the earlier version, all worked well.
- Sean On Tue, Jul 16, 2013 at 2:40 PM, Sean C <seanlo...@gmail.com> wrote: > I am new to Jenkins, and unfortunately, we are using Serena Dimensions for > our current build management and code repository. As a proof of concept, I > am trying to get Jenkins (on Tomcat) to checkout and build my Maven > project; however, that is proving to be easier said than done. I have > downloaded and configured the Dimensions plugin, and the check connection > test is successful, so I know that the Jenkins and Dimensions servers can > communicate. > > I am using the same version of Java (1.6) and Maven (3.0.5) to build my > project locally and on the remote server where Jenkins resides. However, I > do not think the build is ever initiated. > > What am I doing wrong? Please see the console and log output below. > > Thanks, > Sean > > > The build fails with the following info being sent to the console: > > FATAL: (class: org/apache/commons/codec/binary/Base64OutputStream, method: > <init> signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to > function > FATAL: (class: org/apache/commons/codec/binary/Base64OutputStream, method: > <init> signature: (Ljava/io/OutputStream;ZI[B)V) Incompatible argument to > function > Finished: null > > The log file says: > > Jul 16, 2013 2:17:31 PM hudson.model.listeners.RunListener report > WARNING: RunListener failed > java.lang.NullPointerException > at > hudson.model.PermalinkProjectAction$Permalink$3.apply(PermalinkProjectAction.java:134) > at > jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:194) > at > hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199) > at hudson.model.Run.execute(Run.java:1625) > at > hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) > at > hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:241) > > Jul 16, 2013 2:17:31 PM hudson.model.Run onEndBuilding > WARNING: McWebAccessWS #7: No build result is set, so marking as failure. > This shouldn't happen. > Jul 16, 2013 2:17:31 PM hudson.model.Executor run > SEVERE: Executor threw an exception > java.lang.VerifyError: (class: > org/apache/commons/codec/binary/Base64OutputStream, method: <init> > signature: (Ljava/io/OutputSt > ream;ZI[B)V) Incompatible argument to function > at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:180) > at hudson.console.ConsoleNote.encodeTo(ConsoleNote.java:158) > at > hudson.util.StreamTaskListener.annotate(StreamTaskListener.java:157) > at > hudson.util.StreamTaskListener._error(StreamTaskListener.java:132) > at > hudson.util.StreamTaskListener.fatalError(StreamTaskListener.java:149) > at hudson.model.Run.handleFatalBuildProblem(Run.java:1659) > at hudson.model.Run.execute(Run.java:1605) > at > hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) > at > hudson.model.ResourceController.execute(ResourceController.java:88) > at hudson.model.Executor.run(Executor.java:241) > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.