Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
File Crashes on Opening - NullPointerException - Alice 3
Old
wbarnum
Member
 
Status: Offline
Posts: 20
Join Date: Jun 2015
Exclamation File Crashes on Opening - NullPointerException - Alice 3 - 09-02-2015, 10: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 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.
Attached Files
File Type: a3p JackFoley8#ScienceProject(buggy).a3p (39.9 KB, 3 views)
File Type: a3p PaigeKurczek_Period8_FairyTale(buggy).a3p (49.1 KB, 3 views)
File Type: a3p Science Project(buggy).a3p (27.2 KB, 2 views)

Last edited by wbarnum; 09-03-2015 at 01:42 PM.
   
Reply With Quote
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 500
Join Date: Sep 2007
Location: Austin, Texas
Default 09-03-2015, 07: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.
   
Reply With Quote
Old
wbarnum
Member
 
Status: Offline
Posts: 20
Join Date: Jun 2015
Default 09-03-2015, 01:31 PM

Quote:
Originally Posted by MrMoke View Post
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.
   
Reply With Quote
Old
wbarnum
Member
 
Status: Offline
Posts: 20
Join Date: Jun 2015
Default 09-04-2015, 09: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.
   
Reply With Quote
Reply

Tags
crash, nullpointerexception, open

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.