Uploaded image for project: 'Cyberintegrator'
  1. Cyberintegrator
  2. CBI-353

Make sure jaxb (un)marshall only used in one thread.

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • 2.0 beta 4
    • Core
    • None

      When (un)marshalling objects using JAXB make sure to use the (un)marshall object only in one thread. See the following URL for more info about the stack trace.

      http://acroyear.blog-city.com/xerces_and_the_dreaded_fwk005.htm

      edu.uiuc.ncsa.cyberintegrator.FailedException: Exception during execution.
      at edu.uiuc.ncsa.cyberintegrator.ExecuteStep.execute(ExecuteStep.java:115)
      at edu.uiuc.ncsa.cyberintegrator.ThreadedEngine$WorkerThread.run(ThreadedEngine.java:572)
      Caused by: javax.xml.bind.UnmarshalException

      • with linked exception:
        [org.xml.sax.SAXException: FWK005 parse may not be called while parsing.]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source)
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
        at edu.uiuc.ncsa.cyberintegrator.executor.external.ExternalTool.setup(ExternalTool.java:138)
        at edu.uiuc.ncsa.cyberintegrator.ExecuteStep.execute(ExecuteStep.java:85)
        ... 1 more
        Caused by: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
        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)
        ... 7 more

              kooper Rob Kooper
              rberraba Ralph Berrabah (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: