From: Nick C. <nic...@ve...> - 2010-11-29 14:09:46
|
What OS are you running on? The error below indicates that you are missing the class javax.media.jai.Range. Nick On Nov 27, 2010, at 6:28 AM, Luís de Sousa wrote: > Dear all, > > I'm trying to follow the Basic GIS Agent Example, but bumping into > some difficulties to run the model. Point 8 of the "Launch the Runtime > and Edit the Scenario" cannot be made because the Edit button in the > referenced dialogue doesn't produce any action. Then, in the "Results" > section when clicking the initialize button, nothing happens and the > exception produced below is thrown by Eclipse. > > I would expect a GIS tutorial to instruct on how to import/export > datasets from/to a GIS, e.g. using shapefiles of raster files as > projections in the model. As it is, this example is not very useful. > > Thank you, > > Luís > > ------- > > log4j:WARN No appenders could be found for logger > (MessageCenter.INTERNAL.repast.simphony.visualization.gui.GISStylePanel). > log4j:WARN Please initialize the log4j system properly. > Nov 27, 2010 9:09:45 AM > org.geotools.referencing.factory.epsg.HSQLDataSource getConnection > INFO: Creating cached EPSG database. It may take a few minutes. > Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: > javax/media/jai/util/Range > at repast.simphony.gis.display.PGisLayer.<init>(PGisLayer.java:105) > at repast.simphony.gis.display.PGISCanvas.addMapLayer(PGISCanvas.java:234) > at repast.simphony.gis.display.PGISCanvas.addMapLayer(PGISCanvas.java:230) > at repast.simphony.gis.display.PGISCanvas.init(PGISCanvas.java:215) > at repast.simphony.gis.display.PGISCanvas.<init>(PGISCanvas.java:93) > at repast.simphony.gis.display.PiccoloMapPanel.init(PiccoloMapPanel.java:52) > at repast.simphony.gis.display.PiccoloMapPanel.<init>(PiccoloMapPanel.java:48) > at repast.simphony.visualization.gis.DisplayGIS.createPanel(DisplayGIS.java:540) > at repast.simphony.visualization.gis.DisplayGIS.getPanel(DisplayGIS.java:484) > at repast.simphony.engine.environment.DefaultGUIRegistry.addDisplay(DefaultGUIRegistry.java:124) > at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:92) > at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171) > at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1) > at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287) > at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290) > at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290) > at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283) > at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169) > at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324) > at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134) > at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) > at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) > at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) > at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) > at java.awt.Component.processMouseEvent(Component.java:6267) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) > at java.awt.Component.processEvent(Component.java:6032) > at java.awt.Container.processEvent(Container.java:2041) > at java.awt.Component.dispatchEventImpl(Component.java:4630) > at java.awt.Container.dispatchEventImpl(Container.java:2099) > at java.awt.Component.dispatchEvent(Component.java:4460) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) > at java.awt.Container.dispatchEventImpl(Container.java:2085) > at java.awt.Window.dispatchEventImpl(Window.java:2478) > at java.awt.Component.dispatchEvent(Component.java:4460) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) > Caused by: java.lang.ClassNotFoundException: javax.media.jai.util.Range > at org.java.plugin.standard.StandardPluginClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > ... 47 more > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > Repast-interest mailing list > Rep...@li... > https://lists.sourceforge.net/lists/listinfo/repast-interest |