NoSuchMethodError: java.nio.ByteBuffer.flip
See original GitHub issueWhen run on JDK8, maven build fails with following reported
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.pitest:pitest-maven:1.4.4:mutationCoverage (runPitest) on project isbn: Execution runPitest of goal org.pitest:pitest-maven:1.4.4:mutationCoverage failed: An API incompatibility was encountered while executing org.pitest:pitest-maven:1.4.4:mutationCoverage: java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
with stacktrace referring to line 34 of https://github.com/hcoles/pitest/blob/9ac9fad55b35b4b2016c932a58c17565239a765d/pitest/src/main/java/org/pitest/util/StreamUtil.java#L30-L39
Similar to https://jira.mongodb.org/browse/JAVA-2559 (as linked in https://github.com/functional-streams-for-scala/fs2/issues/1357).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Ask Question - Stack Overflow
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer · 1. Why can't you use the same jdk of ...
Read more >Method flip()Ljava/nio/ByteBuffer; does not exist in class java ...
Attempting to run ABCL triggers this error. Exception in thread "interpreter" java.lang.NoSuchMethodError: Method flip()Ljav a/nio/ByteBuffer; ...
Read more >ByteBuffer and the Dreaded NoSuchMethodError
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; at io.debezium.connector.postgresql.connection.
Read more >3 older comments - Apache
NoSuchMethodError : java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;. Status: Assignee: Priority: Resolution: Resolved. Unassigned.
Read more >JDK11: java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()
1Exception in thread "socket_c2s-thread-3" java.lang.NoSuchMethodError: java.nio.CharBuffer.flip()Ljava/nio/CharBuffer; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just rebuilt on java 8 as 1.4.5, hopefully this resolves the issue. Thanks for reporting.
Confirmed, 1.4.5 solves my issue. Hope it works for @asm0dey as well. Thank you for new release.