Skip to main content
Question

How to use FMEWorkspaceRunner java class to run FME workbench?

  • August 20, 2018
  • 0 replies
  • 17 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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.