JDK-6518763 : Regression tests fail with null pointer exception.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2007-01-29
  • Updated: 2010-08-06
  • Resolved: 2007-01-31
Related Reports
Duplicate :  
Description
nsk/regression/b4261880
nsk/regression/b4265661

fails with message: 
Exception in thread "main" java.lang.NullPointerException
        at sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:712)
        at java.awt.Window.init(Window.java:369)
        at java.awt.Window.<init>(Window.java:407)
        at java.awt.Frame.<init>(Frame.java:402)
        at java.awt.Frame.<init>(Frame.java:367)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1731)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1808)
        at javax.swing.JDialog.<init>(JDialog.java:259)
        at javax.swing.JDialog.<init>(JDialog.java:193)
        at nsk.regression.b4261880.b4261880_base.<init>(b4261880_base.java:31)
        at nsk.regression.b4261880.b4261880_filt.<init>(b4261880_filt.java:32)
        at nsk.regression.b4261880.b4261880.<init>(b4261880.java:63)
        at nsk.regression.b4261880.b4261880.run(b4261880.java:71)
        at nsk.regression.b4261880.b4261880.main(b4261880.java:67)

Comments
EVALUATION Fix will be integrated in b07.
30-01-2007

EVALUATION This is an AWT regression that I reported to hotspot-test back on December 18. I presumed these failures would be marked as known bugs until resolved: <email extract> FYI With the switch to promoted build b04 a few nights ago, the nightly tests are now being affected by 6499736 which is a regression in the AWT code: Exception in thread "main" java.lang.NullPointerException [2006-12-17T07:54:55.38] at sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:712) [2006-12-17T07:54:55.38] at java.awt.Window.init(Window.java:369) [2006-12-17T07:54:55.38] at java.awt.Window.<init>(Window.java:407) [2006-12-17T07:54:55.38] at java.awt.Frame.<init>(Frame.java:402) [2006-12-17T07:54:55.38] at javax.swing.JFrame.<init>(JFrame.java:207) This fails in three tests that I can see: regression/jit/4141334/SwingMark jit/common/misctests/fpustack nsk/regression/b4265661 <end> I don't know why the fix for 6499736 hasn't been integrated yet.
29-01-2007