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

JRebel, XRebel and Intellij 2017.3

$
0
0

I am getting errors trying to use JRebel and XRebel with the newly released Intellij 2017.3.

I get this error when trying to start my project with JRebel.
Could not find agent library /var/folders/8s/jcq3hqc9741_qjt15y2zh7jh0000gn/T/jrebel6-temp/lib/libjrebel32.dylib in absolute path, with error: dlopen(/var/folders/8s/jcq3hqc9741_qjt15y2zh7jh0000gn/T/jrebel6-temp/lib/libjrebel32.dylib, 1): no suitable image found. Did find:
/var/folders/8s/jcq3hqc9741_qjt15y2zh7jh0000gn/T/jrebel6-temp/lib/libjrebel32.dylib: mach-o, but wrong architecture
/private/var/folders/8s/jcq3hqc9741_qjt15y2zh7jh0000gn/T/jrebel6-temp/lib/libjrebel32.dylib: mach-o, but wrong architecture

I also had to remove the xrebel.jar from my VM options before I could get the project to run. The error I get for XRebel.
XRebel: Starting logging to file: /Users/kbeckstrand/.xrebel/xrebel.log
Exception in thread “main” 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 java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: java.lang.UnsupportedOperationException: class redefinition failed: attempted to add a method
Disconnected from server
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)
… 6 more
Disconnected from the target VM, address: ‘127.0.0.1:64958’, transport: ‘socket’

Any guidance would be appreciated.

  • This topic was modified 10 minutes ago by  geoknr.

Viewing all articles
Browse latest Browse all 2540

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>