Skip to main content
Question

How to use FMEWorkspaceRunner java class to run FME workbench?


This is the test code I have written to call FME workbench from java.

 

IFMESession createSession = COM.safe.fmeobjects.FMEObjects.createSession(); IFMEWorkspaceRunner createWorkspaceRunner = createSession.createWorkspaceRunner(); createWorkspaceRunner.run("C:\\\\Users\\\\shahg\\\\Desktop\\\\TEST.fmw");

 

 

but it is throwing this exception

 

Loaded module 'fmeprompter' from file 'fmeprompter.dll'

Precondition failed at stfconf.cpp:1489. Expression: instance_ != nullptr

 

Could you please help? I am able to call same workbench from python without any exception.

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings