Thursday 15 August 2013

logging - java.util.logger.Logger.getAnonymousLogger() throws NullPointerException -


I was just an applet, its Java plug-ins Lk7k0_25 I wrote many years ago the reason is upgraded (and

  logger = logger.getAnonymousLogger (for);  

applet's init () method I call.

This call is running 1.4.2 since Java without any problems. Now, with Java 1.7.0_25 (at least on Windows 7; I do not have a Mac or Linux machine here) , First time loading applet Is, it works just fine. However, if the applet's browser stops the page and the page is loaded again, so Aepplet fails with the following console message:

  origin: applet loaded. originals replaced applets size and original container is added to the original: PERF: applets Aksekyusnrnebl - applet.init () BEGIN; 756,747 DT jvmLaunch us, 76,093,467 DT pluginInit us, TotalTime: 76,850,214 Java java .util.logging.Logger.getAnonymousLogger at java.util.logging.Logger.doSetParent (unknown Source (unknown source) at java.lang.NullPointerException. util.logging.Logger.getAnonymousLogger (Unknown Source com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init) on com.optix.applet.viewer.ObjectViewer.init (ObjectViewer.java:214) (Unknown Source) Java.lang.NullPointerException   

ignored at java.lang.Thread.run (unknown source) at sun.plugin2.applet.Plugin2Manager $ AppletExecutionRunnable.run (unknown source). To load the applet again, I have to close the browser and restart.

Java 1.4 was introduced in Java 1.4.Therefore, it has never happened with the previous Java release.

The problem of permissions: new features

  permissions I've been involved in META-INF / MANFEST.MF: Codebase all permissions: *   

In the call to do the applet is signed with an existing GoDaddy certificate and timestamp

I have found that if I create logger with

  logger = Logger.getLogger (string) .;   

The app will load every time.

I can not find anything on this error. Has anyone seen this? Would anyone know if it was due to appear with Java 1.7.0_25, or why the call will work once in a browser session, but not the second time?

I have the same problem on Linux.

It is relevant to the oracle.

No comments:

Post a Comment