-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<?m2e execute onConfiguration?> fails if pom is big enough (8kb) #22
Milestone
Comments
barclay-reg
pushed a commit
to barclay-reg/plexus-utils
that referenced
this issue
Apr 2, 2017
…s if pom is big enough (8kb) * fixed pom parser, as logic to check for x-m-l letters does not respected input tokenization
barclay-reg
added a commit
to barclay-reg/plexus-utils
that referenced
this issue
Apr 26, 2017
added unit tests
barclay-reg
added a commit
to barclay-reg/plexus-utils
that referenced
this issue
Apr 27, 2017
fixed unit test, so it fails for the old code * old unit test implementation was trapped by the buffer resizing (for the one, big 10k chars xml comment), so this was tailored into 10 * 1000 chars xml comments
rfscholte
pushed a commit
that referenced
this issue
Apr 27, 2017
#23) * Fix off issue #22 <?m2e execute onConfiguration?> fails if pom is big enough (8kb) * fixed pom parser, as logic to check for x-m-l letters does not respected input tokenization * Fix off issue #22 added unit tests * Fix off issue #22 fixed unit test, so it fails for the old code * old unit test implementation was trapped by the buffer resizing (for the one, big 10k chars xml comment), so this was tailored into 10 * 1000 chars xml comments
schereradi
pushed a commit
to schereradi/pom-explorer
that referenced
this issue
Feb 21, 2020
Due to a bug in plexus-utils [1], there is an ArrayIndexOutOfBoundsException if a big pom file is analyzed with the new M2Eclipse syntax for specifying lifecycle mapping metadata [2]. The bug is already fixed in plexus-utils, so only the maven-core and shrinkwrap-resolver* dependencies have to be updated. [1] codehaus-plexus/plexus-utils#22 [2] For example "<?m2e execute onConfiguration?>"
dsyer
added a commit
to spring-projects-experimental/spring-boot-thin-launcher
that referenced
this issue
Oct 19, 2021
There was a bug in plexus that made it fail with some pom.xml files codehaus-plexus/plexus-utils#22
ltearno
pushed a commit
to ltearno/pom-explorer
that referenced
this issue
May 6, 2022
Due to a bug in plexus-utils [1], there is an ArrayIndexOutOfBoundsException if a big pom file is analyzed with the new M2Eclipse syntax for specifying lifecycle mapping metadata [2]. The bug is already fixed in plexus-utils, so only the maven-core and shrinkwrap-resolver* dependencies have to be updated. [1] codehaus-plexus/plexus-utils#22 [2] For example "<?m2e execute onConfiguration?>"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pom.xml.txt
Steps to reproduce:
Expected: pass
Actual: java.lang.ArrayIndexOutOfBoundsException: 8222
If you remove any fake banana properties from the file to decrease its size, it will pass.
I think something is wrong with buffer https://github.com/codehaus-plexus/plexus-utils/blob/master/src/main/java/org/codehaus/plexus/util/xml/pull/MXParser.java#L343
The text was updated successfully, but these errors were encountered: