Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MOFScript » call transformation from Java API
call transformation from Java API [message #589761] Fri, 05 March 2010 08:19 Go to previous message
yeliu is currently offline yeliu
Messages: 145
Registered: July 2009
Senior Member
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
 
Read Message
Read Message
Previous Topic:call transformation from Java API
Next Topic:call transformation from Java API
Goto Forum:
  


Current Time: Fri May 24 13:19:56 EDT 2013

Powered by FUDForum. Page generated in 0.08417 seconds