JRebel Remote + Zing JVM = ERROR Failed to transform class

ZeroTurnaround Homepage Forums JRebel Support JRebel Remote + Zing JVM = ERROR Failed to transform class

This topic contains 2 replies, has 2 voices, and was last updated by  Vita Krainik 1 week, 6 days ago.

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

    lgvier
    Member

    Hi, I’m trying to run the Jrebel agent on a Zing VM. Any special considerations I should know about?

    I’m seeing several instances of this error (for different class names) and eventually the VM dies:

    
    2017-03-09 21:33:25 JRebel: ERROR Failed to transform class java/net/PlainSocketImpl: java.lang.ArrayIndexOutOfBoundsException: 3
    	at com.zeroturnaround.javarebel.eln.d(SourceFile:382)
    	at com.zeroturnaround.javarebel.exl.a(SourceFile:71)
    	at com.zeroturnaround.javarebel.elk.a(SourceFile:485)
    	at com.zeroturnaround.javarebel.ekw.a(SourceFile:1499)
    	at com.zeroturnaround.javarebel.ekw.b(SourceFile:1032)
    	at com.zeroturnaround.javarebel.ekw.a(SourceFile:708)
    	at com.zeroturnaround.javarebel.ekw.a(SourceFile:521)
    	at com.zeroturnaround.javarebel.eum.a(SourceFile:52)
    	at com.zeroturnaround.javarebel.ewd.a(SourceFile:371)
    	at com.zeroturnaround.javarebel.ewd.b(SourceFile:316)
    	at com.zeroturnaround.javarebel.ewd.a(SourceFile:158)
    	at com.zeroturnaround.javarebel.ewo.a(SourceFile:67)
    	at com.zeroturnaround.javarebel.ewo.a(SourceFile:39)
    	at com.zeroturnaround.javarebel.ewo.transform(SourceFile:29)
    	at com.zeroturnaround.reload.jvmti.MinimalInstrumentation.applyTransformation(SourceFile:65)
    	at com.zeroturnaround.reload.jvmti.MinimalInstrumentation.transform(SourceFile:56)
    	at java.net.Socket.setImpl(Socket.java:503)
    	at java.net.Socket.<init>(Socket.java:84)
    	at com.zeroturnaround.javarebel.bki.a(SourceFile:89)
    	at com.zeroturnaround.javarebel.bon.a(SourceFile:136)
    	at com.zeroturnaround.javarebel.boj.a(SourceFile:150)
    	at com.zeroturnaround.javarebel.bok.a(SourceFile:121)
    	at com.zeroturnaround.javarebel.bnz.a(SourceFile:575)
    	at com.zeroturnaround.javarebel.bnz.a(SourceFile:425)
    	at com.zeroturnaround.javarebel.bnl.a(SourceFile:820)
    	at com.zeroturnaround.javarebel.bnl.a(SourceFile:754)
    	at com.zeroturnaround.javarebel.bnl.a(SourceFile:732)
    	at com.zeroturnaround.javarebel.eru.a(SourceFile:111)
    	at com.zeroturnaround.javarebel.eru.a(SourceFile:102)
    	at com.zeroturnaround.javarebel.erj.b(SourceFile:53)
    	at com.zeroturnaround.javarebel.wb.a(SourceFile:75)
    	at com.zeroturnaround.javarebel.wb.run(SourceFile:48)
    
    2017-03-09 21:33:25 JRebel: ERROR Failed to transform class org/zeroturnaround/jrebel/stats/id/container/ContainerIdentifier: java.lang.ArrayIndexOutOfBoundsException
    
    2017-03-09 21:33:25 JRebel: ERROR Failed to transform class java/net/AbstractPlainSocketImpl: java.lang.ArrayIndexOutOfBoundsException
    

    I’m using jrebel-7.0.5, RHEL (kernel 2.6.32-642.6.2.el6.x86_64) and here are my VM options:

    
    -Xmx49g  -XX:+ProfileLiveObjects -XX:ARTAPort=50000 -XX:+DisableExplicitGC -XX:+ConcurrentDeflation -XX:ReservedCodeCacheSize=768m -XX:+PrintGCApplicationStoppedTime -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -Xloggc:/redacted/logs/zing.gc.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=7 -XX:GCLogFileSize=400M -XX:StringTableSize=100019 -XX:-UseOptimizedFutexFlags -XX:+KeepSafepointsInCountedLoops -Xrs -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8081 -agentpath:/redacted/jrebel/lib/libjrebel64.so -Drebel.remoting_plugin=true
    

    Thanks,
    -Geo

    #61933

    lgvier
    Member

    Oh, the JVM version is:

    java version "1.8.0-zing_16.01.2.0"
    Zing Runtime Environment for Java Applications (build 1.8.0-zing_16.01.2.0-b2)
    Zing 64-Bit Tiered VM (build 1.8.0-zing_16.01.2.0-b2-product-azlinuxM-X86_64, mixed mode)
    #61952

    Vita Krainik
    Rebel Staff

    Hello, Igvier!

    Could you try to update your Zing version to the latest? We have previously had a similar case, this error is likely caused by a bug in the old Zing version.

    Let us know if the error goes away after the update.

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

You must be logged in to reply to this topic.