Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
Alice 2.4 error I can not locate
Old
Yarnpaw
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jul 2015
Exclamation Alice 2.4 error I can not locate - 07-02-2015, 11:35 PM

I searched the forums before posting but none of the suggestions seemed to fix my problem. I get this error message every time I stop my world. I did not find any areas in my program with null values. I have gone through all of my methods and can not find what is causing this error message to occur. I know I must be overlooking something. I figured a second pair of eyes can spot what mine can not. I do not get this message with any of the other worlds I created. This was a world I created to practice what I learned in class.


Error during world stop.




Alice version: 2.4.3

os.name: Windows 7

os.version: 6.1

os.arch: x86

java.vm.name: Java HotSpot(TM) Client VM

java.vm.version: 20.0-b11




Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.pro logue(CallToUserDefinedResponse.java:53)
Attached Files
File Type: a2w Dragon Castle Assault.a2w (6.10 MB, 1 views)
   
Reply With Quote
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default 07-03-2015, 09:24 AM

Check out your "while world is running" statements and see if you may have made a little mistake in one of them
   
Reply With Quote
Old
Yarnpaw
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jul 2015
Talking 07-03-2015, 11:32 AM

That fixed it. I apparently had a statement in the end portion of the while the world is running statement that tried to execute when I stopped the world. Thanks for the help.
   
Reply With Quote
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default 07-08-2015, 04:40 PM

Happy to point you in the right direction
   
Reply With Quote
Old
Nastasya
Junior Member
 
Nastasya's Avatar
 
Status: Offline
Posts: 1
Join Date: Aug 2015
Location: Moscow
Default 08-14-2015, 02:00 PM

Thank you. And I your tips very useful
 Send a message via ICQ to Nastasya  
Reply With Quote
Reply

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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.