index out of bounds 3.5 regression

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

index out of bounds 3.5 regression

Brian Fox-2
I'm getting index out of bounds exceptions with 3.5 that don't occur with
3.3.9. I haven't debugged it yet, but wondering if this is already known?
Fwiw reproducible with the DependencyCheck 2.0-snapshot master.

[ERROR] 13978

java.lang.ArrayIndexOutOfBoundsException: 13978

at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)

at
org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog(MXParser.java:1604)

at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1434)

at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)

at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:3856)

at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:595)

at
org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:109)

at
org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:82)

at
org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:81)

at
org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:535)

at
org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:275)

at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:321)

at
org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:199)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:544)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:528)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:418)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:372)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:360)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:513)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:467)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:372)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:360)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:513)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:467)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:372)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:360)

at
org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:263)

at
org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:325)

at
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal(DefaultPluginDependenciesResolver.java:202)

at
org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:149)

at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:402)

at
org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:374)

at
org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:231)

at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:102)

at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

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)

[ERROR]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: index out of bounds 3.5 regression

Stuart McCulloch
Might also be related to https://issues.apache.org/jira/browse/MNG-6216

On Friday, 30 June 2017 at 15:25, Anton Tanasenko wrote:

> You're hitting an issue [1] in plexus-utils most probably. Check if you
> have <?m2e ?> processing instructions in one of the poms.
>
> [1] https://github.com/codehaus-plexus/plexus-utils/issues/22
>
> 2017-06-30 16:57 GMT+03:00 Brian Fox <[hidden email] (mailto:[hidden email])>:
>
> > I'm getting index out of bounds exceptions with 3.5 that don't occur with
> > 3.3.9. I haven't debugged it yet, but wondering if this is already known?
> > Fwiw reproducible with the DependencyCheck 2.0-snapshot master.
> >
> > [ERROR] 13978
> >
> > java.lang.ArrayIndexOutOfBoundsException: 13978
> >
> > at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2502)
> >
> > at
> > org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog(MXParser.java:1604)
> >
> > at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1434)
> >
> > at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1131)
> >
> > at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(
> > MavenXpp3Reader.java:3856)
> >
> > at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(
> > MavenXpp3Reader.java:595)
> >
> > at
> > org.apache.maven.model.io.DefaultModelReader.read(
> > DefaultModelReader.java:109)
> >
> > at
> > org.apache.maven.model.io.DefaultModelReader.read(
> > DefaultModelReader.java:82)
> >
> > at
> > org.apache.maven.model.building.DefaultModelProcessor.read(
> > DefaultModelProcessor.java:81)
> >
> > at
> > org.apache.maven.model.building.DefaultModelBuilder.
> > readModel(DefaultModelBuilder.java:535)
> >
> > at
> > org.apache.maven.model.building.DefaultModelBuilder.
> > build(DefaultModelBuilder.java:275)
> >
> > at
> > org.apache.maven.repository.internal.DefaultArtifactDescriptorReade
> > r.loadPom(DefaultArtifactDescriptorReader.java:321)
> >
> > at
> > org.apache.maven.repository.internal.DefaultArtifactDescriptorReade
> > r.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:199)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:544)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > getArtifactDescriptorResult(DefaultDependencyCollector.java:528)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > processDependency(DefaultDependencyCollector.java:418)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > processDependency(DefaultDependencyCollector.java:372)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(
> > DefaultDependencyCollector.java:360)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(
> > DefaultDependencyCollector.java:513)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > processDependency(DefaultDependencyCollector.java:467)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > processDependency(DefaultDependencyCollector.java:372)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(
> > DefaultDependencyCollector.java:360)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(
> > DefaultDependencyCollector.java:513)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > processDependency(DefaultDependencyCollector.java:467)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > processDependency(DefaultDependencyCollector.java:372)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(
> > DefaultDependencyCollector.java:360)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultDependencyCollector.
> > collectDependencies(DefaultDependencyCollector.java:263)
> >
> > at
> > org.eclipse.aether.internal.impl.DefaultRepositorySystem.
> > collectDependencies(DefaultRepositorySystem.java:325)
> >
> > at
> > org.apache.maven.plugin.internal.DefaultPluginDependenciesResol
> > ver.resolveInternal(DefaultPluginDependenciesResolver.java:202)
> >
> > at
> > org.apache.maven.plugin.internal.DefaultPluginDependenciesResol
> > ver.resolve(DefaultPluginDependenciesResolver.java:149)
> >
> > at
> > org.apache.maven.plugin.internal.DefaultMavenPluginManager.
> > createPluginRealm(DefaultMavenPluginManager.java:402)
> >
> > at
> > org.apache.maven.plugin.internal.DefaultMavenPluginManager.
> > setupPluginRealm(DefaultMavenPluginManager.java:374)
> >
> > at
> > org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(
> > DefaultBuildPluginManager.java:231)
> >
> > at
> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> > DefaultBuildPluginManager.java:102)
> >
> > at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> > MojoExecutor.java:208)
> >
> > 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)
> >
> > [ERROR]
>
>
>
> --
> Regards,
> Anton.
>
>


Loading...