Errors while generating code through LEIF wizard.

Article ID: 1155
Last updated: 07 Feb, 2008
Article ID: 1155
Last updated: 07 Feb, 2008
Revision: 1
Views: 1663
Posted: 01 Jan, 2000
by Dean J.
Updated: 07 Feb, 2008
by Dean J.
Problem


When generating code through LEIF , I get the following errors :

 

"Loaded user properties file: C:ROGUEW~1LEIF2.2projectsWeatherSummarystartup.properties

java.io.FileNotFoundException: C:ROGUEW%7E1LEIF2.2xsltxmlolcombineXmlolSummaries.xslt (The system cannot find the path specified)

javax.xml.transform.TransformerException: java.io.FileNotFoundException: C:ROGUEW%7E1LEIF2.2xsltxmlolcombineXmlolSummaries.xslt (The system cannot find the path specified)

javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: java.io.FileNotFoundException: C:ROGUEW%7E1LEIF2.2xsltxmlolcombineXmlolSummaries.xslt (The system cannot find the path specified)

java.lang.NullPointerException

at com.roguewave.persian.CodeGenerator.processInput(CodeGenerator.java, Compiled Code)

at com.roguewave.persian.CodeGenerator.processInput(CodeGenerator.java, Compiled Code)

at com.roguewave.xmlol.CodeGeneratorBase.codeGenerate(CodeGeneratorBase.java, Compiled Code)

at com.roguewave.persian.CodeGenerator.main(CodeGenerator.java:110)

Exception in thread "main"   "




Cause


This problem occurs if the incorrect version of the Java JRE is set in your PATH variable.




Action


To set up your Enviroment, you need to:

  • Set your PATH environment variable for the location of a Java JRE version 1.3.x or later at:

    
     Win32:            set PATH=<JRE_location>\bin;%PATH%
     UNIX/Linux sh:    PATH=<JRE_location>/bin:$PATH ; export PATH

  • On Unix/Linux, set environment variable RW_HOME to the root
         installation of LEIF.  No need to do this on Windows, the startup
         scripts do this for you.
  • Source (run) the script leifvars (located in the <install-dir>/bin directory.)   
    • Win 32   leifvars.bat
    • UNIX/Linux sh: . ./leifvars
This article was:   Helpful | Not helpful
Report an issue
Article ID: 1155
Last updated: 07 Feb, 2008
Revision: 1
Views: 1663
Posted: 01 Jan, 2000 by Dean J.
Updated: 07 Feb, 2008 by Dean J.

Others in this category