1002746 wrote:Do you really get this same exception? This does not merely sound like a security warning, the OP is reporting an NPE crash.
JSObject window = JSObject.getWindow(this);
I am also facing the same issue:
Exception in thread "Thread-62" java.lang.NullPointerException
at sun.plugin2.applet.Plugin2Manager.checkUntrustedAccess(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.isLiveconnectCallAllowed(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo.doObjectOp(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport.doObjectOp(Unknown Source)
at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)
We are using java compiler as Java6_31 and in browser we are using Java 7 Update 21 . We decompiled the above sun.plugin2.applet.Plugin2Manager.checkUntrustedAccess in Plugin.java to see the Plugin2Manager the method checkUntrustedAccess is not unavalibale in Java6 31 and its present in the Java 7 Plugin.jar.
Please can somebody help in this ?