Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stem-dev] STEM CALL TODAY: Error Log for my Items for Participants section

Hi,


For those on the STEM call today, I just wanted to send some error logs that I would like to discuss during my items for participants section, as it is much easier if you can see these in front of you during the call.


Looking forward to talking soon.


Best wishes,


Emily 


I have a scenario which runs on my PC, but will not run on a supercomputer. I am testing this scenario on the supercomputer because it is similar to another scenario that I need to run on there (that is too big to run on my PC). 


I need to have an external data source to initialise the data in both scenarios and I need to ultimately be running them headless and not on the GUI of the supercomputer. I could only get the test scenario with an infector that doesn't use an external data source to work and only on the GUI, not when running headless. 


When running the test scenario headless on a supercomputer (that works when run on the STEM GUI on the supercomputer) I get this error:


!ENTRY org.eclipse.stem.core 4 0 2018-12-06 16:34:20.924 !MESSAGE decorateGraph() not implemented in "null" of type "org.eclipse.stem.core.model.impl.NodeDecoratorImpl" Error creating simulation for URI platform:/resource/GBJune2018/scenarios/FrenchcomparisonDiseaseInitialzer.scenario java.lang.UnsupportedOperationException at org.eclipse.stem.core.model.impl.DecoratorImpl.decorateGraph(DecoratorImpl.java:276) at org.eclipse.stem.core.model.impl.ModelImpl.invokeNodeDecorators(ModelImpl.java:483) at org.eclipse.stem.core.model.impl.ModelImpl.getCanonicalGraph(ModelImpl.java:234) at org.eclipse.stem.core.model.impl.ModelImpl.getCanonicalGraph(ModelImpl.java:212) at org.eclipse.stem.core.scenario.impl.ScenarioImpl.initialize(ScenarioImpl.java:560) at org.eclipse.stem.jobs.simulation.SimulationManager.createSimulation(SimulationManager.java:326) at org.eclipse.stem.ui.headless.HeadlessSimulationRunner.runScenarios(HeadlessSimulationRunner.java:175) at org.eclipse.stem.ui.headless.HeadlessSimulationRunner.run(HeadlessSimulationRunner.java:90) at org.eclipse.stem.ui.headless.HeadlessLauncher.launch(HeadlessLauncher.java:107) at org.eclipse.stem.core.common.presentation.CoreEditorAdvisor$Application.start(CoreEditorAdvisor.java:409) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438)


On the STEM GUI on the supercomputer (which is using STEM version Milestone 3.0.0M5) I can't seem to get infectors to work when they initialise from an external file:


java.lang.ClassCastException: org.eclipse.emf.ecore.util.BasicInternalEList cannot be cast to org.eclipse.emf.ecore.EStructuralFeature$Setting at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSetting(BasicEObjectImpl.java:1596) at org.eclipse.emf.ecore.util.EcoreUtil$Copier.getTarget(EcoreUtil.java:562) at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyContainment(EcoreUtil.java:587) at org.eclipse.emf.ecore.util.EcoreUtil$Copier.copy(EcoreUtil.java:490) at org.eclipse.emf.ecore.util.EcoreUtil.copy(EcoreUtil.java:357) at org.eclipse.stem.core.scenario.impl.ScenarioImpl.initialize(ScenarioImpl.java:622) at org.eclipse.stem.jobs.simulation.SimulationManager.createSimulation(SimulationManager.java:326) at org.eclipse.stem.jobs.simulation.SimulationManager$2.run(SimulationManager.java:393) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



I can't seem to get external disease initializers to work either on the STEM GUI on the supercomputer:


java.lang.NullPointerException at org.eclipse.stem.diseasemodels.standard.impl.ExternalDataSourceDiseaseInitializerImpl.getCompartmentValues(ExternalDataSourceDiseaseInitializerImpl.java:439) at org.eclipse.stem.diseasemodels.standard.impl.ExternalDataSourceDiseaseInitializerImpl.decorateGraph(ExternalDataSourceDiseaseInitializerImpl.java:323) at org.eclipse.stem.core.scenario.impl.ScenarioImpl.initialize(ScenarioImpl.java:633) at org.eclipse.stem.jobs.simulation.SimulationManager.createSimulation(SimulationManager.java:326) at org.eclipse.stem.jobs.simulation.SimulationManager$2.run(SimulationManager.java:393) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)












Emily Nixon
PhD Student

Demonstrator


School of Biological Sciences
University of Bristol
Bristol Life Sciences Building
24 Tyndall Avenue
Bristol
BS8 1TQ
Tel +44 (0)117 394 1389

Back to the top