Skip to content
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

NullPointerException: it must not be null #72

Open
clankill3r opened this issue Apr 5, 2023 · 6 comments
Open

NullPointerException: it must not be null #72

clankill3r opened this issue Apr 5, 2023 · 6 comments

Comments

@clankill3r
Copy link

Whenever I have a call to videoExport.endMovie(); I get:

NullPointerException: it must not be null

Windows, with processing 4.2.

@hamoid
Copy link
Owner

hamoid commented Apr 5, 2023

Hi! :) Did you see the top of the README? Did you try the KotlinGradle branch?

@clankill3r
Copy link
Author

yeah sorry, it happens with that one, but I posted in the wrong repository by accident.

@hamoid
Copy link
Owner

hamoid commented Apr 7, 2023

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.

@vess-dev
Copy link

vess-dev commented Oct 6, 2023

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();
}

@ajavamind
Copy link

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

@vess-dev
Copy link

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.

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

No branches or pull requests

4 participants