Hi all, I am trying to get started with UIMA Ruta. It really looks like an interesting and useful project. So I installed a fresh Eclipse, downloaded the 2.7 source distribution from the UIMA download page and imported the ExampleProject.
When I try to run the Main.ruta script with JRE 11.0.2 on my Mac, I get the error message Error occurred during initialization of boot layer java.lang.LayerInstantiationException: Package jdk.internal.jimage.decompressor in both module jrt.fs and module java.base So I switched to JRE 1.8.0_152. Now, the code will run but output Mar 01, 2019 12:34:07 PM org.apache.uima.jcas.impl.JCasImpl reportInitErrors(810) WARNING: JCas Type "org.apache.uima.ruta.type.DebugBlockApply" implements getters and setters for feature "timestamp", but the type system doesnt define that feature. JCas Type "org.apache.uima.ruta.type.DebugRuleApply" implements getters and setters for feature "timestamp", but the type system doesnt define that feature. JCas Type "org.apache.uima.ruta.type.DebugScriptApply" implements getters and setters for feature "timestamp", but the type system doesnt define that feature. Then, I wanted to check out the “Ruta Explain” perspective and tried to run Main.ruta with the debugger. This won’t finish at all due to the exception org.apache.uima.cas.CASRuntimeException: Feature "timestamp" is not defined for type "org.apache.uima.ruta.type.DebugScriptApply”. It actually seems to be straight forward what is going wrong, the compile type system class does not match the descriptor. But this look like Ruta internals to me, I am not quite sure if and where I went down the wrong path. Any hints? Thanks, Erik
