Skip to main content

NullPointerException with B37 in Netbeans

2 replies [Last post]
vprise
Offline
Joined: 2003-11-07

Hi,
I am using B37 under Mandrake Linux 10.1. I just upgraded from B35 that worked flawlessly with Netbeans 4.1 final and NB gets this exception when I try to close the build output window on some occasions. This is somewhat reproducible but not consistent so far, here is the stack trace:

java.lang.NullPointerException
at sun.font.FontManager.getFont2D(Native Method)
at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:330)
at sun.font.FontDesignMetrics.(FontDesignMetrics.java:323)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:271)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:232)
at java.awt.Component.getFontMetrics(Component.java:2695)
at javax.swing.JComponent.getFontMetrics(JComponent.java:1652)
at javax.swing.plaf.basic.BasicLabelUI.getBaseline(BasicLabelUI.java:281)
at javax.swing.JComponent.getBaseline(JComponent.java:2585)
at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI.java:1289)
at javax.swing.plaf.metal.MetalComboBoxUI.getMinimumSize(MetalComboBoxUI.java:302)
at javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBoxUI.java:863)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1687)
at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:694)
at java.awt.Container.preferredSize(Container.java:1559)
at java.awt.Container.getPreferredSize(Container.java:1544)
at javax.swing.JComponent.getPreferredSize(JComponent.java:1689)
at java.awt.BorderLayout.layoutContainer(BorderLayout.java:790)
at java.awt.Container.layout(Container.java:1402)
at java.awt.Container.doLayout(Container.java:1391)
at java.awt.Container.validateTree(Container.java:1474)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validateTree(Container.java:1481)
at java.awt.Container.validate(Container.java:1449)
at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:599)
[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:127)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:589)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:247)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:162)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:154)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:115)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tlund_
Offline
Joined: 2005-04-21
vprise
Offline
Joined: 2003-11-07

I think it might be, It wasn't obvious that its the same from the title so I posted it. At least we know its still in on 37 so no point in upgrading if you need this fixed ;)