###@###.### 2002-05-09 J2SE Version (please include all output from java -version flag): java version "1.4.1-beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b10) Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode) Does this problem occur on J2SE 1.4? Yes / No (pick one) No. It works fine with 1.4.1 build04. This regression introdcued since build05. Operating System Configuration Information (be specific): Windows 2000 build 2195 SP2 Hardware Configuration Information (be specific): Intel pentium III 866 Mhz, 256 MB RAM, 20 Gig HD Bug Description: In 1.3 and 1.4, a simple dialog appears. Since 1.4.1 build 05, you see a stack trace from a null pointer exception. 1.4.1 build05: --------------- H:\CAP\bug\mapinfo>k:\b05\binaries\win\bin\java KeyMapBugIn141beta6 About to attempt keymap.addActionForKeyStroke..... Exception in thread "main" java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:386) at javax.swing.text.JTextComponent$DefaultKeymap.addActionForKeyStroke(J TextComponent.java:2881) at KeyMapBugIn141beta6.<init>(KeyMapBugIn141beta6.java:70) at KeyMapBugIn141beta6.main(KeyMapBugIn141beta6.java:86) 1.4.1 build04: -------------- H:\CAP\bug\mapinfo>k:\b04\binaries\win\bin\java KeyMapBugIn141beta6 About to attempt keymap.addActionForKeyStroke..... Successfully attempted keymap.addActionForKeyStroke. And the simple dialog appears. Steps to Reproduce (be specific): Run Attached program(KeyMapBugIn141beta6.java) in shipping 1.4 and 1.4.1 b10.
|