Cannot import pnml file
Dear Community,
I tried to import a .pnml file into Prom 6.13 but it doesn't work. I always get a Java NullPointer Exception.
It doesn't matter which import plugin I select, it always throws an exception.
How can I import pnml files successfully in order to analyze them with ProM 6.13?
Best regards
Thomas
Best Answer
-
Hi Thomas,
The problem is caused by the fact that your PNML file contains empty inscriptions for arcs. Like follows:
<arc id="arc0" source="p1" target="B"> <graphics/> <inscription/> </arc>
As far as we know, an arc inscription should have a text. Replacing every instance of
<inscription/>
with
<inscription><text>1</text></inscription>
does the trick. The alternative is to remove all these empty inscriptions.
Kind regards, Eric.
Answers
-
Hi Thomas,
Would it be able for you so share the PNML file that you are trying to import?
Many thanks in advance,
Eric.
-
Hi Eric,
Many thanks for your help.
I've attached the pnml file, or at least the content of it as I am not allowed to upload .pnml files.
I hope this helps.
Best regards
Thomas
-
Dear Eric,
Now it works. Thanks a lot!
Best regards
Thomas
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