org.openl.exception.OpenlNotCheckedException: Can't instantiate engine instance

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.

,

Make sure the glassfish server is running and hosts the file and is accessible to the public. If that's not the case, change the permissions of the file in the server's file system.

java.io.FileNotFoundException: rules\TemplateRules.xls (The system cannot find the path specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at org.openl.rules.lang.xls.load.WorkbookLoadUtils.loadWorkbook(WorkbookLoadUtils.java:26)
at org.openl.rules.lang.xls.load.SimpleWorkbookLoaderFactory.createWorkbookLoader(SimpleWorkbookLoaderFactory.java:8)
at org.openl.rules.lang.xls.load.WorkbookLoaders.getWorkbookLoader(WorkbookLoaders.java:23)
at org.openl.rules.lang.xls.XlsWorkbookSourceCodeModule.(XlsWorkbookSourceCodeModule.java:54)
at org.openl.rules.lang.xls.XlsLoader.preprocessWorkbook(XlsLoader.java:296)
at org.openl.rules.lang.xls.XlsLoader.parse(XlsLoader.java:86)
at org.openl.engine.OpenLParseManager.parseSource(OpenLParseManager.java:41)
at org.openl.engine.OpenLSourceManager.processSource(OpenLSourceManager.java:132)
at org.openl.engine.OpenLCompileManager.compileModuleWithErrors(OpenLCompileManager.java:88)
at org.openl.engine.OpenLManager.compileModuleWithErrors(OpenLManager.java:182)
at org.openl.runtime.ASourceCodeEngineFactory.initializeOpenClass(ASourceCodeEngineFactory.java:94)
at org.openl.runtime.EngineFactory.getCompiledOpenClass(EngineFactory.java:167)
at org.openl.runtime.EngineFactory.prepareInstance(EngineFactory.java:152)
at org.openl.runtime.AEngineFactory.newInstance(AEngineFactory.java:49)
at org.openl.runtime.AEngineFactory.newInstance(AEngineFactory.java:32)
at org.openl.rules.openl_simple_project_from_archetype.Main.main(Main.java:19)

Users with the same issue

2 times, 1 day ago
4 times, 2 days ago
2 times, 1 week ago
32 times, 1 week ago
Once, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.