maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rosenvold <kristian.rosenv...@gmail.com>
Subject Re: ArrayIndexOutOfBoundsException
Date Tue, 28 May 2013 16:34:57 GMT
It would appear you have a broken XML processing instruction
somewhere, the kind that looks like this;

<?xml version="1.0" encoding="UTF-8" ?>

Kristian


2013/5/28 Jason Ferguson <fergusonjason@gmail.com>:
> I am trying to troubleshoot a Hudson build that seems to be directly
> related to Maven itself, or at least something in a POM file. All of our
> other builds are fine.
>
> I have attempted to chase the bug through the source code via the stack
> traces, and about the best I could figure out was that _maybe_ there was a
> problem with a duplicate plugin. I removed the only plugin that was
> duplicated from the parent (compiler plugin), but had no luck.
>
> Installed maven version is 3.0.4.
>
> Any help is appreciated.
>
>
>
> [ERROR] Internal error: java.lang.ArrayIndexOutOfBoundsException: 8194
> -> [Help 1]org.apache.maven.InternalErrorException: Internal error:
> java.lang.ArrayIndexOutOfBoundsException: 8194
>         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:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         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.launchEnhanced(Launcher.java:290)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 8194
>         at org.codehaus.plexus.util.xml.pull.MXParser.parsePI(MXParser.java:2470)
>         at org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1257)
>         at org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1105)
>         at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:179)
>         at org.codehaus.plexus.util.xml.Xpp3DomBuilder.build(Xpp3DomBuilder.java:86)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePluginExecution(MavenXpp3Reader.java:3137)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePlugin(MavenXpp3Reader.java:2918)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parsePluginManagement(MavenXpp3Reader.java:3186)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseBuild(MavenXpp3Reader.java:1157)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Reader.java:2456)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4088)
>         at org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.java:4021)
>         at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:122)
>         at org.apache.maven.model.io.DefaultModelReader.read(DefaultModelReader.java:91)
>         at org.apache.maven.model.building.DefaultModelProcessor.read(DefaultModelProcessor.java:77)
>         at org.apache.maven.model.building.DefaultModelBuilder.readModel(DefaultModelBuilder.java:456)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message