As part of trying out WebAnno + DKPro Core against the latest UIMAv3,
I have installed the Eclipse plugins from this RC into an existing Eclipse
in order to open an type system descriptor and to regenerate JCas classes.
However, I cannot open the type system descriptor with the Component Editor:
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at
org.apache.uima.cas.impl.FSClassRegistry.maybeLoadJCas(FSClassRegistry.java:834)
at
org.apache.uima.cas.impl.FSClassRegistry.createJCasClassInfo(FSClassRegistry.java:579)
at
org.apache.uima.cas.impl.FSClassRegistry.maybeCreateJCasClassInfo(FSClassRegistry.java:566)
at
org.apache.uima.cas.impl.FSClassRegistry.getOrCreateJCasClassInfo(FSClassRegistry.java:554)
at
org.apache.uima.cas.impl.TypeSystemImpl.getJcci(TypeSystemImpl.java:1672)
at
org.apache.uima.cas.impl.TypeSystemImpl.computeAdjustedFeatureOffsets(TypeSystemImpl.java:1485)
at
org.apache.uima.cas.impl.TypeSystemImpl.computeAdjustedFeatureOffsets(TypeSystemImpl.java:1519)
at
org.apache.uima.cas.impl.TypeSystemImpl.computeAdjustedFeatureOffsets(TypeSystemImpl.java:1519)
at
org.apache.uima.cas.impl.TypeSystemImpl.computeAdjustedFeatureOffsets(TypeSystemImpl.java:1519)
at
org.apache.uima.cas.impl.TypeSystemImpl.commit(TypeSystemImpl.java:1410)
at org.apache.uima.cas.impl.CASImpl.commitTypeSystem(CASImpl.java:1607)
at
org.apache.uima.util.CasCreationUtils.doCreateCas(CasCreationUtils.java:614)
at
org.apache.uima.util.CasCreationUtils.createCas(CasCreationUtils.java:362)
at
org.apache.uima.taeconfigurator.editors.MultiPageEditor.createCas(MultiPageEditor.java:4018)
Unfortunately, I do not see which class fails to load.
I can open type system descriptors containing type which are generated via the
Maven JCasGen plugin.
However, when I try opening a type system descriptor for which there is an
existing UIMAv3-alpha
JCas class (which are checked into the code repo), I get this error.
When I manually delete the UIMAv3-alpha JCas classes, then I can open the type
system descriptor
without this error.
My feeling is that the Component Descriptor should not try to access JCas
classes.
You can probably reproduce this using an Eclipse with the 3.0.0-RC1 plugins
installed
and trying to open
"dkpro-core-api-coref-asl/src/main/resources/desc/type/coref.xml"
the from document-metadata-uv3-beta-fix [1] in the Component Editor.
Cheers,
-- Richard
[1] https://github.com/mischor/dkpro-core/tree/document-metadata-uv3-beta-fix