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.