-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7u25
-
windows_7
FULL PRODUCT VERSION :
1.7.0_25
ADDITIONAL OS VERSION INFORMATION :
Windows 7 Professional Service Pack 1 64 bits (Versi?n 6.1.7601)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Proved in IE10.0.9200 and Firefox 15.0.1
A DESCRIPTION OF THE PROBLEM :
When running an applet FOR THE SECOND TIME IN A BROWSER SESSION, Logger.getAnonymousLogger() throws NullPointerException.
it doesn't happen first time but second time and subsequent.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create an applet.
In the init method call Logger.getAnonymousLogger()
Run in a Browser (I think any browser would do the work)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
applet showed and working
ACTUAL -
applet fails and stop working. It even doesn't show.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NullPointerException
at java.util.logging.Logger.doSetParent(Unknown Source)
at java.util.logging.Logger.getAnonymousLogger(Unknown Source)
at java.util.logging.Logger.getAnonymousLogger(Unknown Source)
at prueba.PruApplet.init()
...
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Quite simple. Don't have time to do it.
---------- END SOURCE ----------
1.7.0_25
ADDITIONAL OS VERSION INFORMATION :
Windows 7 Professional Service Pack 1 64 bits (Versi?n 6.1.7601)
EXTRA RELEVANT SYSTEM CONFIGURATION :
Proved in IE10.0.9200 and Firefox 15.0.1
A DESCRIPTION OF THE PROBLEM :
When running an applet FOR THE SECOND TIME IN A BROWSER SESSION, Logger.getAnonymousLogger() throws NullPointerException.
it doesn't happen first time but second time and subsequent.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create an applet.
In the init method call Logger.getAnonymousLogger()
Run in a Browser (I think any browser would do the work)
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
applet showed and working
ACTUAL -
applet fails and stop working. It even doesn't show.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NullPointerException
at java.util.logging.Logger.doSetParent(Unknown Source)
at java.util.logging.Logger.getAnonymousLogger(Unknown Source)
at java.util.logging.Logger.getAnonymousLogger(Unknown Source)
at prueba.PruApplet.init()
...
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
Quite simple. Don't have time to do it.
---------- END SOURCE ----------
- duplicates
-
JDK-8017174 NPE when using Logger.getAnonymousLogger or LogManager.getLogManager().getLogger
-
- Closed
-