Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

java.lang.NullPointerException: Cannot invoke "java.io.PrintStream.println(String)" because "this.out" is null #141

Answered by mordechaim
Dustinhoefer asked this question in Q&A
Discussion options

You must be logged in to vote

You may pass a path that doesn't exist to config.update(), it will create the file. I'm not sure what causes it, as, as you correctly found, there's an exception in the exception reporting itself, thus masking the real cause.

Thanks for the issue you opened. I'll look into it when I have a chance. Meanwhile, you might try to create your own UpdateHandler to capture the exception yourself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Dustinhoefer
Comment options

Answer selected by Dustinhoefer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants