Intellij idea plugin bug

This topic contains 3 replies, has 2 voices, and was last updated by  oznyang 3 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #64550

    oznyang
    Member

    When I use idea to debug my programe, It throw a Exception, and crash

    msg:
    4
    java.lang.ArrayIndexOutOfBoundsException: 4
    at com.zeroturnaround.jdi.JRTypeComponent.calledFromIntellijBytecodeUtils(JRTypeComponent.java:79)

    #64580

    Vita Krainik
    Rebel Staff

    Hello!

    Can you send a full stack trace of the error and trace jrebel.log from $USER_HOME/.jrebel directory to support@zeroturnaround.com after reproducing the issue? Please include the link to this post in your email.

    If you could also describe when the Exception appear, what steps you make, it would help to escalate the issue.

    #64626

    oznyang
    Member

    No more msg found in jrebel.log
    com.zeroturnaround.jdi.JRTypeComponent.calledFromIntellijBytecodeUtils(JRTypeComponent.java:79)
    not enough?

    #65364

    oznyang
    Member

    I try decompile code and found bug:
    com.zeroturnaround.jdi.JRTypeComponent#calledFromIntellijBytecodeUtils:

    
        private boolean calledFromIntellijBytecodeUtils() {
            boolean isIdea = com.zeroturnaround.jdi.util.Configuration.getInstance().getIDEType() == 4;
            if (isIdea) {
                Throwable t = new Throwable();
                return "com.intellij.debugger.jdi.MethodBytecodeUtil".equals(t.getStackTrace()[4].getClassName());
            }
            return false;
        }
    

    on my macbook,jdk8, t.printStackTrace output:

    
    java.lang.Throwable
    	at com.zeroturnaround.jdi.JRTypeComponent.calledFromIntellijBytecodeUtils(JRTypeComponent.java:84)
    
    
    • This reply was modified 3 months, 2 weeks ago by  oznyang.
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.