You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running AllLines.java in samples with BTrace 1.3.10+ the program will raise a StringIndexOutOfBoundsException. This problem does not exist in 1.3.9.
Debug Infomation:
btrace DEBUG: initial script is ./AllLines.class
btrace INFO: Redirecting output to ./a.txt
btrace DEBUG: loading BTrace class
btrace DEBUG: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at com.sun.btrace.runtime.OnMethod.setMethod(OnMethod.java:146)
at com.sun.btrace.runtime.BTraceProbePersisted.readOnMethods(BTraceProbePersisted.java:182)
at com.sun.btrace.runtime.BTraceProbePersisted.read_1(BTraceProbePersisted.java:147)
at com.sun.btrace.runtime.BTraceProbePersisted.read(BTraceProbePersisted.java:130)
at com.sun.btrace.runtime.BTraceProbeFactory.createProbe(BTraceProbeFactory.java:91)
at com.sun.btrace.agent.Client.load(Client.java:423)
at com.sun.btrace.agent.Client.loadClass(Client.java:280)
at com.sun.btrace.agent.FileClient.init(FileClient.java:62)
at com.sun.btrace.agent.FileClient.(FileClient.java:71)
at com.sun.btrace.agent.Main.loadBTraceScript(Main.java:614)
at com.sun.btrace.agent.Main.startScripts(Main.java:244)
at com.sun.btrace.agent.Main.main(Main.java:112)
at com.sun.btrace.agent.Main.premain(Main.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
The text was updated successfully, but these errors were encountered:
When running AllLines.java in samples with BTrace 1.3.10+ the program will raise a StringIndexOutOfBoundsException. This problem does not exist in 1.3.9.
Debug Infomation:
btrace DEBUG: initial script is ./AllLines.class
btrace INFO: Redirecting output to ./a.txt
btrace DEBUG: loading BTrace class
btrace DEBUG: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at com.sun.btrace.runtime.OnMethod.setMethod(OnMethod.java:146)
at com.sun.btrace.runtime.BTraceProbePersisted.readOnMethods(BTraceProbePersisted.java:182)
at com.sun.btrace.runtime.BTraceProbePersisted.read_1(BTraceProbePersisted.java:147)
at com.sun.btrace.runtime.BTraceProbePersisted.read(BTraceProbePersisted.java:130)
at com.sun.btrace.runtime.BTraceProbeFactory.createProbe(BTraceProbeFactory.java:91)
at com.sun.btrace.agent.Client.load(Client.java:423)
at com.sun.btrace.agent.Client.loadClass(Client.java:280)
at com.sun.btrace.agent.FileClient.init(FileClient.java:62)
at com.sun.btrace.agent.FileClient.(FileClient.java:71)
at com.sun.btrace.agent.Main.loadBTraceScript(Main.java:614)
at com.sun.btrace.agent.Main.startScripts(Main.java:244)
at com.sun.btrace.agent.Main.main(Main.java:112)
at com.sun.btrace.agent.Main.premain(Main.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:382)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:397)
The text was updated successfully, but these errors were encountered: