This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 13059 - NPE when initializing/openning main window -> IDE doesn't start.
Summary: NPE when initializing/openning main window -> IDE doesn't start.
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
: 13569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-06-21 13:06 UTC by Jan Zajicek
Modified: 2008-12-22 15:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Zajicek 2001-06-21 13:06:23 UTC
java.lang.NullPointerException: NullPointerException
        at sun.awt.motif.MFramePeer.pSetIconImage(Native Method)
        at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:162)
        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:62)
        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:195)
        at java.awt.Frame.addNotify(Frame.java:468)
        at java.awt.Window.pack(Window.java:414)
        at org.netbeans.core.windows.MainWindow.showWindow(MainWindow.java:192)
        at org.netbeans.core.Main.initializeMainWindow(Main.java:239)
        at org.netbeans.core.NonGui.run(NonGui.java:526)
        at org.netbeans.core.Main.run(Main.java:187)
        at org.openide.TopManager.initializeTopManager(TopManager.java:120)
        at org.openide.TopManager.getDefault(TopManager.java:81)
        at org.netbeans.core.Main.main(Main.java:274)
        at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90)
        at java.lang.Thread.run(Thread.java:579)
Comment 1 Jan Zajicek 2001-07-12 15:55:06 UTC
The behaviour has changed, see following output. In build b70 it
thrown mentioned exception, but in build b71 is everything ok again,
so problem had to be on jdk side and in build b71 seems to be fixed.

b71:

ImageIcon instance: javax.swing.ImageIcon@6e588e
Image instance, will be passed to setIconImage:
sun.awt.motif.X11Image@77e5d4

b70:

ImageIcon instance: javax.swing.ImageIcon@21e7ad
Image instance, will be passed to setIconImage:
sun.awt.motif.X11Image@711970
java.lang.NullPointerException: NullPointerException
        at sun.awt.motif.MFramePeer.pSetIconImage(Native Method)
        at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:162)
        at java.awt.Frame.setIconImage(Frame.java:538)
        at
org.netbeans.core.windows.MainWindow.initialize(MainWindow.java:118)
        at org.netbeans.core.Main.initializeMainWindow(Main.java:232)
        at org.netbeans.core.NonGui.run(NonGui.java:519)
        at org.netbeans.core.Main.run(Main.java:216)
        at
org.openide.TopManager.initializeTopManager(TopManager.java:120)
        at org.openide.TopManager.getDefault(TopManager.java:81)
        at org.netbeans.core.Main.main(Main.java:322)
        at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90)
        at java.lang.Thread.run(Thread.java:579)
Comment 2 David Simonek 2001-07-13 07:45:35 UTC
*** Issue 13569 has been marked as a duplicate of this issue. ***
Comment 3 Quality Engineering 2003-07-01 16:06:59 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 4 Quality Engineering 2003-07-01 16:32:51 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.