question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.NoSuchMethodError when creating new IsoFile

See original GitHub issue

I am getting a crash when trying to create an IsoFile. I am running Android and java jdk 1.8.0_121

java.lang.NoSuchMethodError: No virtual method rewind()Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-oj.jar) at org.mp4parser.AbstractBoxParser.parseBox(AbstractBoxParser.java:56) at org.mp4parser.BasicContainer.initContainer(BasicContainer.java:107) at org.mp4parser.IsoFile.<init>(IsoFile.java:57) at org.mp4parser.IsoFile.<init>(IsoFile.java:44)

That is my crash.

Is there a particular jdk that I should be using? This was working fine before when I was using build 1.9.27

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:8
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
eraycantazeguneycommented, Aug 28, 2018

any news on that?

6reactions
x011commented, Nov 16, 2018

I accidentally built 1.9.37 with Java 9 I believe. I will rebuilt with Java 8 in the next days and push a new version to central. alexeyvasilyev notifications@github.com schrieb am Fr., 3. Aug. 2018, 22:22: I got the same problem with latest 1.9.37 on Android. No issue on 1.9.36 via maven repository. java.lang.NoSuchMethodError: No virtual method rewind()Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of ‘java.nio.ByteBuffer’ appears in /system/framework/core-oj.jar) at org.mp4parser.support.AbstractBox.getBox(AbstractBox.java:120) at org.telegram.messenger.video.MP4Builder.createMovie(MP4Builder.java:71) If I put the latest isoparser source code directly into the project and compile, everything is ok (no crash). Could be an issue with a build for maven repository? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#323 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKUD-elF7X0imy8cFQQ5JGGYtbfVFFNks5uNLDsgaJpZM4VuZ-W .

Can you please push version 1.9.37 java 8? It’s useless at the moment. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix a NoSuchMethodError? - java - Stack Overflow
Exception in thread "main" java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonGenerator.writeStartObject(Ljava/lang/Object;)V at ...
Read more >
3 Steps to Fix NoSuchMethodErrors and ...
We find this information in the error message of the NoSuchMethodError : Exception in thread "main" java.lang.NoSuchMethodError: io.reflectoring ...
Read more >
No virtual method limit(I)Ljava/nio/ByteBuffer - Bountysource
Seeing this issue on Android: java.lang.NoSuchMethodError: No virtual method limit(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; ...
Read more >
DCM4CHE CDW | Media Creator - Google Groups
In general the CDW application is designed to run on the server/workstation that provides the CD/DVD burning capability. Are you creating Patient CDs...
Read more >
Start the managed server - eehelp.com
We have created the new domain and be able to start the administration server. But when creating a server ... String to property...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found