Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while initializing extension <org.eclipse.lemminx.extensions.relaxng.RelaxNGPlugin> #551

Closed
laeubi opened this issue Feb 16, 2024 · 2 comments

Comments

@laeubi
Copy link
Contributor

laeubi commented Feb 16, 2024

I currently try to build like described here: https://github.com/laeubi/lemminx-maven/blob/master/CONTRIBUTING.md

The log is all spammed with these repeated exceptions, the build succeeds but this does not look right

Feb. 16, 2024 6:26:21 AM org.eclipse.lemminx.services.extensions.XMLExtensionsRegistry registerExtension
SCHWERWIEGEND: Error while initializing extension <org.eclipse.lemminx.extensions.relaxng.RelaxNGPlugin>
java.lang.SecurityException: class "com.thaiopensource.relaxng.pattern.MySchemaPatternBuilder"'s signer information does not match signer information of other classes in the same package
	at java.base/java.lang.ClassLoader.checkCerts(ClassLoader.java:1158)
	at java.base/java.lang.ClassLoader.preDefineClass(ClassLoader.java:902)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1010)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	at org.eclipse.lemminx.extensions.relaxng.RelaxNGPlugin.start(RelaxNGPlugin.java:90)
	at org.eclipse.lemminx.services.extensions.XMLExtensionsRegistry.registerExtension(XMLExtensionsRegistry.java:284)
	at org.eclipse.lemminx.services.extensions.XMLExtensionsRegistry.initialize(XMLExtensionsRegistry.java:270)
	at org.eclipse.lemminx.services.extensions.XMLExtensionsRegistry.initializeIfNeeded(XMLExtensionsRegistry.java:255)
	at org.eclipse.lemminx.services.extensions.XMLExtensionsRegistry.getCompletionParticipants(XMLExtensionsRegistry.java:155)
	at org.eclipse.lemminx.services.XMLCompletions.getCompletionParticipants(XMLCompletions.java:1037)
	at org.eclipse.lemminx.services.XMLCompletions.collectOpenTagSuggestions(XMLCompletions.java:691)
	at org.eclipse.lemminx.services.XMLCompletions.collectInsideContent(XMLCompletions.java:790)
	at org.eclipse.lemminx.services.XMLCompletions.doComplete(XMLCompletions.java:227)
	at org.eclipse.lemminx.services.XMLLanguageService.doComplete(XMLLanguageService.java:171)
	at org.eclipse.lemminx.services.XMLLanguageService.doComplete(XMLLanguageService.java:166)
	at org.eclipse.lemminx.extensions.maven.participants.completion.PathWebResourcesTest.testMojoParametersDirectories(PathWebResourcesTest.java:194)
	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.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)

@angelozerr
Copy link
Contributor

It is the same issue than eclipse-lemminx/lemminx#1589

@mickaelistria
Copy link
Contributor

It is the same issue than eclipse-lemminx/lemminx#1589

Indeed, an issue from upstream, nothing lemminx-maven can do here I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants