Unable to launch the EarthMoversStochasticConformancePlugin
Hi,
Sorry for asking so many questions in a short time.
When I try to launch ProM Package Manager, it outputs:
错误: 找不到或无法加载主类 org.processmining.contexts.uitopia.packagemanager.PMFrame
The Chinese means it can't find org.processmining.contexts.uitopia.packagemanager.PMFrame.
--------------------------
When I try to launch ProM with UITopia, it outputs:
Error occurred during initialization of VM
java.lang.Error: java.lang.ClassNotFoundException: org.processmining.framework.util.ProMClassLoader
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1462)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429)
Caused by: java.lang.ClassNotFoundException: org.processmining.framework.util.ProMClassLoader
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2205)
at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2191)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1449)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429)
Which I have solved before by change the jre to jdk1.8.0 from jdk18, but it doesn't work this time.
I searched in this website, but found many answer saying it is caused by the outdated files.
How can I fix this error?
Thanks
Answers
-
Hi,
Did you perhaps mix two versions of ProM?
Please check which files are there in the dist folder, and which files are actually mentioned in either the .bat file (I guess you're trying to start ProM using the .bat file, if not please let me know how you're trying to start it). The files mentioned in the .bat file should match the files in the dist folder.
Kind regards, Eric.
-
Hi,
I use SVN to download this plugin from https://svn.win.tue.nl/repos/prom/Packages/EarthMoversStochasticConformanceChecking/.
And I use eclipse to open this project, use Ivy to resolve dependencies.
After that, I use this configuration to run:
The first four figures for PMPM, the last two figures for PM.
But it output errors like above.
Did these steps wrong in anywhere?
Thanks
-
In the Classpath tab, is Ivy listed there? Like follows:
ProM should get the framework jar files from this Ivy folder.
-
HI,
There is ivy in it, but have many jars in it too.
The PMPM is simiar.
But in another plugin, it have Classpath in PM and have Dependencies in PMPM. Why is this different?
Thanks
-
If you right-click the project and open its Properties, what do you see in the Libraries tab?
My guess is that you see different things here, and that you need to update this list.
-
There are also jars in this tab. Need I remove them all from this tab and only leave Ivy and JRE System Library in here?
-
Yes, please remove all but the last two entries (Ivy and the JRE). Please also check the Projects tab. It should be empty, and the Source tab:
-
After I remove them, it still doesn't work.
And the error outputs the same as before:
错误: 找不到或无法加载主类 org.processmining.contexts.uitopia.packagemanager.PMFrame
for PMPM
----------------------------------
Error occurred during initialization of VM
java.lang.Error: java.lang.ClassNotFoundException: org.processmining.framework.util.ProMClassLoader
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1462)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429)
Caused by: java.lang.ClassNotFoundException: org.processmining.framework.util.ProMClassLoader
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2205)
at java.lang.SystemClassLoaderAction.run(ClassLoader.java:2191)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1449)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1429)
for PM
-
Hi,
I get up and try again.
I work in a new workplace, and cleaned all ivy cache. Resolve the dependencies.
When run PM, it outputs:
Exception in thread "main" java.lang.NullPointerException
at org.processmining.contexts.uitopia.UI.main(UI.java:58)
--------------------------
When run PMPM, it start successfully, but outputs:
No packages were found. Please check your internet connection.
And in console it outputs:
[PackageConfigPerister] Context URL set to http://www.promtools.org/prom6/packages/
The URL is not complete.
How can I fix it?
Thanks
-
Hi,
I tried to use the method in other discusstion, added timeout threshold in ProM.ini:
#
# Timeouts used when trying to get a file from the repository.
# Setting a timeout to 0 means no timeout will be set.
CONNECT_TIMEOUT = 0
READ_TIMEOUT = 0
But it still doesn't work, outputs as above the same.
-
Hi,
Here is my files of this project at this time. Can you please check the setting files? I really don't know why another ProM plugin project can run successfully but this project can't launch in the end.
-
When I switch the JRE to jdk-18.0.1.1 and run PM, it outputs new error message:
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "org.processmining.framework.boot.Boot.AUTO_UPDATE" is null
at org.processmining.contexts.uitopia.UI.main(UI.java:58)
Shows that org.processmining.framework.boot.Boot.AUTO_UPDATE is null. Is it the key error? But what caused it? have I download the right files? Like org.processmining.contexts.uitopia.UI.java or others? How can I check it?
-
Hi Eric,
I solve this problem in a special way: I copy this project's code and its ivy.xml's containing to another project's folder, and that project can run successfully. Now I can run this plugin in other project🤣.
Thanks for your greatful help!
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
- 394 - Usage
- 288 - Development
- 9 RapidProM
- 1 - Usage
- 7 - Development
- 54 ProM5
- 19 - Usage
- 187 Event Logs
- 32 - ProMimport
- 75 - XESame