PDA

View Full Version : File Crashes on Opening - NullPointerException - Alice 3


wbarnum
09-02-2015, 11:13 AM
I've had a few students come to me with the issue of Alice 3.25 for Windows crashing immediately upon opening their file with a NullPointerException.

I can't see or manipulate the scene or the code, so I have no way to evaluate what the problem might be.

The only similar posts (http://www.alice.org/community/showthread.php?t=9926&highlight=NullPointerException) that I can find deal with Alice 2, so I don't know if the cause is related.

I have attached three samples of files that display this behavior.

If anyone else experiences this problem, I would be interested to hear about it.

MrMoke
09-03-2015, 08:30 AM
Nope- They didn't load/work for me either. A lot of factors come into play here. Best advice I could give the students is to take the projects one step at a time.
1) Start a new project, and save it as Projectname01.
2) Add a functional piece to the project, and if it works, save it as Projectname02.
3) If, however, you have added code, and it crashes with the dreaded Error Screen, you can always back up to the previous version and try again.
4) If you're satisfied the newer version works, you can always delete the older ones and move forward.

wbarnum
09-03-2015, 02:31 PM
Nope- They didn't load/work for me either. A lot of factors come into play here. Best advice I could give the students is to take the projects one step at a time.
1) Start a new project, and save it as Projectname01.
2) Add a functional piece to the project, and if it works, save it as Projectname02.

Thank you. This is good advice. I am going to instruct all my students to version their projects today.

wbarnum
09-04-2015, 10:23 PM
Just going to pass on some information in case it might help someone else who is having the same problem.

Don Slater suggested that students may be encountering the angry queen and just ignoring the message. If they continue working, it may cause the file to become corrupted.

I could see that some of my students might use the "silently fail" feature and that this might lead to more problems. I'm going to specifically warn them against this.