Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
Error code
Old
willy0227
Junior Member
 
Status: Offline
Posts: 8
Join Date: Jul 2016
Default Error code - 07-24-2016, 06:15 PM

I have built a game as my final project for a class. For some reason it crashes at random times. I can't seem to figure out what is happening. I also have no idea how to read the error log. Could someone please help me figure out what I need to be looking for?

Error during simulation.




Alice version: 2.4.3

os.name: Windows NT (unknown)

os.version: 6.2

os.arch: x86

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

java.vm.version: 20.0-b11

user.dir: C:\Users\twils\Desktop\Alice 2.4\Required



Throwable that caused the error:

edu.cmu.cs.stage3.alice.core.IllegalPropertyValueE xception: edu.cmu.cs.stage3.alice.core.question.list.ItemAtI ndex[world.keepScore.__Unnamed0__.__Unnamed2__.__Unname d0__] does not have property named color

at edu.cmu.cs.stage3.alice.core.response.PropertyAnim ation$RuntimePropertyAnimation.prologue(PropertyAn imation.java:117)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childPrologueIfNecessary(DoInOrder. java:53)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:100)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childUpdate(DoInOrder.java:58)

at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:101)

at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:88)

at edu.cmu.cs.stage3.alice.core.behavior.TriggerBehav ior.internalSchedule(TriggerBehavior.java:69)

at edu.cmu.cs.stage3.alice.core.Behavior.schedule(Beh avior.java:235)

at edu.cmu.cs.stage3.alice.core.Sandbox.scheduleBehav iors(Sandbox.java:70)

at edu.cmu.cs.stage3.alice.core.World.scheduleBehavio rs(World.java:457)

at edu.cmu.cs.stage3.alice.core.World.schedule(World. java:499)

at edu.cmu.cs.stage3.alice.core.clock.DefaultClock.sc hedule(DefaultClock.java:99)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l$7.run(AuthoringTool.java:723)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.simulateOnce(DefaultScheduler.java:117)

at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.run(DefaultScheduler.java:78)

at edu.cmu.cs.stage3.scheduler.AbstractScheduler.run( AbstractScheduler.java:45)

at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:209)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:641)

at java.awt.EventQueue.access$000(EventQueue.java:84)

at java.awt.EventQueue$1.run(EventQueue.java:602)

at java.awt.EventQueue$1.run(EventQueue.java:600)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)

at java.awt.EventQueue.dispatchEvent(EventQueue.java: 611)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:178)

at java.awt.Dialog$1.run(Dialog.java:1046)

at java.awt.Dialog$3.run(Dialog.java:1098)

at java.security.AccessController.doPrivileged(Native Method)

at java.awt.Dialog.show(Dialog.java:1096)

at java.awt.Component.show(Component.java:1584)

at java.awt.Component.setVisible(Component.java:1536)

at java.awt.Window.setVisible(Window.java:842)

at java.awt.Dialog.setVisible(Dialog.java:986)

at edu.cmu.cs.stage3.swing.DialogManager.showModalDia log(DialogManager.java:66)

at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:136)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5587)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$16.a ctionPerformed(Actions.java:181)

at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1995)

at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2318)

at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:387)

at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:242)

at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:236)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEven tMulticaster.java:272)

at java.awt.Component.processMouseEvent(Component.jav a:6288)

at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)

at java.awt.Component.processEvent(Component.java:605 3)

at java.awt.Container.processEvent(Container.java:204 1)

at java.awt.Component.dispatchEventImpl(Component.jav a:4651)

at java.awt.Container.dispatchEventImpl(Container.jav a:2099)

at java.awt.Component.dispatchEvent(Component.java:44 81)

at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4577)

at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4238)

at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4168)

at java.awt.Container.dispatchEventImpl(Container.jav a:2085)

at java.awt.Window.dispatchEventImpl(Window.java:2478 )

at java.awt.Component.dispatchEvent(Component.java:44 81)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:643)

at java.awt.EventQueue.access$000(EventQueue.java:84)

at java.awt.EventQueue$1.run(EventQueue.java:602)

at java.awt.EventQueue$1.run(EventQueue.java:600)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)

at java.awt.EventQueue$2.run(EventQueue.java:616)

at java.awt.EventQueue$2.run(EventQueue.java:614)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)

at java.awt.EventQueue.dispatchEvent(EventQueue.java: 613)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default 07-25-2016, 01:06 AM

Looking at the top line, which is usually the actual cause of the error:

edu.cmu.cs.stage3.alice.core.IllegalPropertyValueE xception: edu.cmu.cs.stage3.alice.core.question.list.ItemAtI ndex[world.keepScore.__Unnamed0__.__Unnamed2__.__Unname d0__] does not have property named color

It looks like the world has a list named keepScore and at some point the program is trying to read or write to the property "color" which does not exist.

I would save a copy of the movie before you try to find and fix the error as sometimes the movie quits working entirely.

Mark


Mark Henwood
mhenwood@ieee.org
   
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 ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.