[e-lang] Help with E exception in Walnut Tutorial Code

Jimmy Wylie Jr. jwylie at uno.edu
Mon Mar 31 19:02:49 EDT 2008


Here's the output, and the trace log.
Thanks again for your help,
Jimmy

C:\Erights>java -jar e.jar --rune ework/racetrack1.e-awt

accelerating car 3

racetrack reacting to accel

accelerating car 2

racetrack reacting to accel

accelerating car 1

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

***-----------------------***

*** Trace data written to ***

'D:/Documents and Settings/jimmy.wylie/Local
Settings/Temp/etrace/etrace.2008-03

-31T22_53_25.609Z.txt'

***-----------------------***


*Stack Trace:*

**

=== 2008-03-31T22:53:54.656Z (PendingEvent.report:PendingEvent.java:107) WRN

causality: Problem in turn <<Vat evaling racetrack1.e-awt in
<AWTRunner>>,304>:

--vvvv--

<null>.prepareForNextTurn/0


@ prepareForNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::203:50::203:67>

- __main$makeCar$car#prepareForNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::203:12::203:29>

. <car>.prepareForNextTurn()

@ prepareForNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::359:22::359:39>

- __main$makeRaceTrack$raceTrack$_#run/2

. <_>(<car>, <car>)

- EMap#iterate(AssocFunc)

. [<car> => <car>, <car> => <car>, <car> => <car>].diverge().iterate(<_>)

@ iterate/1

- __main$makeRaceTrack$raceTrack#prepareForNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::355:12::355:29>

. <raceTrack>.prepareForNextTurn()

@ prepareForNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::353:31::353:48>

- __main$makeRaceTrack$raceTrack#completeNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::336:12::336:27>

. <raceTrack>.completeNextTurn()

@ completeNextTurn/0:
<c:/Erights/ework/racetrack1.e-awt#:span::333:27::333:42>

- __main$makeRaceTrack$raceTrack#reactToAccel/1:
<c:/Erights/ework/racetrack1.e-awt#:span::329:12::329:23>

. <raceTrack>.reactToAccel(<car>)

@ reactToAccel/1: <c:/Erights/ework/racetrack1.e-awt#:span::179:22::179:33>

- __main$makeCar$car$_#run/2

. <_>(<raceTrack>, <raceTrack>)

- EMap#iterate(AssocFunc)

. [<raceTrack> => <raceTrack>].diverge().iterate(<_>)

@ iterate/1

- __main$makeCar$car#accelerate/1:
<c:/Erights/ework/racetrack1.e-awt#:span::175:12::175:21>

. <car>.accelerate(<coord>)

@ accelerate/1: <c:/Erights/ework/racetrack1.e-awt#:span::96:17::96:26>

- __main$makeInstrumentPanel$instrumentPanel#submit/0:
<c:/Erights/ework/racetrack1.e-awt#:span::94:12::94:17>

. <instrumentPanel>.submit()

- static E4E#call(Object, String, Object[])

. <makeE4E>.call(<instrumentPanel>, "submit", [])

@ call/3: <c:/Erights/ework/racetrack1.e-awt#:span::15:19::15:22>

- Thrower#run(RuntimeException)

. throw(problem: <NoSuchMethodException: <null>.prepareForNextTurn/0>)


java.lang.NoSuchMethodException: <null>.prepareForNextTurn/0

at org.erights.e.elib.prim.VTable.shorten(VTable.java:197)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:94)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:98)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EscapeExpr.subEval(EscapeExpr.java:154)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:101)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

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 $Proxy2.run(Unknown Source)

at org.erights.e.elib.tables.FlexMapImpl.iterate(FlexMapImpl.java:247)

at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.erights.e.elib.prim.InstanceMethodNode.innerExecute(
InstanceMethodNode.java:111)

at org.erights.e.elib.prim.JavaMemberNode.execute(JavaMemberNode.java:190)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:98)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.FinallyExpr.subEval(FinallyExpr.java:108)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:98)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.IfExpr.subEval(IfExpr.java:112)

at org.erights.e.elang.evm.IfExpr.subEval(IfExpr.java:112)

at org.erights.e.elang.evm.IfExpr.subEval(IfExpr.java:112)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:98)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.IfExpr.subEval(IfExpr.java:108)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:83)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EscapeExpr.subEval(EscapeExpr.java:154)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:101)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

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 $Proxy2.run(Unknown Source)

at org.erights.e.elib.tables.FlexMapImpl.iterate(FlexMapImpl.java:247)

at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.erights.e.elib.prim.InstanceMethodNode.innerExecute(
InstanceMethodNode.java:111)

at org.erights.e.elib.prim.JavaMemberNode.execute(JavaMemberNode.java:190)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:83)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.FinallyExpr.subEval(FinallyExpr.java:108)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:83)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

at org.erights.e.elib.prim.E.callAll(E.java:164)

at org.erights.e.elang.interp.E4E.call(E4E.java:29)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.erights.e.elib.prim.StaticMethodNode.innerExecute(
StaticMethodNode.java:113)

at org.erights.e.elib.prim.JavaMemberNode.execute(JavaMemberNode.java:190)

at org.erights.e.elib.prim.Selector.callIt(Selector.java:83)

at org.erights.e.elang.evm.CallExpr.subEval(CallExpr.java:134)

at org.erights.e.elang.evm.CatchExpr.subEval(CatchExpr.java:123)

at org.erights.e.elang.evm.SeqExpr.subEval(SeqExpr.java:99)

at org.erights.e.elang.evm.EMethod.execute(EMethod.java:171)

at org.erights.e.elang.evm.EMethodNode.execute(EMethodNode.java:135)

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)


--^^^^--





On Sat, Mar 29, 2008 at 6:49 AM, Kevin Reid <kpreid at mac.com> wrote:

> On Mar 28, 2008, at 23:09, Jimmy Wylie Jr. wrote:
> > 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.  ... after I click submit
> > in the third window, the racetrack updates, and then I get the
> > following exception
> ...
> > Exception in thread "AWT-EventQueue-0"
> > org.erights.e.develop.exception.NestedException: .
> ...
> >
> > Does anyone have any suggestions? Any help would be greatly
> > appreciated.
>
> I've updated the code on the wiki to log an E stack trace. Please try
> it again and post the exception reported in the trace log.
>
> --
> Kevin Reid                            <http://homepage.mac.com/kpreid/>
>
>
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eros-os.org/pipermail/e-lang/attachments/20080331/1ff4d4ec/attachment-0001.html 


More information about the e-lang mailing list