Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Interesting error.
Senior Member
legolizard's Avatar
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default Interesting error. - 07-19-2011, 10:08 AM

Okay so I am making a game, and one of the events I'm using is the "When mouse is clicked on something do something" event. I am also using the "object under mouse cursor" function as a parameter for the method that I am running. However the event does not always respond, personnified it sometimes says "Sure whatever you like," while other times it says, "No no method for you!" But really I have no clue as to why this is happening and thus have no idea as to how to fix it. Now one thing I tried was to delete the event entirely and add a fresh one and to then replace the method. However, when I try to insert the "object under mouse cursor" as a parameter I get an error that makes no sense. This is the error:

Error encountered while responding to popup menu item.

Alice version: 2.2  02/10/2011

Throwable that caused the error:
	at java.util.Hashtable.get(Unknown Source)
	at edu.cmu.cs.stage3.alice.core.RenderTarget.pick(
	at edu.cmu.cs.stage3.alice.core.question.PickQuestion.getValue(
	at edu.cmu.cs.stage3.alice.core.Property.evaluateIfNecessary(
	at edu.cmu.cs.stage3.alice.core.Property.getValue(
	at edu.cmu.cs.stage3.alice.core.Variable.getValue(
	at edu.cmu.cs.stage3.alice.authoringtool.util.ChildChangeUndoableRedoable.getLogString(
	at edu.cmu.cs.stage3.alice.authoringtool.util.ChangeLogger.pushUndoableRedoable(
	at edu.cmu.cs.stage3.alice.authoringtool.MainUndoRedoStack.push(
	at edu.cmu.cs.stage3.alice.authoringtool.MainUndoRedoStack.childrenChanged(
	at edu.cmu.cs.stage3.alice.core.Element.onChildrenChange(
	at edu.cmu.cs.stage3.alice.core.Element.insertChildAt(
	at edu.cmu.cs.stage3.alice.core.Element.addChild(
	at edu.cmu.cs.stage3.alice.authoringtool.viewcontroller.PropertyViewController$9$
	at edu.cmu.cs.stage3.alice.authoringtool.util.PopupMenuItemActionListener.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(Unknown 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.AbstractButton.doClick(Unknown Source)
	at edu.cmu.cs.stage3.alice.authoringtool.util.AliceMenuItemUI$MouseInputHandler.mouseReleased(
	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(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown 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.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at Source)
The main reason as to why this makes little sense is because I rarely even use the undo/redo buttons, on occasion I do but not habitually. Any help would be greatly appreciated.

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein

Last edited by legolizard; 07-19-2011 at 10:18 AM.
Reply With Quote

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