You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to use the Ruta query view in Eclipse, an exception is generated.
To Reproduce
Steps to reproduce the behavior:
Install Ruta 3.4.0 RC 1
Switch to Ruta perspective
Locate the query view in the middle lower part of the screen
Choose an XMI file in the "Query data" input field
Choose a typesystem as well
Press the green "play" button.
Expected behavior
Some kind of result - no error.
Screenshots
java.lang.NoClassDefFoundError: org/apache/uima/ruta/ReindexUpdateMode
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3297)
at java.base/java.lang.Class.getDeclaredFields(Class.java:2371)
at org.apache.uima.fit.internal.ReflectionUtil.getFields(ReflectionUtil.java:59)
at org.apache.uima.fit.internal.ReflectionUtil.getFields(ReflectionUtil.java:45)
at org.apache.uima.fit.component.initialize.ConfigurationParameterInitializer.initialize(ConfigurationParameterInitializer.java:101)
at org.apache.uima.fit.component.JCasAnnotator_ImplBase.initialize(JCasAnnotator_ImplBase.java:35)
at org.apache.uima.ruta.engine.RutaEngine.initialize(RutaEngine.java:639)
at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.lambda$callInitializeMethod$2(AnalysisEngineImplBase.java:658)
at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.withContexts(AnalysisEngineImplBase.java:698)
at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.callInitializeMethod(AnalysisEngineImplBase.java:658)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:243)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:167)
at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:97)
at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:64)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:284)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:334)
at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:449)
at org.apache.uima.ruta.query.ui.QueryActionHandler$QueryHandlerJob.run(QueryActionHandler.java:193)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.ClassNotFoundException: org.apache.uima.ruta.ReindexUpdateMode cannot be found by org.apache.uima.ruta.engine_3.4.0
at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:541)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:487)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 20 more
Please complete the following information:
Version: 3.4.0-RC-1
The text was updated successfully, but these errors were encountered:
Looks like we have two bundles exporting the org.apache.uima.ruta package and the "wrong" one is wired so the class we are looking for cannot be found.
* main:
Issue #157: Mark Maven Mojos as thread-safe
Issue #155: UIMA Core plugins not found when installing Ruta
Issue #152: Better error messages in query view
Issue #151: Unable to use Ruta Query view in Ruta 3.4.0-RC-1
% Conflicts:
% ruta-eclipse-feature/feature.xml
% ruta-eclipse-update-site/category.xml
Describe the bug
When trying to use the Ruta query view in Eclipse, an exception is generated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Some kind of result - no error.
Screenshots
Please complete the following information:
The text was updated successfully, but these errors were encountered: