[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350014#comment-16350014 ] ASF GitHub Bot commented on MPLUGIN-328: dheid closed pull request #11: MPLUGIN-328 ArrayIndexOutOfBoundsException: 48188 URL: https://github.com/apache/maven-plugin-tools/pull/11 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/DefaultMojoAnnotationsScanner.java b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/DefaultMojoAnnotationsScanner.java index f4c83010..8b2a15f4 100644 --- a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/DefaultMojoAnnotationsScanner.java +++ b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/DefaultMojoAnnotationsScanner.java @@ -142,7 +142,14 @@ protected void scan( MapmojoAnnotatedClasses, File { continue; } -analyzeClassStream( mojoAnnotatedClasses, archiveStream, artifact, excludeMojo ); +try +{ +analyzeClassStream( mojoAnnotatedClasses, archiveStream, artifact, excludeMojo ); +} +catch ( ArrayIndexOutOfBoundsException e ) +{ +getLogger().warn( "Error analyzing class " + zipEntryName ); +} } } catch ( IllegalArgumentException e ) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Assignee: Hervé Boutemy >Priority: Major > Fix For: 3.5.1 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16350013#comment-16350013 ] ASF GitHub Bot commented on MPLUGIN-328: dheid commented on issue #11: MPLUGIN-328 ArrayIndexOutOfBoundsException: 48188 URL: https://github.com/apache/maven-plugin-tools/pull/11#issuecomment-362528887 Maintainer fixed it on his own. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Assignee: Hervé Boutemy >Priority: Major > Fix For: 3.5.1 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by:
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16331489#comment-16331489 ] Hudson commented on MPLUGIN-328: Build unstable in Jenkins: Maven TLP » maven-plugin-tools » master #17 See https://builds.apache.org/job/maven-box/job/maven-plugin-tools/job/master/17/ > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Assignee: Hervé Boutemy >Priority: Major > Fix For: 3.5.1 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16328334#comment-16328334 ] Hervé Boutemy commented on MPLUGIN-328: --- ok, issue analyzed, plugin improvement ready, but I need to make the IT more simple. In fact, in this testcase, ASM is choking on {{com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class}} in {{com.ibm.icu:icu4j:2.6.1}} dependency then using MPLUGIN-305 dependency filtering feature would permit you to workaround the issue Not using {{java-annotations}} mojo extractor would also sole the issue, since you're using javadoc annotations, but I suppose javadoc annotations are not so common nowadays: Java 5 annotations are more convenient, since strongly typed > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Fix For: 3.6 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by:
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16327913#comment-16327913 ] Hervé Boutemy commented on MPLUGIN-328: --- ok, I can open plugin.rar. BTW, I can open plugin.zip with unrar: it's not a zip file but a rar file with unusual extension... And I was able to reproduce the issue: working on it > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Fix For: 3.6 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16326895#comment-16326895 ] zosrothko commented on MPLUGIN-328: --- [~hboutemy]: Uploaded a new attachement plugin.rar build with WinRAR. BTW, WinRAR is opening without any problem plugin.zip > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Fix For: 3.6 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16314290#comment-16314290 ] Hervé Boutemy commented on MPLUGIN-328: --- [~zosrothko] I can't open plugin.zip file, it seems the file is corrupted: can you provide a new one, please? a workaround that should work immediately with maven-plugin-plugin 3.5 is to use {{mojoDependencies}} configuration to scan only useful dependencies: see MPLUGIN-305 (I suppose AspectJ classes that cause a failure are not Mojo subclasses) Before committing another workaround, I need a sample failure to add as integration test: I can't add code based only on reasoning or people telling they tested > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > Fix For: 3.5.1 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310432#comment-16310432 ] Daniel Heid commented on MPLUGIN-328: - I changed the default annotation scanner to just print a warning in case a class could not be analyzed. This should not let a build fail. In my case, I added a dependency compiled with AspectJ and that leads to a build interruption. > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > Attachments: plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:java} > maven-plugin-plugin > 3.5 > > > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310429#comment-16310429 ] ASF GitHub Bot commented on MPLUGIN-328: dheid opened a new pull request #11: MPLUGIN-328 ArrayIndexOutOfBoundsException: 48188 URL: https://github.com/apache/maven-plugin-tools/pull/11 If a dependency contains a class that could not be read by the default mojo annotation scanner, Maven will fail. Especially classes compiled using AspectJ are affected. Please consider merging this pull request, as it just lets Maven print a warning and won't let it interrupt the build process. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > Attachments: plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:java} > maven-plugin-plugin > 3.5 > > > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16287342#comment-16287342 ] zosrothko commented on MPLUGIN-328: --- Sample project provided in plugin.zip as well as its parent project as pom.xml > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > Attachments: plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:java} > maven-plugin-plugin > 3.5 > > > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanArchive(DefaultMojoAnnotationsScanner.java:145) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16284274#comment-16284274 ] Michael Osipov commented on MPLUGIN-328: Sample project please. > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:java} > maven-plugin-plugin > 3.5 > > > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanArchive(DefaultMojoAnnotationsScanner.java:145) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan(DefaultMojoAnnotationsScanner.java:112) > at >