[e-lang] Help with E exception in Walnut Tutorial Code
Jimmy Wylie Jr.
jwylie at uno.edu
Fri Mar 28 23:09:27 EDT 2008
Hi all,
I just started using E, and decided to run through Mark Stiegler's tutorial.
I copied the first set of code for the racetrack game under "Ordinary
Computing", and ran it. The 4 GUI windows show up with the buttons, and
racetrack. I click the up button on the first car's control panel, and then
click submit. I do the same for the other 2, but after I click submit in
the third window, the racetrack updates, and then I get the following
exception (By the way, I tried clicking them in different orders, no matter
what it always errors after the third submit):
C:\Erights>java -jar e.jar --rune ework/racetrack1.e-awt
accelerating car 1
racetrack reacting to accel
accelerating car 2
racetrack reacting to accel
accelerating car 3
racetrack reacting to accel
into move
got newlocation
assigned location
got crash finish
out of move
into move
got newlocation
assigned location
got crash finish
out of move
into move
got newlocation
assigned location
got crash finish
out of move
into prepare for next turn
Exception in thread "AWT-EventQueue-0"
org.erights.e.develop.exception.NestedExc
eption: . <listener>.actionPerformed(java.awt.event.ActionEvent
[ACTION_PERFORMED
,cmd=Submit,when=1206759686640,...Icon=,rolloverSelectedIcon=,selectedIcon=,text
=Submit,defaultCapable=true])
at org.erights.e.elib.prim.E.backtrace(E.java:256)
at org.erights.e.elib.debug.CallCounter.bumpBadCount(
CallCounter.java:106)
at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:139)
at org.erights.e.elib.prim.E.callAll(E.java:164)
at org.erights.e.elib.vat.Vat.callAll(Vat.java:498)
at org.erights.e.elib.deflect.Deflector.invoke(Deflector.java:211)
at $Proxy7.actionPerformed(Unknown Source)
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.plaf.basic.BasicButtonListener.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(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.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Does anyone have any suggestions? Any help would be greatly appreciated.
Thanks,
Jimmy Wylie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/e-lang/attachments/20080328/470650da/attachment.html
More information about the e-lang
mailing list