JDK-4894924 : JLabel throw NullPointerException for Windows 98 SE
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_98
  • CPU: x86
  • Submitted: 2003-07-23
  • Updated: 2003-08-05
  • Resolved: 2003-08-05
Related Reports
Duplicate :  
Description
When I install Global Suite for Windows 98 SE to test 1.5.0_b11, error messages are listed in DOS box. It seems the script is not running for the test cases.

Please refer attached error message dump. 

Comments
EVALUATION This is actually not a GlobalSuite problem, but a problem in Swing/AWT. The problem started on b11 for Tiger so it's a regression. The following simple program demonstrates the problem. Note that this only happens on Windows 98 SE. ----------------------------------- Cut Here --------------------------------- import javax.swing.*; import java.awt.*; public class SimpleTest extends JFrame { public static void main(String[] args) { new SimpleTest(); } public SimpleTest() { JLabel label = new JLabel(" "); label.setText("Finished"); getContentPane().add(label); setSize(200, 200); show(); } } ----------------------------------- Cut Here --------------------------------- ###@###.### 2003-07-23 Probably the same issue as 4895864. ###@###.### 2003-07-24 Name: rpR10076 Date: 08/05/2003 Yes, this is the same issue as 4895864. Closing this bug as a duplicate of 4895864 because the latter has higher priority. ###@###.### Aug 05 2003 ======================================================================
11-06-2004

WORK AROUND We may use other Windows platform like NT or XP.
11-06-2004