Alice Community
>
Alice 2
>
Suggestion Box
Bug when explode a fighter plane
User Name
Remember Me?
Password
Thread Tools
Display Modes
Bug when explode a fighter plane
#
1
(permalink)
petros
Guest
Status:
Posts: n/a
Bug when explode a fighter plane -
07-01-2009, 04:27 AM
When i go to explode a fighter plane in an alice world ihave this bug.
Error during simulation.
Alice version: 2.2 6/10/2009
Throwable that caused the error:
java.lang.NullPointerException
at edu.cmu.cs.stage3.alice.core.question.SubjectObjec tQuestion.getValue(SubjectObjectQuestion.java:46)
at edu.cmu.cs.stage3.alice.core.question.SubjectQuest ion.getValue(SubjectQuestion.java:35)
at edu.cmu.cs.stage3.alice.core.Property.evaluateIfNe cessary(Property.java:379)
at edu.cmu.cs.stage3.alice.core.Property.getValue(Pro perty.java:406)
at edu.cmu.cs.stage3.alice.core.property.NumberProper ty.getNumberValue(NumberProperty.java:33)
at edu.cmu.cs.stage3.alice.core.property.NumberProper ty.doubleValue(NumberProperty.java:36)
at edu.cmu.cs.stage3.alice.core.property.NumberProper ty.doubleValue(NumberProperty.java:44)
at edu.cmu.cs.stage3.alice.core.response.MoveAnimatio n$RuntimeMoveAnimation.getVector(MoveAnimation.jav a:42)
at edu.cmu.cs.stage3.alice.core.response.MoveAnimatio n$RuntimeMoveAnimation.prologue(MoveAnimation.java :59)
at edu.cmu.cs.stage3.alice.core.response.DoTogether$R untimeDoTogether.prologue(DoTogether.java:53)
at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.childPrologueIfNecessary(DoInOrder. java:52)
at edu.cmu.cs.stage3.alice.core.response.DoInOrder$Ru ntimeDoInOrder.update(DoInOrder.java:97)
at edu.cmu.cs.stage3.alice.core.response.CallToUserDe finedResponse$RuntimeCallToUserDefinedResponse.upd ate(CallToUserDefinedResponse.java:86)
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:226)
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:444)
at edu.cmu.cs.stage3.alice.core.World.schedule(World. java:486)
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:702)
at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.simulateOnce(DefaultScheduler.java:115)
at edu.cmu.cs.stage3.alice.authoringtool.util.Default Scheduler.run(DefaultScheduler.java:76)
at edu.cmu.cs.stage3.scheduler.AbstractScheduler.run( AbstractScheduler.java:45)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at edu.cmu.cs.stage3.swing.DialogManager.showModalDia log(DialogManager.java:60)
at edu.cmu.cs.stage3.swing.DialogManager.showDialog(D ialogManager.java:128)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.play(AuthoringTool.java:5159)
at edu.cmu.cs.stage3.alice.authoringtool.Actions$15.a ctionPerformed(Actions.java:168)
at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)
at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
petros
#
2
(permalink)
arevira
Guest
Status:
Posts: n/a
07-01-2009, 02:05 PM
Quote:
Originally Posted by
petros
java.lang.NullPointerException
On the face of it, it could be a method expecting an object argument that currently is set to None, but it is kind of hard to tell with that error message.
Can you upload the file to take a look at it?
arevira
#
3
(permalink)
petros
Guest
Status:
Posts: n/a
07-01-2009, 02:21 PM
This is the file.
petros
#
4
(permalink)
DrJim
Guest
Status:
Posts: n/a
07-01-2009, 08:14 PM
Quote:
Originally Posted by
petros
This is the file.
It wasn't attached.
DrJim
#
5
(permalink)
petros
Guest
Status:
Posts: n/a
07-01-2009, 11:28 PM
Sorry
Attached Files
airplane explosion.a2w
(835.9 KB, 3 views)
petros
#
6
(permalink)
shaydon
Senior Member
Status:
Offline
Posts: 445
Join Date: Dec 2009
Location: Caspian Border
12-10-2009, 02:33 PM
you have to edit it where it says distance above<none>
you have to change it to the ground
shaydon
View Public Profile
Send a private message to shaydon
Find all posts by shaydon
Tags
bug.explode
,
fighter
,
plane
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Announcements
Community News and Announcements
Alice 3
How Do I?
Works In Progress
Share Your World
Share Custom Classes
Bugs and Trouble Shooting
Suggestion Box
Alice 2
How do I...?
Works-In-Progress
Share Worlds
Share Objects
Bugs and Troubleshooting
Suggestion Box
Educators
Teaching with Alice
Teaching Using Alice 3
Teaching Using Alice 2
CS Principles and Alice
AP CSA and Intro to Java and Alice
Workshops
Alice Player and VR
General Discussion
Questions and Comments
The Lounge
Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.
Contact Us
-
Alice.org
-
Archive
-
Top