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
I have private static enum in my code. When I change outer class my code starts fail with NPE on enum.values() method in runtime.
I used 1.1.0-SNAPSHOT and 1.3.1-SNAPSHOT - both fail with the same way.
In console I have following exception:
HOTSWAP AGENT: 07:45:42.670 ERROR (org.hotswap.agent.plugin.jvm.ClassInitPlugin) - Patching __ha_clinit method failed.
java.lang.NullPointerException
at org.hotswap.agent.plugin.jvm.ClassInitPlugin.checkOldEnumValues(ClassInitPlugin.java:130)
at org.hotswap.agent.plugin.jvm.ClassInitPlugin.access$100(ClassInitPlugin.java:31)
at org.hotswap.agent.plugin.jvm.ClassInitPlugin$1.edit(ClassInitPlugin.java:84)
at org.hotswap.agent.javassist.expr.ExprEditor.loopBody(ExprEditor.java:198)
at org.hotswap.agent.javassist.expr.ExprEditor.doit(ExprEditor.java:91)
at org.hotswap.agent.javassist.CtBehavior.instrument(CtBehavior.java:712)
at org.hotswap.agent.plugin.jvm.ClassInitPlugin.patch(ClassInitPlugin.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:193)
at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:89)
at org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:184)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
The text was updated successfully, but these errors were encountered:
Hi,
I have private static enum in my code. When I change outer class my code starts fail with NPE on enum.values() method in runtime.
I used 1.1.0-SNAPSHOT and 1.3.1-SNAPSHOT - both fail with the same way.
In console I have following exception:
HOTSWAP AGENT: 07:45:42.670 ERROR (org.hotswap.agent.plugin.jvm.ClassInitPlugin) - Patching __ha_clinit method failed.
java.lang.NullPointerException
at org.hotswap.agent.plugin.jvm.ClassInitPlugin.checkOldEnumValues(ClassInitPlugin.java:130)
at org.hotswap.agent.plugin.jvm.ClassInitPlugin.access$100(ClassInitPlugin.java:31)
at org.hotswap.agent.plugin.jvm.ClassInitPlugin$1.edit(ClassInitPlugin.java:84)
at org.hotswap.agent.javassist.expr.ExprEditor.loopBody(ExprEditor.java:198)
at org.hotswap.agent.javassist.expr.ExprEditor.doit(ExprEditor.java:91)
at org.hotswap.agent.javassist.CtBehavior.instrument(CtBehavior.java:712)
at org.hotswap.agent.plugin.jvm.ClassInitPlugin.patch(ClassInitPlugin.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:193)
at org.hotswap.agent.annotation.handler.PluginClassFileTransformer.transform(PluginClassFileTransformer.java:89)
at org.hotswap.agent.util.HotswapTransformer.transform(HotswapTransformer.java:184)
at sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
The text was updated successfully, but these errors were encountered: