Skip to content

Conversation

@gdjicasonjakesic
Copy link

Fix: #449

Problem
org.mp4parser.muxer.container.mp4.MovieCreator.build(path) throws NPE
Root cause
InputStream is = ClassLoader.getSystemResourceAsStream("isoparser2-default.properties");
returns null.
Fixed by replacing with

ClassLoader cs = Thread.currentThread().getContextClassLoader();
InputStream is = classLoader.getResourceAsStream("isoparser2-default.properties");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MovieCreator.build(file) NullPointerException

1 participant