Units tests that are run on `` bundle fails due to missing jaxb-api on classpath.
This happens because, org.deegree still refers to javax.xml libraries for jaxb related dependencies. However, after migrating hale studio with java17, jdk no more provides javax.xml and Jakarta dependencies must be used.
This ticket is to add Jakarta dependencies to org.deegree so that this bundle can again be included in the hale studio.
18.11.2022 11:57:17 ERROR o.d.c.x.j.JAXBUtils.getUnmarshaller(118) - Unable to instantiate JAXBContext for package 'org.deegree.cs.persistence.deegree.d3.jaxb'
18.11.2022 11:57:17 ERROR o.d.c.p.d.d.DeegreeCRSStoreProvider.getCRSStore(113) - Error in crs store configuration file 'bundleresource://398.fwk563161564/org/deegree/cs/persistence/default.xml': Implementation of JAXB-API has not been found on module path or classpath.
18.11.2022 11:57:17 ERROR o.d.c.p.CRSManager.handleConfigFile(194) - Error creating crs store: Error in crs store configuration file 'bundleresource://398.fwk563161564/org/deegree/cs/persistence/default.xml': Implementation of JAXB-API has not been found on module path or classpath.
E.18.11.2022 11:57:20 WARN o.d.g.s.GMLSchemaInfoSet.buildGeometryPropertyType(987) - Unhandled particle: MODEL_GROUP
E
2 test(s) run. Time: 9540ms
2 failures:
1) testSuccessSaveConfig(eu.esdihumboldt.hale.io.deegree.mapping.MappingWriterTest)
org.deegree.commons.tom.ReferenceResolvingException: Unable to resolve reference to 'EPSG:4326'.
at org.deegree.commons.tom.Reference.getReferencedObject(Reference.java:164)
at org.deegree.cs.refs.coordinatesystem.CRSRef.getReferencedObject(CRSRef.java:239)
at org.deegree.cs.refs.coordinatesystem.CRSRef.getDimension(CRSRef.java:224)
at eu.esdihumboldt.hale.io.deegree.mapping.config.GenericMappingConfiguration.getGeometryStorageParameters(GenericMappingConfiguration.java:246)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingHelper.mapApplicationSchema(MappingHelper.groovy:36)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriter.getMappedSchema(MappingWriter.java:296)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriter.saveConfig(MappingWriter.java:134)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriter$saveConfig.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriterTest$_testSuccessSaveConfig_closure1.doCall(MappingWriterTest.groovy:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
at groovy.lang.Closure.call(Closure.java:405)
at groovy.lang.Closure.call(Closure.java:421)
at org.codehaus.groovy.runtime.IOGroovyMethods.withStream(IOGroovyMethods.java:1297)
at org.codehaus.groovy.runtime.ResourceGroovyMethods.withOutputStream(ResourceGroovyMethods.java:1838)
at org.codehaus.groovy.runtime.dgm$1082.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriterTest.testSuccessSaveConfig(MappingWriterTest.groovy:50)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
at de.fhg.igd.equinox.test.app.runner.TestExecutor.executeTests(TestExecutor.java:104)
at de.fhg.igd.equinox.test.app.runner.TestRunner.runTests(TestRunner.java:115)
at de.fhg.igd.equinox.test.app.runner.TestRunner.execute(TestRunner.java:90)
at de.fhg.igd.equinox.test.app.TestRunnerApplication.run(TestRunnerApplication.java:80)
at de.fhg.igd.equinox.test.app.TestRunnerApplication.run(TestRunnerApplication.java:1)
at de.fhg.igd.equinox.test.app.internal.AbstractApplication.run(AbstractApplication.java:55)
at de.fhg.igd.equinox.test.app.internal.AbstractApplication.start(AbstractApplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
2) testSuccessSaveDDL(eu.esdihumboldt.hale.io.deegree.mapping.MappingWriterTest)
org.deegree.commons.tom.ReferenceResolvingException: Unable to resolve reference to 'EPSG:4326'.
at org.deegree.commons.tom.Reference.getReferencedObject(Reference.java:164)
at org.deegree.cs.refs.coordinatesystem.CRSRef.getReferencedObject(CRSRef.java:239)
at org.deegree.cs.refs.coordinatesystem.CRSRef.getDimension(CRSRef.java:224)
at eu.esdihumboldt.hale.io.deegree.mapping.config.GenericMappingConfiguration.getGeometryStorageParameters(GenericMappingConfiguration.java:246)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingHelper.mapApplicationSchema(MappingHelper.groovy:36)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriter.getMappedSchema(MappingWriter.java:296)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriter.saveDDL(MappingWriter.java:278)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriter$saveDDL$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriterTest$_testSuccessSaveDDL_closure2.doCall(MappingWriterTest.groovy:71)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
at groovy.lang.Closure.call(Closure.java:405)
at groovy.lang.Closure.call(Closure.java:421)
at org.codehaus.groovy.runtime.IOGroovyMethods.withStream(IOGroovyMethods.java:1297)
at org.codehaus.groovy.runtime.ResourceGroovyMethods.withOutputStream(ResourceGroovyMethods.java:1838)
at org.codehaus.groovy.runtime.dgm$1082.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:115)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
at eu.esdihumboldt.hale.io.deegree.mapping.MappingWriterTest.testSuccessSaveDDL(MappingWriterTest.groovy:71)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.junit.runner.JUnitCore.run(JUnitCore.java:105)
at de.fhg.igd.equinox.test.app.runner.TestExecutor.executeTests(TestExecutor.java:104)
at de.fhg.igd.equinox.test.app.runner.TestRunner.runTests(TestRunner.java:115)
at de.fhg.igd.equinox.test.app.runner.TestRunner.execute(TestRunner.java:90)
at de.fhg.igd.equinox.test.app.TestRunnerApplication.run(TestRunnerApplication.java:80)
at de.fhg.igd.equinox.test.app.TestRunnerApplication.run(TestRunnerApplication.java:1)
at de.fhg.igd.equinox.test.app.internal.AbstractApplication.run(AbstractApplication.java:55)
at de.fhg.igd.equinox.test.app.internal.AbstractApplication.start(AbstractApplication.java:37)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
Units tests that are run on `` bundle fails due to missing jaxb-api on classpath.
This happens because, org.deegree still refers to javax.xml libraries for
jaxb
related dependencies. However, after migrating hale studio with java17, jdk no more providesjavax.xml
andJakarta
dependencies must be used.This ticket is to add
Jakarta
dependencies toorg.deegree
so that this bundle can again be included in the hale studio.excluded bundles from the product
excluded feature from
Hale.product
Stacktrace of the errors: