|
From: Jonathan O. <xi...@gm...> - 2011-03-30 18:22:34
|
Hi Sergio, In that case, it's possibly because you have some classes defined in the default package (empty package name). Moving those files to named packages should fix this. This is another bug that is fixed in the next release. Jonathan On Mar 30, 2011, at 1:13 PM, Sergio wrote: > Hello > > > My workspace is > > /home/checo/dev/ > > And the path to eclipse is > > /home/checo/bin/eclipse/ > > > > On Wed, Mar 30, 2011 at 8:15 AM, Jonathan Ozik <xi...@gm...> wrote: > Hi, > > This looks like a bug in the 2.0 beta release, where it doesn't handle spaces in the workspace path properly. Can you verify that your workspace path contains spaces and, if so, can you move the workspace to a path without spaces. This is already fixed in the current development version and will be included in the next release. > > Jonathan > > On Mar 29, 2011, at 8:00 PM, Sergio wrote: > >> Hi, >> >> When running ReLogo through eclipse I'm getting the nex error: >> >> Scenario Log Error: Error when loading scenario. See error log for details >> >> and the Error log, as you told me to, throws this (the complete list is in the attached file) >> >> eclipse.buildId=M20100909-0800 >> java.version=1.6.0_24 >> java.vendor=Sun Microsystems Inc. >> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_MX >> Command-line arguments: -os linux -ws gtk -arch x86_64 >> >> >> Error >> Tue Mar 29 18:54:18 CST 2011 >> Groovy bug when compiling. >> >> BUG! exception in phase 'semantic analysis' in source unit '/zombies/src/zombies/relogo/UserPatch.groovy' Cannot invoke method tokenize() on null object >> at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:952) >> >> .... the rest in the attached file... >> >> >> >> Thanks for the help >> >> 2011/3/28 Jonathan Ozik <xi...@gm...> >> Hi Sergio, >> >> Could you check your Error Log for me? This is a view that shows plugin errors (as opposed to the console errors you might see). Under Mac OS X it's under Window -> Show View -> Other. >> >> Jonathan >> >> On Mar 28, 2011, at 12:19 PM, Sergio Hernández wrote: >> >>> Hi everyone, >>> >>> I'm trying to reproduce the Zombies tutorial on ReLogo as is says in the site but in two machines I keep getting the message that you can see below. As far as I remember the installation went well. >>> >>> An important thing, I guess, is that there are some methods that still appear underscored in eclipse, such as: zombiesOn, hatchZombies, humansOn, humansHere, human.infected (only the variable infected is underscored), createHumans, setxy... that, if I understood this correctly they are some primitives of ReLogo. >>> >>> What is going on? Is there a way to diagnose if my installation was correctly done? I'm running Repast on a Linux (ubuntu) with Eclipse 3.6.1 >>> >>> Thanks for the attention >>> >>> >>> Cheers, >>> >>> ERROR [AWT-EventQueue-0] 2011-03-23 19:47:00,367 repast.simphony.dataLoader.engine.CNDataLoaderActionLoader - On load, unable to create ContextCreator class for 'zombies.context.SimBuilder' >>> java.lang.ClassNotFoundException: zombies.context.SimBuilder >>> at org.java.plugin.standard.StandardPluginClassLoader.loadClass(Unknown Source) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Class.java:169) >>> at repast.simphony.dataLoader.engine.ClassNameContextBuilder.<init>(ClassNameContextBuilder.java:20) >>> at repast.simphony.dataLoader.engine.ClassNameDataLoaderAction.<init>(ClassNameDataLoaderAction.java:23) >>> at repast.simphony.dataLoader.engine.CNDataLoaderActionLoader.performLoad(CNDataLoaderActionLoader.java:35) >>> at repast.simphony.scenario.AbstractActionLoader.loadAction(AbstractActionLoader.java:35) >>> at repast.simphony.scenario.ScenarioFileLoader.createActions(ScenarioFileLoader.java:90) >>> at repast.simphony.scenario.ScenarioFileLoader.load(ScenarioFileLoader.java:66) >>> at repast.simphony.scenario.ScenarioLoader.load(ScenarioLoader.java:192) >>> at repast.simphony.ui.RSApplication.open(RSApplication.java:361) >>> at repast.simphony.ui.RSAppConfigurator.postWindowOpen(RSAppConfigurator.java:39) >>> at saf.core.ui.GUICreatorDelegate.runDisplay(GUICreatorDelegate.java:188) >>> at saf.core.ui.GUICreator$1.run(GUICreator.java:18) >>> at simphony.util.ThreadUtilities$Runner.run(ThreadUtilities.java:33) >>> at simphony.util.ThreadUtilities.runInEventThread(ThreadUtilities.java:47) >>> at saf.core.ui.GUICreator.runDisplay(GUICreator.java:16) >>> at repast.simphony.ui.RSUIPlugin$1.run(RSUIPlugin.java:92) >>> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) >>> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) >>> at java.awt.EventQueue.access$000(EventQueue.java:85) >>> at java.awt.EventQueue$1.run(EventQueue.java:603) >>> at java.awt.EventQueue$1.run(EventQueue.java:601) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) >>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) >>> 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) >>> ERROR [AWT-EventQueue-0] 2011-03-23 19:47:00,391 repast.simphony.ui.RSApplication - Scenario Load Error >>> repast.simphony.scenario.ScenarioLoadException: java.lang.ClassNotFoundException: zombies.context.SimBuilder >>> at repast.simphony.scenario.ScenarioLoader.load(ScenarioLoader.java:219) >>> at repast.simphony.ui.RSApplication.open(RSApplication.java:361) >>> at repast.simphony.ui.RSAppConfigurator.postWindowOpen(RSAppConfigurator.java:39) >>> at saf.core.ui.GUICreatorDelegate.runDisplay(GUICreatorDelegate.java:188) >>> at saf.core.ui.GUICreator$1.run(GUICreator.java:18) >>> at simphony.util.ThreadUtilities$Runner.run(ThreadUtilities.java:33) >>> at simphony.util.ThreadUtilities.runInEventThread(ThreadUtilities.java:47) >>> at saf.core.ui.GUICreator.runDisplay(GUICreator.java:16) >>> at repast.simphony.ui.RSUIPlugin$1.run(RSUIPlugin.java:92) >>> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) >>> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) >>> at java.awt.EventQueue.access$000(EventQueue.java:85) >>> at java.awt.EventQueue$1.run(EventQueue.java:603) >>> at java.awt.EventQueue$1.run(EventQueue.java:601) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) >>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) >>> 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.RuntimeException: java.lang.ClassNotFoundException: zombies.context.SimBuilder >>> at simphony.util.error.ErrorCenter.fireErrorEvent(ErrorCenter.java:78) >>> at simphony.util.error.ErrorCenter.error(ErrorCenter.java:44) >>> at repast.simphony.dataLoader.engine.CNDataLoaderActionLoader.performLoad(CNDataLoaderActionLoader.java:40) >>> at repast.simphony.scenario.AbstractActionLoader.loadAction(AbstractActionLoader.java:35) >>> at repast.simphony.scenario.ScenarioFileLoader.createActions(ScenarioFileLoader.java:90) >>> at repast.simphony.scenario.ScenarioFileLoader.load(ScenarioFileLoader.java:66) >>> at repast.simphony.scenario.ScenarioLoader.load(ScenarioLoader.java:192) >>> ... 22 more >>> Caused by: java.lang.ClassNotFoundException: zombies.context.SimBuilder >>> at org.java.plugin.standard.StandardPluginClassLoader.loadClass(Unknown Source) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Class.java:169) >>> at repast.simphony.dataLoader.engine.ClassNameContextBuilder.<init>(ClassNameContextBuilder.java:20) >>> at repast.simphony.dataLoader.engine.ClassNameDataLoaderAction.<init>(ClassNameDataLoaderAction.java:23) >>> at repast.simphony.dataLoader.engine.CNDataLoaderActionLoader.performLoad(CNDataLoaderActionLoader.java:35) >>> ... 26 more >>> >>> -- >>> Sergio >>> cel:(55) 3934 6187 >>> >>> ------------------------------------------------------------------------------ >>> Create and publish websites with WebMatrix >>> Use the most popular FREE web apps or write code yourself; >>> WebMatrix provides all the features you need to develop and publish >>> your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> _______________________________________________ >>> Repast-interest mailing list >>> Rep...@li... >>> https://lists.sourceforge.net/lists/listinfo/repast-interest >> >> >> >> >> -- >> Sergio Hernandez >> mobile:(+52 55) 3934 6187 >> >> <Groovy bug when compiling.txt> > > > > > -- > Sergio Hernandez > mobile:(+52 55) 3934 6187 > |