[bug] unsupported class file major version on MAC
[bug] unsupported class file major version on MAC
Greetings,
I have downloaded the latest MAC version (7.1.1 mac-113) and tried to add my developed indicators. When I chose the jar file and the indicator, Bookmap has reported Unsupported class file major version 57. I got surprised, since I had no Java 13 installed. I have checked my classfiles with javap and they report major version 52, so on the indicator side everything seems to be working fine. I have also checked couple of classes in the unpacked Bookmap.jar and the major version seems also to be 52. Is it possible that you have packaged some class files which were compiled with JDK 13?
Please find the thrown exception below. Based on the exception, do you have an idea where the problem might be?
Many thanks in advance,
Zoltan
20200507 15:11:53.618(UTC) WARN: Failed to enumerate entry points
velox.bookmap.bV: java.lang.IllegalArgumentException: Unsupported class file major version 57
at velox.bookmap.br.a(SourceFile:266)
at velox.bookmap.br.a(SourceFile:222)
at velox.bookmap.br.a(SourceFile:602)
at velox.bookmap.br.a(SourceFile:569)
at velox.bookmap.Fj.a(SourceFile:591)
at velox.bookmap.Fj.f(SourceFile:487)
at velox.bookmap.Fj.a(SourceFile:427)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at velox.bookmap.Pz.dispatchEvent(SourceFile:70)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 57
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:158)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:146)
at velox.bookmap.uW.a(SourceFile:117)
at velox.bookmap.uW.findClass(SourceFile:88)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at velox.bookmap.br.a(SourceFile:264)
... 43 more
I have downloaded the latest MAC version (7.1.1 mac-113) and tried to add my developed indicators. When I chose the jar file and the indicator, Bookmap has reported Unsupported class file major version 57. I got surprised, since I had no Java 13 installed. I have checked my classfiles with javap and they report major version 52, so on the indicator side everything seems to be working fine. I have also checked couple of classes in the unpacked Bookmap.jar and the major version seems also to be 52. Is it possible that you have packaged some class files which were compiled with JDK 13?
Please find the thrown exception below. Based on the exception, do you have an idea where the problem might be?
Many thanks in advance,
Zoltan
20200507 15:11:53.618(UTC) WARN: Failed to enumerate entry points
velox.bookmap.bV: java.lang.IllegalArgumentException: Unsupported class file major version 57
at velox.bookmap.br.a(SourceFile:266)
at velox.bookmap.br.a(SourceFile:222)
at velox.bookmap.br.a(SourceFile:602)
at velox.bookmap.br.a(SourceFile:569)
at velox.bookmap.Fj.a(SourceFile:591)
at velox.bookmap.Fj.f(SourceFile:487)
at velox.bookmap.Fj.a(SourceFile:427)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at velox.bookmap.Pz.dispatchEvent(SourceFile:70)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 57
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:158)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:146)
at velox.bookmap.uW.a(SourceFile:117)
at velox.bookmap.uW.findClass(SourceFile:88)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Unknown Source)
at velox.bookmap.br.a(SourceFile:264)
... 43 more
Re: [bug] unsupported class file major version on MAC
Hi, could you send us your file so we can try to reproduce the issue?
-
- Site Admin
- Posts: 282
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: [bug] unsupported class file major version on MAC
Hi zcsoka. Right. We actually did update JRE bundled with mac version to version 14 due to notarization requirements (it's problematic to notarize JRE 8). But we didn't expect that to have any significant effect on addons. We'll check it shortly.
Re: [bug] unsupported class file major version on MAC
Hi again. I can't find a way to download your jar file. Could you send it to me in private message? Or send your email in private message.
Oh, seems i found the topic with your jar https://www.bookmap.com/forum/viewtopic ... 2466#p2466 is it the one?
Oh, seems i found the topic with your jar https://www.bookmap.com/forum/viewtopic ... 2466#p2466 is it the one?
Re: [bug] unsupported class file major version on MAC
I can't reproduce the issue.
Downloaded z0li-1.1.jar from first post here https://www.bookmap.com/forum/viewtopic ... 2466#p2466
Can you still reproduce it?
Downloaded z0li-1.1.jar from first post here https://www.bookmap.com/forum/viewtopic ... 2466#p2466
Can you still reproduce it?
Re: [bug] unsupported class file major version on MAC
Dowloaded z0li-indicator.jar here https://marketplace.bookmap.com/vendors/z0li-store/
Still can't reproduce
Can you reproduce on any of your jars? I'm trying on mac-115 build though
Still can't reproduce
Can you reproduce on any of your jars? I'm trying on mac-115 build though