Issue
all! i need some help on what happened to my eclipse maven plugin . the building process worked well yestoday! while it failed to build this morning ! i have googled but still not able to locate what happened ! i got the stack trace from the error log ; could somebody offer me some clue for this error,or what does 16386 mean there if possible thanks in advance!
stack trace:
java.lang.ArrayIndexOutOfBoundsException: 16386
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)
Solution
16386 is the index in the array. The problem is that the array is not as big as 16386. (i.e. size of the array < 16387)
Anyway, it won't help you to solve this problem.
You can check that your pom.xml contains this (and that it is valid):
<?xml version="1.0" encoding="UTF-8" ?>
EDIT
Your problem is certainly a local problem. So first check the validity of your maven config files:
- .m2/settings.xml
- M2_HOME/conf/settings.xml
If these look fine, then the problem may also be caused by a "corrupt" (bad XML) pom.xml ANYWHERE in your local repo... the easiest workaround is to just wipe your ~/.m2/repository, to let Maven re-download everything.
Answered By - ben75
Answer Checked By - Senaida (JavaFixing Volunteer)