MASON-INTEREST-L Archives

February 2011

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Mon, 21 Feb 2011 22:46:56 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (78 lines)
I can only help you half-way.  When the Console is set up, one of the  
things it does is load all the class names found in the file sim/ 
display/simulation.classes.  This is where it gets the list of classes  
to display when you fire up "New simulation...".  That's why it's  
trying to load Crowd3DWithUI and PSO3DWithUI.  It looks like the  
InvocationTargetException is being caused by compiler errors in these  
classes.

Some possible hints:

- Definitely never saw this before.  Consulting the Google suggests  
that "unresolved compilation problem" is something that occurs a lot  
when using Eclipse.

- Both of these classes are MASON 3D simulations, relying on Java3D.   
Is this installed properly?

- You can edit the simulation.classes file -- it's just a text file.   
Try deleting the lines with 3D simulation classes maybe (or just back  
it up and delete ALL lines)

Sean


On Feb 21, 2011, at 10:14 PM, Daniel Quach wrote:

> Hi, after doing tutorials 1 through 3, I notice I get the following  
> error every
> time I execute
> java sim.app.tutorial1and2.tutorial2
>
> The error is detailed below, not sure what to make of it.
> ---
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
> 7)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at sim.display.GUIState.getName(GUIState.java:118)
> 	at sim.display.Console.buildClassList(Console.java:1743)
> 	at sim.display.Console.<init>(Console.java:935)
> 	at sim.display.GUIState.createController(GUIState.java:138)
> 	at sim.app.tutorial3.Tutorial3WithUI.main(Tutorial3WithUI.java:22)
> Caused by: java.lang.Error: Unresolved compilation problem:
>
> 	at sim.app.crowd3d.Crowd3DWithUI.getName(Crowd3DWithUI.java:43)
> 	... 9 more
> java.lang.reflect.InvocationTargetException
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun 
> .reflect 
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
> 7)
> 	at
> sun 
> .reflect 
> .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at sim.display.GUIState.getName(GUIState.java:118)
> 	at sim.display.Console.buildClassList(Console.java:1743)
> 	at sim.display.Console.<init>(Console.java:935)
> 	at sim.display.GUIState.createController(GUIState.java:138)
> 	at sim.app.tutorial3.Tutorial3WithUI.main(Tutorial3WithUI.java:22)
> Caused by: java.lang.Error: Unresolved compilation problem:
>
> 	at sim.app.pso3d.PSO3DWithUI.getName(PSO3DWithUI.java:36)
> 	... 9 more

ATOM RSS1 RSS2