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

Unsupported class file major version 61 #3174

Closed
LuciusChen opened this issue Jun 3, 2024 · 0 comments
Closed

Unsupported class file major version 61 #3174

LuciusChen opened this issue Jun 3, 2024 · 0 comments

Comments

@LuciusChen
Copy link

LuciusChen commented Jun 3, 2024

JDK: 22
Editor: Emacs
LSP Client: Eglot

[stderr]  Transformer SetSymbolDuringMethodCallScript failed on org/eclipse/jdt/internal/formatter/DefaultCodeFormatter. Trace:
[stderr]  java.lang.IllegalArgumentException: Unsupported class file major version 61
[stderr]  	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:184)
[stderr]  	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
[stderr]  	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:152)
[stderr]  	at lombok.patcher.PatchScript.runASM(PatchScript.java:102)
[stderr]  	at lombok.patcher.scripts.MethodLevelPatchScript.patch(MethodLevelPatchScript.java:53)
[stderr]  	at lombok.patcher.ScriptManager$OurClassFileTransformer.transform(ScriptManager.java:106)
[stderr]  	at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
[stderr]  	at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
[stderr]  	at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:610)
[stderr]  	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
[stderr]  	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1027)
[stderr]  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:293)
[stderr]  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:774)
[stderr]  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:691)
[stderr]  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:657)
[stderr]  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:637)
[stderr]  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:616)
[stderr]  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:348)
[stderr]  	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:414)
[stderr]  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:520)
[stderr]  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
[stderr]  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
[stderr]  	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[stderr]  	at org.eclipse.jdt.internal.core.JavaModelManager$8.optionsChanged(JavaModelManager.java:2002)
[stderr]  	at org.eclipse.osgi.internal.debug.FrameworkDebugOptions.addingService(FrameworkDebugOptions.java:543)
[stderr]  	at org.eclipse.osgi.internal.debug.FrameworkDebugOptions.addingService(FrameworkDebugOptions.java:1)
[stderr]  	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:947)
[stderr]  	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
[stderr]  	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:257)
[stderr]  	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:230)
[stderr]  	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:907)
[stderr]  	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:133)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:995)
[stderr]  	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
[stderr]  	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
[stderr]  	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:956)
[stderr]  	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:890)
[stderr]  	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:145)
[stderr]  	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:274)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:501)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:521)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1080)
[stderr]  	at org.eclipse.jdt.internal.core.JavaModelManager.registerDebugOptionsListener(JavaModelManager.java:1965)
[stderr]  	at org.eclipse.jdt.core.JavaCore.start(JavaCore.java:6656)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:833)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
[stderr]  	at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:825)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:775)
[stderr]  	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1057)
[stderr]  	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:387)
[stderr]  	at org.eclipse.osgi.container.Module.doStart(Module.java:639)
[stderr]  	at org.eclipse.osgi.container.Module.start(Module.java:498)
[stderr]  	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:528)
[stderr]  	at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
[stderr]  	at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:620)
[stderr]  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:348)
[stderr]  	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:414)
[stderr]  	at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41)
[stderr]  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:516)
[stderr]  	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
[stderr]  	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
[stderr]  	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
[stderr]  	at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
[stderr]  	at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3549)
[stderr]  	at java.base/java.lang.Class.getConstructor0(Class.java:3754)
[stderr]  	at java.base/java.lang.Class.getConstructor(Class.java:2442)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:815)
[stderr]  	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:761)
[stderr]  	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1057)
[stderr]  	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:387)
[stderr]  	at org.eclipse.osgi.container.Module.doStart(Module.java:639)
[stderr]  	at org.eclipse.osgi.container.Module.start(Module.java:498)
[stderr]  	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:2074)
[stderr]  	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:143)
[stderr]  	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2065)
[stderr]  	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2007)
[stderr]  	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1968)
[stderr]  	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1884)
[stderr]  	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
[stderr]  	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
[stderr]  	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)
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

1 participant