camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cemmersb <cemme...@gmail.com>
Subject Re: camel-itest-karaf - Failure due some XSD validation issue
Date Sat, 08 Mar 2014 10:27:03 GMT
Hi Jean-Baptiste,

event the thread seems to be a bit outdated, I would like to notice you,
that the issue still persists.

I've tried to add the namespace statement to camel-extra in order to be
compliant with Karaf 3.x requirements. However, this caused all Karaf
integration tests to fail. We are using pax-exam 3.3.0, which is not the
latest, but definitely not a complete old version. The root cause of the
failure seems to be an XML parsing exception, therefore I do not think that
the issue is related with Karaf but rather within the implementation of the
feature validation of pax-exam. Installing a feature with namespace worked
perfectly well on Karaf 3.x.

Best,

Christoph

2014-03-08 11:11:32,509 | WARN  | FelixStartLevel  | FeaturesServiceImpl             
| res.internal.FeaturesServiceImpl 1111 | 43 -
org.apache.karaf.features.core - 2.3.3 | Unable to add features repository
mvn:org.apache-extras.camel-extra.karaf/camel-extra/2.13-SNAPSHOT/xml/features
at startup
java.lang.IllegalArgumentException: Unable to validate
mvn:org.apache-extras.camel-extra.karaf/camel-extra/2.13-SNAPSHOT/xml/features
	at
org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:71)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:215)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:257)
	at
org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:1109)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_45]
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_45]
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_45]
	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_45]
	at
org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.1.0]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_45]
	at
org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:668)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:370)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:259)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:222)[7:org.apache.aries.blueprint.core:1.1.0]
	at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.util:1.1.0]
	at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.util:1.1.0]
	at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[11:org.apache.aries.util:1.1.0]
	at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[11:org.apache.aries.util:1.1.0]
	at
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[11:org.apache.aries.util:1.1.0]
	at
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.jar:]
	at
org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)[org.apache.felix.framework-4.0.3.jar:]
	at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)[org.apache.felix.framework-4.0.3.jar:]
	at
org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4244)[org.apache.felix.framework-4.0.3.jar:]
	at
org.apache.felix.framework.Felix.startBundle(Felix.java:1923)[org.apache.felix.framework-4.0.3.jar:]
	at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)[org.apache.felix.framework-4.0.3.jar:]
	at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)[org.apache.felix.framework-4.0.3.jar:]
	at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
Caused by: org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the
declaration of element 'features'.
	at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)[:]
	at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
	at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)[:]
	at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
Source)[:]
	at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown
Source)[:]
	at org.apache.xerces.jaxp.validation.DOMValidatorHelper.beginNode(Unknown
Source)[:]
	at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown
Source)[:]
	at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown
Source)[:]
	at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown
Source)[:]
	at javax.xml.validation.Validator.validate(Unknown Source)[:2.2.0]
	at
org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:69)
	... 35 more



--
View this message in context: http://camel.465427.n5.nabble.com/camel-itest-karaf-Failure-due-some-XSD-validation-issue-tp5024780p5748485.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message