Skip to main content



      Home
Home » Archived » MOFScript » call transformation from Java API
call transformation from Java API [message #589761] Fri, 05 March 2010 08:19 Go to next message
Eclipse UserFriend
Hello,
When running the TestAPI.java , there is NullPointer exception and the problem is located in the following lines.
--------------
protected int parse (String transformation) {
File f = new File (transformation);

MOFScriptSpecification spec = parserUtil.parse(f, true);
------------
The debugging shows that f is null , and parserUtil is null too. And specification of the parserUtil used in this program couldn't be found. We run out of any possible solutions. What's the problem and any way to solve this problem. Thanks for reply!



M
Re: call transformation from Java API [message #589769 is a reply to message #589761] Tue, 09 March 2010 15:35 Go to previous message
Eclipse UserFriend
Hello,

have you tried runiing the TestAPI in debugmode?

There you should be abel to see what you have done wrong.

Based on the provided information I am not abel to pin point the error.

Cheers,
G
Previous Topic:call transformation from Java API
Next Topic:call transformation from Java API
Goto Forum:
  


Current Time: Mon Jul 14 02:54:36 EDT 2025

Powered by FUDForum. Page generated in 0.65701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top