2
1
0

Hi,
I need to use JDK-17 on my server to make the joget Hedera plugin pack work.
I installed JDK-17 on my local and changed the path in joget-start batch file. It is working perfectly.

But when I am doing the same on my other server I am getting bombarded with errors. I am not sure why so I need someone's help here.
Some Error messages are attached bellow

2024-02-13 20:45:20.756 ERROR o.g.a.w.PointcutClassFileTransformer - Unsupported class file major version 58
java.lang.IllegalArgumentException: Unsupported class file major version 58
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:184)
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:152)
        at org.glowroot.agent.weaving.PointcutClassFileTransformer.transform(PointcutClassFileTransformer.java:39)
        at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
        at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
        at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
        at java.base/java.lang.ClassLoader.defineClass1(Native Method)
        at java.base/java.lang.System$2.defineClass(System.java:2307)
        at java.base/java.lang.reflect.Proxy$ProxyBuilder.defineProxyClass(Proxy.java:560)
        at java.base/java.lang.reflect.Proxy$ProxyBuilder.build(Proxy.java:670)
        at java.base/java.lang.reflect.Proxy.lambda$getProxyConstructor$0(Proxy.java:429)
        at java.base/jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329)
        at java.base/jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205)
        at java.base/java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:427)
        at java.base/java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1037)
        at java.base/sun.reflect.annotation.AnnotationParser$1.run(AnnotationParser.java:302)
        at java.base/sun.reflect.annotation.AnnotationParser$1.run(AnnotationParser.java:300)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
        at java.base/sun.reflect.annotation.AnnotationParser.annotationForMap(AnnotationParser.java:300)
        at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:289)
        at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
        at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
        at java.base/java.lang.Class.createAnnotationData(Class.java:4068)
        at java.base/java.lang.Class.annotationData(Class.java:4057)
        at java.base/java.lang.Class.getAnnotation(Class.java:3940)
        at org.glowroot.agent.weaving.AdviceCache.getShimTypes(AdviceCache.java:203)
        at org.glowroot.agent.weaving.AdviceCache.<init>(AdviceCache.java:84)
        at org.glowroot.agent.init.AgentModule.<init>(AgentModule.java:147)
        at org.glowroot.agent.embedded.init.EmbeddedAgentModule.<init>(EmbeddedAgentModule.java:129)
        at org.glowroot.agent.embedded.init.EmbeddedGlowrootAgentInit.init(EmbeddedGlowrootAgentInit.java:69)
        at org.glowroot.agent.MainEntryPoint.start(MainEntryPoint.java:266)
        at org.glowroot.agent.MainEntryPoint.premain(MainEntryPoint.java:173)
        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.glowroot.agent.AgentPremain.premain(AgentPremain.java:59)
        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 java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)
2024-02-13 20:45:21.874 ERROR o.g.a.w.PointcutClassFileTransformer - Unsupported class file major version 61
java.lang.IllegalArgumentException: Unsupported class file major version 61
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:184)
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:152)
        at org.glowroot.agent.weaving.PointcutClassFileTransformer.transform(PointcutClassFileTransformer.java:39)
        at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
        at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
        at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
        at java.base/java.util.regex.Pattern.group0(Pattern.java:2977)
        at java.base/java.util.regex.Pattern.sequence(Pattern.java:2124)
        at java.base/java.util.regex.Pattern.expr(Pattern.java:2069)
        at java.base/java.util.regex.Pattern.compile(Pattern.java:1783)
        at java.base/java.util.regex.Pattern.<init>(Pattern.java:1430)
        at java.base/java.util.regex.Pattern.compile(Pattern.java:1069)
        at org.glowroot.agent.util.MaybePatterns.buildPattern(MaybePatterns.java:30)
        at org.glowroot.agent.weaving.AdviceBuilder.build(AdviceBuilder.java:152)
        at org.glowroot.agent.weaving.AdviceCache.getAdvisors(AdviceCache.java:181)
        at org.glowroot.agent.weaving.AdviceCache.<init>(AdviceCache.java:82)
        at org.glowroot.agent.init.AgentModule.<init>(AgentModule.java:147)
        at org.glowroot.agent.embedded.init.EmbeddedAgentModule.<init>(EmbeddedAgentModule.java:129)
        at org.glowroot.agent.embedded.init.EmbeddedGlowrootAgentInit.init(EmbeddedGlowrootAgentInit.java:69)
        at org.glowroot.agent.MainEntryPoint.start(MainEntryPoint.java:266)
        at org.glowroot.agent.MainEntryPoint.premain(MainEntryPoint.java:173)
        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.glowroot.agent.AgentPremain.premain(AgentPremain.java:59)
        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 java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)
2024-02-13 20:45:23.030 ERROR o.g.a.w.PointcutClassFileTransformer - Unsupported class file major version 61
java.lang.IllegalArgumentException: Unsupported class file major version 61
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:184)
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:166)
        at org.glowroot.agent.shaded.org.objectweb.asm.ClassReader.<init>(ClassReader.java:152)
        at org.glowroot.agent.weaving.PointcutClassFileTransformer.transform(PointcutClassFileTransformer.java:39)
        at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
        at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
        at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
        at org.glowroot.agent.weaving.ClassLoaders.defineClassesInBootstrapClassLoader(ClassLoaders.java:49)
        at org.glowroot.agent.weaving.AdviceCache.<init>(AdviceCache.java:108)
        at org.glowroot.agent.init.AgentModule.<init>(AgentModule.java:147)
        at org.glowroot.agent.embedded.init.EmbeddedAgentModule.<init>(EmbeddedAgentModule.java:129)
        at org.glowroot.agent.embedded.init.EmbeddedGlowrootAgentInit.init(EmbeddedGlowrootAgentInit.java:69)
        at org.glowroot.agent.MainEntryPoint.start(MainEntryPoint.java:266)
        at org.glowroot.agent.MainEntryPoint.premain(MainEntryPoint.java:173)
        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.glowroot.agent.AgentPremain.premain(AgentPremain.java:59)
        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 java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:491)
        at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)


    CommentAdd your comment...

    1 answer

    1.  
      3
      2
      1

      Found the issue.
      Joget version 8.0.10 has an older version of Glowroot that does not work with JDK-17.
      So I updated Glowroot version in joget wflow folder.

      1. Anders

        Hi, where did you get the copy of 8.0.10 from? My 8.0.10 comes with Glowroot version 0.14.0 that works with Java 17.

      2. Anas Misbah Shami

        Hi, I downloaded from https://www.joget.org/download/ Enterprise edition

      CommentAdd your comment...