To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

unable to run Trace Discovery Expriment.dup plugin with java.lang.NullPointerException

Hello,

I am trying to use Trace Discovery Expriment. dup plugin (the plugin author is X.lu, package is TraceMatching)by ProM  with UITopia (TraceMatching).launch in eclipse. My ProM version is 6.8,jdk is 1.8,OS is win10.

However,the ProM show the wrong is "Exception happend: java.lang.NullPointerException". And the eclipse console show the wrong.

picture 1: after importing log, choose the Trace Discovery Experiment. dup plugin


picture 2:  ProM show the wrong information


eclipse console show the information:
start plug-in Open XES Log File (XESLite - Sequential XIDs)
End plug-in Open XES Log File (XESLite - Sequential XIDs), took 167 milliseconds
[ActionsBrowser] setFocus
Start plug-in Trace Discovery Expriment
-------- The following exception was logged by the framework: 
         The exception was probalby handled properly. 
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at org.processmining.framework.plugin.ProMFuture.get(ProMFuture.java:119)
at org.processmining.framework.plugin.impl.AbstractPluginDescriptor$1.done(AbstractPluginDescriptor.java:192)
at org.processmining.framework.plugin.ProMFuture$1.done(ProMFuture.java:66)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.processmining.xlu.relabel.experiment.ExpRelabelingParam.getDuplicationMap(ExpRelabelingParam.java:183)
at org.processmining.xlu.matching.zexperiment.EGLogDiscoveryTestPluginImpl.testDup(EGLogDiscoveryTestPluginImpl.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.processmining.framework.plugin.impl.PluginDescriptorImpl.execute(PluginDescriptorImpl.java:331)
at org.processmining.framework.plugin.impl.AbstractPluginDescriptor$1.doInBackground(AbstractPluginDescriptor.java:154)
at org.processmining.framework.plugin.ProMFuture$1.doInBackground(ProMFuture.java:56)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I am also trying to directly use the Trace Discovery Expriment. dup plugin by ProM 6.8 instead of using eclipse. The plugin didn't show any wrong information, but it keeps showing that the task is running,and it has not entered the plugin interface for a few hours, so this plugin is not available.


I appreciate your feedback,
Regards,
Duan


Comments

  • Hi Duan, 

    Thanks for reporting, I fixed the bug and have committed the code. You can download the updated TraceMatching package. It should be available in the ProMNightlyBuilt (Not ProM 6.8).

    However, this plugin is for experiments/prototyping, not intended for end-users. I will make them hidden from the users for the next ProM release. 

    Best regards, 

    Xixi. 
Sign In or Register to comment.