You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.glassfish.rmic.Main.getEnv(Main.java:475)
at org.glassfish.rmic.Main.doCompile(Main.java:491)
at org.glassfish.rmic.Main.compile(Main.java:156)
at sun.rmi.rmic.Main.main(Main.java:33)
Caused by: java.lang.IllegalStateException: ASM9_EXPERIMENTAL can only be used by classes compiled with --enable-preview
at org.objectweb.asm.Constants.checkIsPreview(Constants.java:217)
at org.objectweb.asm.Constants.checkAsmExperimental(Constants.java:189)
at org.objectweb.asm.ClassVisitor.(ClassVisitor.java:79)
at org.objectweb.asm.ClassVisitor.(ClassVisitor.java:57)
at org.glassfish.rmic.asm.AsmClassFactory$ClassDefinitionVisitor.(AsmClassFactory.java:112)
at org.glassfish.rmic.asm.AsmClassFactory.loadDefinition(AsmClassFactory.java:96)
at org.glassfish.rmic.tools.javac.BatchEnvironment.loadFile(BatchEnvironment.java:476)
at org.glassfish.rmic.tools.javac.BatchEnvironment.loadDefinition(BatchEnvironment.java:577)
at org.glassfish.rmic.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:127)
at org.glassfish.rmic.iiop.BatchEnvironment.(BatchEnvironment.java:86)
... 8 more
Cannot instantiate class org.glassfish.rmic.iiop.BatchEnvironment
Exception in thread "main" java.lang.NullPointerException
at org.glassfish.rmic.Main.doCompile(Main.java:492)
at org.glassfish.rmic.Main.compile(Main.java:156)
at sun.rmi.rmic.Main.main(Main.java:33)
The text was updated successfully, but these errors were encountered:
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.glassfish.rmic.Main.getEnv(Main.java:475)
at org.glassfish.rmic.Main.doCompile(Main.java:491)
at org.glassfish.rmic.Main.compile(Main.java:156)
at sun.rmi.rmic.Main.main(Main.java:33)
Caused by: java.lang.IllegalStateException: ASM9_EXPERIMENTAL can only be used by classes compiled with --enable-preview
at org.objectweb.asm.Constants.checkIsPreview(Constants.java:217)
at org.objectweb.asm.Constants.checkAsmExperimental(Constants.java:189)
at org.objectweb.asm.ClassVisitor.(ClassVisitor.java:79)
at org.objectweb.asm.ClassVisitor.(ClassVisitor.java:57)
at org.glassfish.rmic.asm.AsmClassFactory$ClassDefinitionVisitor.(AsmClassFactory.java:112)
at org.glassfish.rmic.asm.AsmClassFactory.loadDefinition(AsmClassFactory.java:96)
at org.glassfish.rmic.tools.javac.BatchEnvironment.loadFile(BatchEnvironment.java:476)
at org.glassfish.rmic.tools.javac.BatchEnvironment.loadDefinition(BatchEnvironment.java:577)
at org.glassfish.rmic.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:127)
at org.glassfish.rmic.iiop.BatchEnvironment.(BatchEnvironment.java:86)
... 8 more
Cannot instantiate class org.glassfish.rmic.iiop.BatchEnvironment
Exception in thread "main" java.lang.NullPointerException
at org.glassfish.rmic.Main.doCompile(Main.java:492)
at org.glassfish.rmic.Main.compile(Main.java:156)
at sun.rmi.rmic.Main.main(Main.java:33)
The text was updated successfully, but these errors were encountered: