Debugging with IntelliJ 2017.3 and JBOSS 6.4.0 won't start with Xrebel 3.4.1.

ZeroTurnaround Homepage Forums XRebel Debugging with IntelliJ 2017.3 and JBOSS 6.4.0 won't start with Xrebel 3.4.1.

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  abagwell 1 week, 3 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66767

    abagwell
    Member

    This is the error I get.

    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
    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
    Exception in thread “main” Disconnected from the target VM, address: ‘127.0.0.1:63510’, transport: ‘socket’
    Disconnected from server

    #66768

    Tiit Oja
    Rebel Staff

    Hello,

    This is an issue with XRebel and latest IntelliJ IDEA 2017.3, only when debugging.
    More information about this issue can be seen at the following forum thread:
    https://zeroturnaround.com/forums/topic/jrebel-and-intellij-2017-3/

    All the best,
    Tiit

    #66769

    abagwell
    Member

    Thank you. It worked.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.