bptlab / scylla

Extensible BPMN process simulator
MIT License
19 stars 9 forks source link

Running Mooc Example from Console throws Error in XESLogger #71

Closed LeonBein closed 2 weeks ago

LeonBein commented 5 months ago

When downloading and extracting the scylla.jar, and running the Mooc example (regular event configuration), the following error occurs:

Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.util.Map.keySet()" because "nodeInfos" is null
        at de.hpi.bpt.scylla.plugin.xeslogger.XESLogger.writeToLog(XESLogger.java:95)
        at de.hpi.bpt.scylla.plugin_type.logger.OutputLoggerPluggable.runPlugins(OutputLoggerPluggable.java:39)
        at de.hpi.bpt.scylla.SimulationManager.run(SimulationManager.java:186)
        at de.hpi.bpt.scylla.Scylla.main(Scylla.java:77)
LeonBein commented 5 months ago

This error appears to not occur when running from IDE ...

LeonBein commented 2 weeks ago

Found error: --enable-bps-logging must be set for XES logging to properly work - is disabled by default but XESLogger is enabled by default

LeonBein commented 2 weeks ago

Consider this for #73 , remove BPS flag in favor of proper plugin configuration