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.

ProM 6.3 - ILP : Java Error

pdeliaspdelias Posts: 5
edited July 2014 in - Usage


I am trying to run the ILP algorithm through ProM 6.3 on a Mac OS 10.9.3, java version "1.7.0_60"

I get a java.lang.reflect.InvocationTargetException on the UI.

On the console it prints:

-------- The following exception was logged by the framework: 

         The exception was probalby handled properly. 

java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException


at java.util.concurrent.FutureTask.get(

at javax.swing.SwingWorker.get(

at org.processmining.framework.plugin.ProMFuture.get(

at org.processmining.framework.plugin.impl.AbstractPluginDescriptor$1.done(

at org.processmining.framework.plugin.ProMFuture$1.done(

at javax.swing.SwingWorker$

at javax.swing.SwingWorker$


at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(

at javax.swing.Timer.fireActionPerformed(

at javax.swing.Timer$

at java.awt.event.InvocationEvent.dispatch(

at java.awt.EventQueue.dispatchEventImpl(

at java.awt.EventQueue.access$200(

at java.awt.EventQueue$

at java.awt.EventQueue$

at Method)


at java.awt.EventQueue.dispatchEvent(

at java.awt.EventDispatchThread.pumpOneEventForFilters(

at java.awt.EventDispatchThread.pumpEventsForFilter(

at java.awt.EventDispatchThread.pumpEventsForHierarchy(

at java.awt.EventDispatchThread.pumpEvents(

at java.awt.EventDispatchThread.pumpEvents(


Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(

at sun.reflect.DelegatingMethodAccessorImpl.invoke(

at java.lang.reflect.Method.invoke(

at org.processmining.framework.plugin.impl.PluginDescriptorImpl.execute(

at org.processmining.framework.plugin.impl.AbstractPluginDescriptor$1.doInBackground(

at org.processmining.framework.plugin.ProMFuture$1.doInBackground(

at javax.swing.SwingWorker$



at java.util.concurrent.ThreadPoolExecutor.runWorker(

at java.util.concurrent.ThreadPoolExecutor$


Caused by: java.lang.UnsatisfiedLinkError: /Users/pavlos/.ProM63/packages/lpsolve- dlopen(/Users/pavlos/.ProM63/packages/lpsolve-, 1): no suitable image found.  Did find:

/Users/pavlos/.ProM63/packages/lpsolve- mach-o, but wrong architecture

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary1(

at java.lang.ClassLoader.loadLibrary0(

at java.lang.ClassLoader.loadLibrary(

at java.lang.Runtime.loadLibrary0(

at java.lang.System.loadLibrary(

at org.processmining.plugins.ilpminer.ILPModelJavaILP.loadLibraries(

at org.processmining.plugins.ilpminer.ILPModelJavaILP.findPetriNetPlaces(

at org.processmining.plugins.ilpminer.ILPMiner.doILPMiningPrivateWithRelationsAndLanguage(

at org.processmining.plugins.ilpminer.ILPMiner.doILPMiningPrivateWithRelations(

at org.processmining.plugins.ilpminer.ILPMiner.doILPMiningWithSettings(

at org.processmining.plugins.ilpminer.ILPMiner.doILPMining(

... 13 more



(Bold mine)

Any clues why this is happening?

Thank you

Post edited by pdelias on

Best Answer

  • JBuijsJBuijs Posts: 914
    Answer ✓

    There is a known issue with the automatic installation of ILPSolve (used by the ILPminer and others) on Macintosh systems.

    There is a solution but I'm not able to find it know. Maybe someone else can be of further assistance


  • pdeliaspdelias Posts: 5

    Thanks anyway...

  • svzelstsvzelst Posts: 10

    Hi P. Delias,

    The problem might be caused by the fact that your machine (depending on its age) is of a 64-bit type architecture.

    Currently the underlying library, being lpsolve, is only distributed as a 32-bit version within ProM.


    I'm trying to see if I am able to fix it (I use the lpsolve a lot in my daily work).


    kind regards,


    Sebastiaan J. van Zelst

  • pdeliaspdelias Posts: 5

    Sebastiaan you were right, the distributed lpsolve library doesn't work with 64bit Macs. I managed to find a solution. The general idea goes like this: 1) Build the lpsolve files from source, so that they are compatible with your system and 2) copy them to the appropriate folders.

    I posted the step-by-step solution at

    Now it's working perfectly!

    Thank you and Good Luck to ProM Mac users Wink

  • hverbeekhverbeek Posts: 508
    Hi Pavlos,

    Many thanks for the detailed info, it helped, I've now also got it to work on my 64bit Mac.

    However, I've only followed your steps 1, 2 and 3. After that, I simply copied the two generated files into the LpSolve_mac/mac folder in the folder where the LpSolve package was installed, that is, into the folder that already contained the liblpsolve55j.jnilib file. For, me this was sufficient to get it working.


Sign In or Register to comment.