Hello,
I am new to cTAKES, and when I was running it, I got the following error:
10 Nov 2015 22:30:49,850 INFO JobDriver - T[21] advanceJdState
current=Initializing request=Active result=Active
10 Nov 2015 22:30:49,982 ERROR ProxyLogger - T[18] loggify
org.apache.uima.cas.CASRuntimeException: JCas type
"org.apache.ctakes.typesystem.type.structured.DocumentID"
used in Java code, but was not declared in the XML type descriptor.
at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:412)
at org.apache.uima.jcas.cas.TOP.<init>(TOP.java:92)
at
org.apache.ctakes.typesystem.type.structured.DocumentID.<init>(DocumentID.java:52)
at
org.apache.ctakes.core.cr.FilesInDirectoryCollectionReader.getNext(FilesInDirectoryCollectionReader.java:218)
at
org.apache.uima.ducc.user.jd.JdUserCollectionReader._getJdUserMetaCas(JdUserCollectionReader.java:152)
Does anybody know how to fix this?
I am not sure which xml file needs to specify
the "org.apache.ctakes.typesystem.type.structured.DocumentID".
I run cTAKES using DUCC and xmls I specified are the following:
CR:
${CTAKES_HOME}/desc/ctakes-core/desc/collection_reader/FilesInDirectoryCollectionReader.xml
AE:
${CTAKES_HOME}/desc/ctakes-clinical-pipeline/desc/analysis_engine/AggregatePlaintextProcessor.xml
CC:
${CTAKES_HOME}/desc/ctakes-core/desc/cas_consumer/FileWriterCasConsumer.xml
Thanks,
Yi-Wen