avasekar / javasnoop

Automatically exported from code.google.com/p/javasnoop
0 stars 0 forks source link

No processes in "existing process" list #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Launching javasnoop under windows 7 x64, java 1.6.0_37

launching from the startup.bat script.

the "existing processes" list is empty.  There are no other
complaints apparent.

I succeeded in building and running from the netbeans project and sources, same 
results.

Original issue reported on code.google.com by ddyer-go...@real-me.net on 5 Aug 2013 at 8:38

GoogleCodeExporter commented 8 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