-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.2
-
sparc
-
solaris_7
Name: sdR10048 Date: 11/11/2002
JDK version:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b05)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b05, mixed mode)
Method public MemoryHandler() always throws NPE.
Doc says:
---------
public MemoryHandler()
Create a MemoryHandler and configure it based on LogManager
configuration properties.
Small demo:
-----------
import java.util.logging.*;
class T {
public static void main(String args[]) {
MemoryHandler handler = new MemoryHandler();
}
}
Output:
-------
MemoryHandler can't load handler "null"
java.lang.NullPointerException
Exception in thread "main" java.lang.RuntimeException: Can't load null
at java.util.logging.MemoryHandler.<init>(MemoryHandler.java:100)
at T.main(T.java:5)
======================================================================
- duplicates
-
JDK-4483991 LOGGING APIs: Undeterminate situation with MemoryHandler property
-
- Closed
-