There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When a flow which contains a camel-validation endpoint is started, the XSD schemas are not loaded until the first request comes in and the camel-validation endpoint is first hit. If two requests come in simultaneously, the initialization will be performed twice, at the same time. It seems that SchemaFactory is not thread-safe, so this results in the following exception: 10:38:20,860 | ERROR - org.apache.camel.processor.DeadLetterChannel - org.apache.camel.processor.Logger - Failed delivery for exchangeId: ID-ATOS-B624 E47AF0/3211-1240562892751/0-11. On delivery attempt: 0 caught: org.xml.sax.SAXException: FWK005 parse may not be called while parsing. org.xml.sax.SAXException: FWK005 parse may not be called while parsing. at at at javax.xml.validation.SchemaFactory.newSchema( at org.apache.camel.processor.validation.ValidatingProcessor.createSchema( at org.apache.camel.processor.validation.ValidatingProcessor.getSchema( at org.apache.camel.processor.validation.ValidatingProcessor.process( at org.apache.camel.impl.ProcessorEndpoint.onExchange( at org.apache.camel.impl.ProcessorEndpoint$1.process( at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process( ..... For more info: Is it possible to backport the fix to 1.4?
    via by Raúl Kripalani,
  • GUI startup failure
    via GitHub by Tom-Willemsen
  • GitHub comment 2090#280632501
    via GitHub by mattclarke
    • org.xml.sax.SAXException: FWK005 parse may not be called while parsing. at[na:1.7.0_21] at[na:1.7.0_21] at org.apache.camel.converter.jaxb.JaxbDataFormat.createUnmarshaller([camel-jaxb-2.11.1.jar:2.11.1] at org.apache.camel.converter.jaxb.JaxbDataFormat.unmarshal([camel-jaxb-2.11.1.jar:2.11.1] at org.apache.camel.processor.UnmarshalProcessor.process([camel-core-2.11.1.jar:2.11.1]
    No Bugmate found.