-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 1.2.0
-
Component/s: client-libs
-
1.2fcs
-
sparc
-
solaris_2.5
-
Verified
Name: sdC67446 Date: 02/19/98
java.beans.beancontext.BeanContextSupport.setLocale always throws NullPointerException
Here is the test demonstrating the bug:
-----------------Test.java------------------------
import java.beans.beancontext.*;
import java.beans.*;
import java.util.Locale;
public class Test {
public static void main(String[] args) {
BeanContextSupport bcs = new BeanContextSupport();
try {
bcs.setLocale(Locale.US);
} catch (NullPointerException e) {
System.out.println(e);
} catch (PropertyVetoException e) {
System.out.println(e);
}
}
}
---------Output from the test---------------------
java.lang.NullPointerException
--------------------------------------------------
======================================================================