Quantcast
Channel: zeroturnaround.com » All Posts
Viewing all articles
Browse latest Browse all 2540

Reply To: JRebel, XRebel and Intellij 2017.3

$
0
0

I saw the following error with the new version of Intellij

FATAL ERROR in native method: processing of -javaagent failed
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl._jrLoadClassAndStartAgent(InstrumentationImpl.java:386)
at com.zeroturnaround.jrebelbase.reorder.a.invoke(SourceFile:85)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.UnsupportedOperationException: class redefinition failed: attempted to add a method
at sun.instrument.InstrumentationImpl.redefineClasses0(Native Method)
at sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:170)
at com.zeroturnaround.xrebel.bootstrap.f.a(XRebel:142)
at com.zeroturnaround.xrebel.bootstrap.k.a(XRebel:24)
at com.zeroturnaround.xrebel.bootstrap.n.a(XRebel:57)
at com.zeroturnaround.xrebel.bootstrap.AgentMain.premain(XRebel:67)
… 10 more
Exception in thread “main” Disconnected from the target VM, address: ‘127.0.0.1:64041’, transport: ‘socket’


Viewing all articles
Browse latest Browse all 2540

Trending Articles