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 in SketchCode.load() after botched save #4980

Open
ghost opened this Issue Mar 25, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Mar 25, 2017

processing_tabs_error_25-03-2017

Attempted to save my project, I tend to mash cntrl-s while working on stuff. Noticed a stacktrace in the console. Attempted to save, save as, but couldn't save the project. The stacktrace named a specific tab or editor window. Copied the code from said tab and tried to delete the tab to recreate and save it. Got another stacktrace. Closed the project without saving. Got the attached error on launch. Can't open the project without getting this error. I can see the processing window behind it but can't edit it as the error forces its focus. Can't copy and add the stacktrace because I can't see it and can't increase the console size since the error blocks interaction with processing's window.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry May 4, 2017

Member

This error would happen if it couldn't read one of the files in the sketch. Is it possible that it disappeared? Or wasn't openable? Could you post a copy of the sketch?

Member

benfry commented May 4, 2017

This error would happen if it couldn't read one of the files in the sketch. Is it possible that it disappeared? Or wasn't openable? Could you post a copy of the sketch?

@benfry benfry changed the title from Error popup followed by crash to NullPointerException in SketchCode.load() after botched save May 4, 2017

@ghost

This comment has been minimized.

Show comment
Hide comment
@ghost

ghost May 8, 2017

I don't think so. The initial errors I got while control+s'ing did mention being unable to save the specific tab but it was still in the directory. I managed to copy and paste all the code out and re-create the project's tabs in a new sketch. I don't have the original sketch anymore. It's been a month..

ghost commented May 8, 2017

I don't think so. The initial errors I got while control+s'ing did mention being unable to save the specific tab but it was still in the directory. I managed to copy and paste all the code out and re-create the project's tabs in a new sketch. I don't have the original sketch anymore. It's been a month..

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