org.openl.exception.OpenlNotCheckedException

Can't instantiate engine instance


Solutions on the web1


Stack trace

  • org.openl.exception.OpenlNotCheckedException: Can't instantiate engine instance at org.openl.runtime.EngineFactory.prepareInstance(EngineFactory.java:160) at org.openl.runtime.AEngineFactory.newInstance(AEngineFactory.java:49) at org.openl.runtime.AEngineFactory.newInstance(AEngineFactory.java:32) at org.openl.runtime.EngineFactory.newEngineInstance(EngineFactory.java:132) at org.openl.rules.openl_simple_project_from_archetype.Main.main(Main.java:19) Caused by: org.openl.exception.OpenLRuntimeException: Can't open source file or file is corrupted: FileNotFoundException: rules\TemplateRules.xls (The system cannot find the path specified) at org.openl.rules.lang.xls.load.WorkbookLoadUtils.loadWorkbook(WorkbookLoadUtils.java:33) 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.<init>(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.rules.lang.xls.XlsParser.parseAsModule(XlsParser.java:48) 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) ... 4 more Caused by: java.lang.RuntimeException at org.openl.util.RuntimeExceptionWrapper.wrap(RuntimeExceptionWrapper.java:16) at org.openl.source.impl.FileSourceCodeModule.getByteStream(FileSourceCodeModule.java:54) at org.openl.rules.lang.xls.load.WorkbookLoadUtils.loadWorkbook(WorkbookLoadUtils.java:26) ... 17 more Caused by: 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.<init>(FileInputStream.java:138) at org.openl.source.impl.FileSourceCodeModule.getByteStream(FileSourceCodeModule.java:52) ... 18 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

4 times, 2 days ago
Samebug visitor profile picture
Unknown user
2 times, 1 week ago
Once, 2 weeks ago
15 times, 1 month ago
3 times, 1 month ago
198 more bugmates