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.
Is this a bug?
Hi,
I have some startup issues with the Workshop Plugin.
I get the following Exception:
I have some startup issues with the Workshop Plugin.
I get the following Exception:
Loading plugins from packages.I have not figured out how to reproduce the error...
>>> All dependencies have been resolved
Loading from: classpath
...
Scanning for plugins: file:/C:/Users/.../.p2/pool/plugins/org.hamcrest.core_1.3.0.v201303031735.jar
Plugins found in cache.
>>> Scanning for plugins took 1.093 seconds
Exception in thread "main" java.lang.reflect.InvocationTargetException
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.processmining.framework.boot.Boot.boot(Boot.java:327)
at org.processmining.framework.boot.Boot.boot(Boot.java:294)
at org.processmining.contexts.uitopia.UI.main(UI.java:65)
Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at org.processmining.framework.plugin.impl.PluginDescriptorImpl.getParameterNames(PluginDescriptorImpl.java:355)
at org.processmining.contexts.uitopia.model.ProMAction.<init>(ProMAction.java:97)
at org.processmining.contexts.uitopia.hub.ProMActionManager.addPlugin(ProMActionManager.java:44)
at org.processmining.contexts.uitopia.hub.ProMActionManager.<init>(ProMActionManager.java:34)
at org.processmining.contexts.uitopia.hub.ProMActionManager.initialize(ProMActionManager.java:55)
at org.processmining.contexts.uitopia.UIContext.initialize(UIContext.java:45)
at org.processmining.contexts.uitopia.UI.main(UI.java:35)
... 7 more
Comments
-
I found out that the Exception was triggered by a errornous @PluginVariant(...) definition.
The line was:@PluginVariant(variantLabel = "Test", requiredParameterLabels = { 0, 1 } )
public static Petrinet test(PluginContext context, XLog log) {}
The requiredParameterLabels = { ... } had too many entries...
Corrected @PluginVariant:@PluginVariant(variantLabel = "Test", requiredParameterLabels = { 0 } )
public static Petrinet test(PluginContext context, XLog log) { }
Howdy, Stranger!
Categories
- 1.6K All Categories
- 45 Announcements / News
- 225 Process Mining
- 6 - BPI Challenge 2020
- 9 - BPI Challenge 2019
- 24 - BPI Challenge 2018
- 27 - BPI Challenge 2017
- 8 - BPI Challenge 2016
- 68 Research
- 1K ProM 6
- 393 - Usage
- 287 - Development
- 9 RapidProM
- 1 - Usage
- 7 - Development
- 54 ProM5
- 19 - Usage
- 187 Event Logs
- 32 - ProMimport
- 75 - XESame