Open AdamBanham opened 3 weeks ago
Hi thanks for the clear bug report. It doesn't reproduce locally when built from source, which suggests some dependency getting lost in the build process.
FWIW NoClassDefFoundError
, when it occurs, often shows up in constructors, because that is one of the triggers for class loading. But usually it's not that constructor that has the problem, it's some other class going missing.
If you need an immediate workaround you could checkout the plugin locally.
Not in a rush, but some notice when the plugin would work in the nightly build would be nice.
No one but us (maybe sander and eric as well) is checking out local source mate, if it does not work from the package manager, you are going to miss citations.
Yeah well since I was speaking to someone in that elite group I thought I'd mention it
More informative stacktrace:
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at au.edu.qut.prom.helpers.StochasticPetriNetUtils.<clinit>(StochasticPetriNetUtils.java:28)
at au.edu.qut.pm.spn_estimator.MeanScaledActivityPairRHEstimator.edgePairWeights(MeanScaledActivityPairRHEstimator.java:39)
at au.edu.qut.pm.spn_estimator.MeanScaledActivityPairRHEstimator.estimateWeights(MeanScaledActivityPairRHEstimator.java:25)
at au.edu.qut.pm.spn_estimator.AbstractFrequencyEstimator.estimateWeights(AbstractFrequencyEstimator.java:76)
at org.processmining.stochasticweightestimation.plugins.SPDWeightEstimatorPlugin.mineSPNFromLogWithEstimator(SPDWeightEstimatorPlugin.java:113)
at org.processmining.stochasticweightestimation.plugins.SPDWeightEstimatorPlugin.mineSPNFromLogWithDefaults(SPDWeightEstimatorPlugin.java:70)
... 13 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 19 more
ie, the apache log4j classes are misisng.
After downloading the latest nightly build and installing the package, the plugin 'Mine stochastic Petri net with estimators' crashes out before starting any work or returning the GSPN.
Steps to reproduce:
Crash information from command line: