Replies: 3 comments 3 replies
-
It looks like the service loader setup has been broken.
I found mention of |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Caused by: java.lang.RuntimeException: internal error
at org.apache.jena.ext.xerces.impl.dv.xs.XSSimpleTypeDecl.applyFacets1(XSSimpleTypeDecl.java:768)
at org.apache.jena.ext.xerces.impl.dv.xs.BaseSchemaDVFactory.createBuiltInTypes(BaseSchemaDVFactory.java:205)
at org.apache.jena.ext.xerces.impl.dv.xs.SchemaDVFactoryImpl.createBuiltInTypes(SchemaDVFactoryImpl.java:44)
at org.apache.jena.ext.xerces.impl.dv.xs.SchemaDVFactoryImpl.<clinit>(SchemaDVFactoryImpl.java:39) (unfortunately, it hides the exception stacktrace for the exception that turned into "internal error") Chasing this and it does seem to happen because of a subclass of This doesn't prove that's the cause but it is somewhere near. A web search suggests For 5.3.0, we have been cleaning up the Xerces code incorporated in Jena, reducing it to just what Jena uses. I have just converted all ResourceBundles (#2938) that still get used to data in java source code so in the next release there will be no use of |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am using Jena as part of a Spring boot application that I am trying to build as a native image using graalvm. Whilst the whole process works, Jena seems to be failing, mainly the Jena system and subsystems are not being loaded - see exception below:
Just to give some more context, the application is loading, however hitting this error first time I am creating an instance and calling
DatasetFactory.createTxnMem();
in the constructor.I am using the Jena POM dependency and also create and use the shaded JAR in the packaging:
I've tried various things, including using the direct dependencies instead of the Jena POM, but nothing seemed to work. Any potential ideas what i might be missing?
Thanks
Jer
Beta Was this translation helpful? Give feedback.
All reactions