[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Troubles upgrading from 2.20.2 to 2.21.0

Hi all,
in Syncope we have a Camel-based extension, whose initialization has been working fine so far (up until Camel 2.20.2) but fails with the recent Camel 2.21.0.

In particular, the following exception is raised during Syncope Core webapp initialization [1]:

org.apache.camel.RuntimeCamelException: java.util.NoSuchElementException
        at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException( ~[camel-core-2.21.0.jar:2.21.0]
        at org.apache.camel.spring.SpringCamelContext.start( ~[camel-spring-2.21.0.jar:2.21.0]
        at org.apache.syncope.core.provisioning.camel.SyncopeCamelContext.getContext( ~[syncope-ext-camel-provisioning-2.1.0-SNAPSHOT.jar:2.1.0-SNAPSHOT]

As you can see, the CamelContext is fed with route definitions by the loadContext() method, which parses some XML snippets as [2] for example.

Any idea about why the exception above is raised with 2.21.0?