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.
daily build IDE 200501271900 gives NullPointerException on startup using the Motif look and feel at com.sun.java.swing.plaf.motif.MotifButtonUI .paintIcon (MotifButtonUI.java:92) repeated for a number of MotifButtonUI.paintIcon() calls
Created attachment 20060 [details] log from NetBeans run
Stando, could this be connected to your startup repaint tuning? it seems the UI class calls Graphics.getClip().getBounds(), where clip is null.
fixed this issue is not related to the main window repaint. the tab displayer ui is creating it's own private graphics for paiting. adding setClip() fixed the problem. Checking in BasicScrollingTabDisplayerUI.java; /cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/BasicScrollingTabDisplayerUI.java,v <-- BasicScrollingTabDisplayerUI.java new revision: 1.6; previous revision: 1.5 done
verified in NB.dev(20050718-1800)