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
I am trying to use the file leak detector jar in my application, when add the javaagent and start the jvm, getting the following error. I am using IBM JDK 7
File leak detector installed
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:405)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:420)
Caused by: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=java/net/AbstractPlainSocketImpl, method=create(Z)V, pc=6
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:94)
at java.lang.J9VMInternals.verify(J9VMInternals.java:92)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:169)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:256)
at org.kohsuke.file_leak_detector.AgentMain.premain(AgentMain.java:130)
... 6 more
Fatal error: processing of -javaagent failed
when I pass the jvm argument -Xverify:none, then I get the following error
File leak detector installed
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:405)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:420)
Caused by: java.lang.ClassFormatError
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:164)
at org.kohsuke.file_leak_detector.AgentMain.premain(AgentMain.java:126)
... 6 more
Fatal error: processing of -javaagent failed
Please let me know how I can get pass this problem and bring up the jvm
Thanks,
Sreedhar.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to use the file leak detector jar in my application, when add the javaagent and start the jvm, getting the following error. I am using IBM JDK 7
File leak detector installed
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:405)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:420)
Caused by: java.lang.VerifyError: JVMVRFY012 stack shape inconsistent; class=java/net/AbstractPlainSocketImpl, method=create(Z)V, pc=6
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:94)
at java.lang.J9VMInternals.verify(J9VMInternals.java:92)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:169)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:256)
at org.kohsuke.file_leak_detector.AgentMain.premain(AgentMain.java:130)
... 6 more
Fatal error: processing of -javaagent failed
when I pass the jvm argument -Xverify:none, then I get the following error
File leak detector installed
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:405)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:420)
Caused by: java.lang.ClassFormatError
at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:164)
at org.kohsuke.file_leak_detector.AgentMain.premain(AgentMain.java:126)
... 6 more
Fatal error: processing of -javaagent failed
Please let me know how I can get pass this problem and bring up the jvm
Thanks,
Sreedhar.
The text was updated successfully, but these errors were encountered: