uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Mauceri <mauc...@hermeneute.com>
Subject CPE problem using eclipse 3.3
Date Wed, 29 Aug 2007 11:16:12 GMT
Hi,

when I try to launch the following CPE in eclipse 3.3

<cpeDescription>
  <collectionReader>
    <collectionIterator>
      <descriptor>
        <include
          href="C:\Documents and 
Settings\Administrator\Desktop\These\RuntimeWorkspace\FSATest\UIMA 
descriptors/FileSystemCollectionReader.xml"/>
      </descriptor>
      <configurationParameterSettings>
        <nameValuePair>
          <name>InputDirectory</name>
          <value>
            <string>C:\Documents and 
Settings\Administrator\Desktop\These\RuntimeWorkspace\FSATest\Rire</string>
          </value>
        </nameValuePair>
      </configurationParameterSettings>
    </collectionIterator>
  </collectionReader>
  <casProcessors casPoolSize="2" processingUnitThreadCount="1">
    <casProcessor deployment="integrated" name="Cleaner">
      <descriptor>
        <include
          href="C:\Documents and 
Settings\Administrator\Desktop\These\RuntimeWorkspace\FSATest/UIMA 
descriptors/HTMLCleaner.xml"></include>
      </descriptor>
      <sofaNameMappings>
        <sofaNameMapping componentSofaName="htmlDocument"
          cpeSofaName="_InitialView"/>
        <sofaNameMapping componentSofaName="cleanDocument"
          cpeSofaName="cleanDocument"/>
      </sofaNameMappings>
      <deploymentParameters/>
      <filter></filter>
      <errorHandling>
        <errorRateThreshold action="terminate" value="10/1000"/>
        <maxConsecutiveRestarts action="terminate" value="30"/>
        <timeout max="100000"/>
      </errorHandling>
      <checkpoint batch="10000"/>
    </casProcessor>
   <casProcessor deployment="integrated" name="Annotation to Dic">
      <descriptor>
        <include
          href="C:\Documents and 
Settings\Administrator\Desktop\These\RuntimeWorkspace\FSATest/UIMA 
descriptors/AddToDicRire.xml"/>
      </descriptor>
      <sofaNameMappings>
        <sofaNameMapping cpeSofaName="cleanDocument"/>
      </sofaNameMappings>
      <deploymentParameters/>
      <filter></filter>
      <errorHandling>
        <errorRateThreshold action="terminate" value="10/1000"/>
        <maxConsecutiveRestarts action="terminate" value="30"/>
        <timeout max="10000"/>
      </errorHandling>
      <checkpoint batch="10000"/>
    </casProcessor>
  </casProcessors>
  <cpeConfig>
    <numToProcess>-1</numToProcess>
    <deployAs>immediate</deployAs>
    <checkpoint file="checkpoint.dat" time="300000"/>
    <timerImpl>com.ibm.uima.reference_impl.util.JavaTimer</timerImpl>
  </cpeConfig>
</cpeDescription>

I get the following exception

com.ibm.uima.util.InvalidXMLException: Invalid descriptor at file:/C:/Documents and Settings/Administrator/Desktop/These/RuntimeWorkspace3.2/Aziyadé/.Hermeneute/Travail/VocabularyCPE.cpe.
	at com.ibm.uima.reference_impl.util.XMLParser_impl.parse(XMLParser_impl.java:189)
	at com.ibm.uima.reference_impl.util.XMLParser_impl.parse(XMLParser_impl.java:113)
	at com.ibm.uima.reference_impl.util.XMLParser_impl.parse(XMLParser_impl.java:212)
	at com.ibm.uima.reference_impl.util.XMLParser_impl.parse(XMLParser_impl.java:230)
	at com.ibm.uima.reference_impl.util.XMLParser_impl.parseCpeDescription(XMLParser_impl.java:748)
	at com.hermeneute.uima.actions.CPEAction.initCPE(CPEAction.java:146)
	at com.hermeneute.uima.actions.CPEAction$1.run(CPEAction.java:96)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.ibm.uima.UIMARuntimeException
	at com.ibm.uima.reference_impl.util.XIncluder.getXIncludeTemplates(XIncluder.java:144)
	at com.ibm.uima.reference_impl.util.XIncluder.newXIncludeHandler(XIncluder.java:90)
	at com.ibm.uima.reference_impl.util.XIncluder.newXIncludeHandler(XIncluder.java:58)
	at com.ibm.uima.reference_impl.util.SaxDeserializer_impl.<init>(SaxDeserializer_impl.java:87)
	at com.ibm.uima.reference_impl.util.XMLParser_impl.parse(XMLParser_impl.java:173)
	... 7 more
Caused by: javax.xml.transform.TransformerException: The first argument to the non-static
Java function 'evaluate' is not a valid object reference.
	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesHandlerImpl.endDocument(Unknown
Source)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endDocument(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.ibm.uima.reference_impl.util.XIncluder.getXIncludeTemplates(XIncluder.java:132)
	... 11 more

It works perfectly well in 3.2...
Any idea?

-- 
Cordialement/Regards
Christian Mauceri
http://hermeneute.com/Christian


Mime
View raw message