Hi Eric, Just a UPDATE on this one....
I was trying to create a JOB as*Build a maven2/3 project*And it was throwing this exceptions so basically this feature is not stable and not working at all to create successful builds. I tried with *Build a free-style software project* And same commands worked for me to setup automated build for Maven project.... *So work around is to use free-style software project....* Looks like MAVEN plugin is not stable and not working upto date at all... Somebody need to test this completely :) Thanks. On Thursday, March 21, 2013 11:03:30 AM UTC-7, devanand wrote: > > Hi Eric, > > I am not using Poll feature at all... I have this build scheduled with > Manual JOB only..... But still i am getting this exception.... > > I don't see any workaround on this problem.... I am stuck really and don't > know how to resolve this problem.... If you can give me some other > workaround to fix this issue that will be great.... > > > Thanks. > > On Thursday, March 21, 2013 10:06:37 AM UTC-7, Eric Pyle wrote: >> >> Sorry, I don't know when it may be fixed. I am not involved in working >> on it. As for a workaround, the bug reporter says if the build is manually >> started, it succeeds - not sure if you've tried that. To still have builds >> triggered automatically, you could set up a post-commit hook in your source >> control system to trigger builds when changes are committed. Details depend >> on which SCM you use. For Git, see >> http://blog.cloudbees.com/2011/11/polling-must-die-triggering-jenkins.html. >> >> >> Regards, >> Eric >> >> On 3/21/2013 12:29 PM, devanand wrote: >> >> Hi Eric, >> >> When should i expect to be resolved this BUG ? or is there any work >> around to this problem ??? >> >> Thanks. >> >> On Thursday, March 21, 2013 5:28:58 AM UTC-7, Eric Pyle wrote: >>> >>> This is JENKINS-15642.<https://issues.jenkins-ci.org/browse/JENKINS-15642> >>> >>> Eric >>> >>> On 3/20/2013 8:34 PM, devanand wrote: >>> >>> Hi, >>> >>> >>> I am getting following exception even though i can see my build is >>> successfull. I can see on local box this has artifact available but still i >>> can see this error whenever i run my jenkins maven build job.... >>> >>> Please check the attachment of configuration which i am doingn for >>> this project... >>> >>> Please help me to find out the problem.... I think this is Jenkins >>> Plugin problem.... or correct me if any other configuration i need to do >>> here.... >>> >>> >>> >>> INFO] >>> ------------------------------------------------------------------------ >>> >>> [INFO] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 3.602s >>> [INFO] Finished at: Wed Mar 20 17:28:49 PDT 2013 >>> [INFO] Final Memory: 10M/156M >>> [INFO] >>> ------------------------------------------------------------------------ >>> [JENKINS] Archiving disabled >>> Waiting for Jenkins to finish collecting data >>> mavenExecutionResult exceptions not empty >>> message : Internal error: java.lang.ArrayIndexOutOfBoundsException: >>> Assertion error: failing to load #31 ASC: lo=31,hi=0,size=31,size2=31 >>> cause : Assertion error: failing to load #31 ASC: >>> lo=31,hi=0,size=31,size2=31 >>> Stack trace : >>> org.apache.maven.InternalErrorException: Internal error: >>> java.lang.ArrayIndexOutOfBoundsException: Assertion error: failing to load >>> #31 ASC: lo=31,hi=0,size=31,size2=31 >>> at >>> org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >>> at >>> org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) >>> at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) >>> at hudson.maven.Maven3Builder.call(Maven3Builder.java:100) >>> at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) >>> 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) >>> Caused by: java.lang.ArrayIndexOutOfBoundsException: Assertion error: >>> failing to load #31 ASC: lo=31,hi=0,size=31,size2=31 >>> at >>> jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:432) >>> at hudson.model.AbstractBuild.getNextBuild(AbstractBuild.java:244) >>> at >>> hudson.maven.MavenModuleSetBuild.getModuleBuilds(MavenModuleSetBuild.java:275) >>> at >>> hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:500) >>> at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:506) >>> at sun.reflect.GeneratedMethodAccessor532.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>> at java.lang.reflect.Method.invoke(Unknown Source) >>> at hudson.model.Executor$1.call(Executor.java:543) >>> at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) >>> at $Proxy45.end(Unknown Source) >>> at sun.reflect.GeneratedMethodAccessor531.invoke(Unknown Source) >>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >>> at java.lang.reflect.Method.invoke(Unknown Source) >>> at >>> hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:275) >>> at >>> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:256) >>> at >>> hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) >>> 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(Unknown Source) >>> at java.util.concurrent.FutureTask.run(Unknown Source) >>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown >>> Source) >>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >>> at java.lang.Thread.run(Unknown Source) >>> channel stopped >>> Archiving artifacts >>> FATAL: Assertion error: failing to load #31 ASC: >>> lo=31,hi=0,size=31,size2=31java.lang.ArrayIndexOutOfBoundsException >>> <http://stacktrace.jenkins-ci.org/search?query=java.lang.ArrayIndexOutOfBoundsException>: >>> Assertion error: failing to load #31 ASC: lo=31,hi=0,size=31,size2=31 >>> at >>> jenkins.model.lazy.AbstractLazyLoadRunMap.search(AbstractLazyLoadRunMap.java:432) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=jenkins.model.lazy.AbstractLazyLoadRunMap.search&entity=method> >>> at hudson.model.AbstractBuild.getNextBuild(AbstractBuild.java:244) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getNextBuild&entity=method> >>> at >>> hudson.maven.MavenModuleSetBuild.getModuleBuilds(MavenModuleSetBuild.java:275) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.getModuleBuilds&entity=method> >>> at >>> hudson.maven.reporters.MavenFingerprinter.aggregate(MavenFingerprinter.java:259) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.reporters.MavenFingerprinter.aggregate&entity=method> >>> at >>> hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:958) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2&entity=method> >>> at >>> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:739) >>> >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.post&entity=method> >>> at hudson.model.Run.execute(Run.java:1592) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> >>> at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.maven.MavenModuleSetBuild.run&entity=method> >>> at hudson.model.ResourceController.execute(ResourceController.java:88) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> >>> at hudson.model.Executor.run(Executor.java:237) >>> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> >>> >>> Help us localize this >>> page<http://localhost:8080/job/can-generator/30/console#> >>> >>> -- >>> 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-use...@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-use...@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.