Newbie problem: running tutorial

View: New views
1 Messages — Rating Filter:   Alert me  

Newbie problem: running tutorial

by Freya Harrison :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I've just started exploring Repast Simphony and have hit a problem
early on - please can anyone help? I have completed the first tutorial
on the website (gas network) but when I try to run the model using the
"step simulation" button as instructed, things go awry.  On the first
click of the button, the tick counter changes to -1.0.  The
initialise, run, step and stop button then get greyed out and I can't
go any further.  The console output is pasted below, if this helps.
I'm using Mac OS 10.5.1

Eclipse seems a little unstable on my machine - I've had to force quit
twice as it was unresponsive.  I don't know if both problems could
stem from the same issue...?

Thanks in advance for any advice,
Freya

--
Dr Freya Harrison
Department of Zoology
University of Oxford OX1 3PS
Tel. +44 (0) 1865 281189

https://sessrumnir.wikidot.com

--
Console log:

console output:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
      at repast.simphony.context.SmallDefaultContext.addInternal(SmallDefaultContext.java:63)
      at repast.simphony.context.DefaultContext.addInternal(DefaultContext.java:36)
      at repast.simphony.context.AbstractContext.add(AbstractContext.java:100)
      at repast.simphony.visualization.DefaultDisplayData$1.add(DefaultDisplayData.java:26)
      at repast.simphony.visualization.editor.DisplayEditor2D.addAgentAt(DisplayEditor2D.java:256)
      at repast.simphony.visualization.editor.GridAddHandler.mouseClicked(GridAddHandler.java:83)
      at edu.umd.cs.piccolo.event.PBasicInputEventHandler.processEvent(Unknown
Source)
      at edu.umd.cs.piccolo.util.PPickPath.processEvent(Unknown Source)
      at edu.umd.cs.piccolo.PInputManager.dispatchEventToListener(Unknown
Source)
      at edu.umd.cs.piccolo.PInputManager.mouseClicked(Unknown Source)
      at edu.umd.cs.piccolo.event.PBasicInputEventHandler.processEvent(Unknown
Source)
      at edu.umd.cs.piccolo.PInputManager.processInput(Unknown Source)
      at edu.umd.cs.piccolo.PRoot.processInputs(Unknown Source)
      at edu.umd.cs.piccolo.PInputManager.processEventFromCamera(Unknown
Source)
      at edu.umd.cs.piccolo.PCanvas.sendInputEventToInputManager(Unknown
Source)
      at edu.umd.cs.piccolo.PCanvas$1.mouseClicked(Unknown Source)
      at java.awt.Component.processMouseEvent(Component.java:5605)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      at java.awt.Component.processEvent(Component.java:5367)
      at java.awt.Container.processEvent(Container.java:2010)
      at java.awt.Component.dispatchEventImpl(Component.java:4068)
      at java.awt.Container.dispatchEventImpl(Container.java:2068)
      at java.awt.Component.dispatchEvent(Component.java:3903)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
      at java.awt.Container.dispatchEventImpl(Container.java:2054)
      at java.awt.Window.dispatchEventImpl(Window.java:1791)
      at java.awt.Component.dispatchEvent(Component.java:3903)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest