video_export_processing
video_export_processing copied to clipboard
NullPointerException: it must not be null
Whenever I have a call to videoExport.endMovie(); I get:
NullPointerException: it must not be null
Windows, with processing 4.2.
Hi! :) Did you see the top of the README? Did you try the KotlinGradle branch?
yeah sorry, it happens with that one, but I posted in the wrong repository by accident.
Ah there's only one repo, you posted on the only one XD. So... I would be happy to receive pull requests to fix any issues. And to pass the repo to a new maintainer as well.
Hi, still encountering this issue on the KotlinGradle branch.
Minimum viable example reproducing the issue:
import com.hamoid.*;
VideoExport video_handle;
void settings() {
size(600, 600);
}
void setup() {
surface.setTitle("test");
video_handle = new VideoExport(this, "test.mp4");
video_handle.startMovie();
}
void draw() {
video_handle.saveFrame();
video_handle.endMovie();
exit();
}
For @vess-dev , I fixed this problem in this fork: https://github.com/ajavamind/video_export_processing/tree/kotlinGradle You can build the library on Windows with: .\gradlew.bat shadowJar
For @vess-dev , I fixed this problem in this fork: https://github.com/ajavamind/video_export_processing/tree/kotlinGradle You can build the library on Windows with: .\gradlew.bat shadowJar
Thank you friend. I wish your day warm, and your pillow cold. Much appreciated.