Open GoogleCodeExporter opened 9 years ago
Some progress toward a solution. I succeeded in getting a process list by
running javasnoop in a 32bit jvm - where the applets I'm using as a target are
also running in 32bit. Next glitch is that after attaching, "turn off
security" fails with a nullpointerexception. Maybe this is related to the
recent java security wars.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Unknown Source)
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(Unknown Source)
Caused by: java.lang.NullPointerException
at sun.plugin2.applet.Plugin2Manager.getPlugin2ManagerList(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.getFromAppContext(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.getCurrentManager(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.getCurrentAppletExecutionContext(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkPermissionHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.System.setSecurityManager0(Unknown Source)
at java.lang.System.setSecurityManager(Unknown Source)
at com.aspect.snoop.agent.SnoopAgent.turnOffSecurity(SnoopAgent.java:201)
at com.aspect.snoop.agent.SnoopAgent.agentmain(SnoopAgent.java:50)
... 6 more
Original comment by ddyer-go...@real-me.net
on 6 Aug 2013 at 7:28
Original issue reported on code.google.com by
ddyer-go...@real-me.net
on 5 Aug 2013 at 8:38