Question

How to use FMEWorkspaceRunner java class to run FME workbench?

  • 20 August 2018
  • 0 replies
  • 3 views

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!

Reply