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

watmap NullPointerException on line 244 #18

Open
alysiceknife opened this issue May 6, 2023 · 0 comments
Open

watmap NullPointerException on line 244 #18

alysiceknife opened this issue May 6, 2023 · 0 comments

Comments

@alysiceknife
Copy link

alysiceknife commented May 6, 2023

Hello! Apologies if this issue isn't super well-formatted, as I'm new to GitHub. I'm trying to make a Watmap image and am having issues with an unexplained NullPointerException error on line 244 after the image names are prepared, or partway through the matching process, seemingly at random. I've checked my work over and over on renaming the files correctly, and have tried different image sets. The images I'm currently using are titled as follows "iconXX.png", and the relevant section of the code is formatted like this:

final static String pattern_prefix = "./icon/icon";
final static String file_ext = ".png";
final static int pattern_init = 1; // starting number
final static int pattern_length = 18; // how many images from the set
final static int pattern_size = 2; // number of digits

I'm not sure what could be causing this error, since it happens during the matching process. I am using a fresh version of the script downloaded from GitHub today.

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

1 participant