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.
Build: NetBeans IDE Dev (Build cdev-1376-on-090910) VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315 OS: Mac OS X, 10.5.8, i386 User Comments: juhrik: Double clicked on the member (myself) icon in Members node of kenai dashboard and the exception appeared... Stacktrace: java.lang.NullPointerException at sun.font.FontDesignMetrics.stringWidth(FontDesignMetrics.java:280) at com.sun.java.swing.SwingUtilities2.stringWidth(SwingUtilities2.java:300) at apple.laf.CUIAquaTabbedPaneCopyFromBasic.calculateTabWidth(CUIAquaTabbedPaneCopyFromBasic.java:1445) at apple.laf.CUIAquaTabbedPaneCopyFromBasic.calculateMaxTabWidth(CUIAquaTabbedPaneCopyFromBasic.java:1456) at apple.laf.CUIAquaTabbedPaneCopyFromBasic$TabbedPaneLayout.calculateSize(CUIAquaTabbedPaneCopyFromBasic.java:2017) at apple.laf.CUIAquaTabbedPaneCopyFromBasic$TabbedPaneLayout.minimumLayoutSize(CUIAquaTabbedPaneCopyFromBasic.java:1969)
Created attachment 87413 [details] stacktrace
This issue appears whenever I want to work with chat. So the steps to reproduce: -login to kenai -click on the envelop in the status bar -->> the exception appears
Created attachment 87419 [details] ide.log attached...
As a consequence the chat is absolutely unusable. If the problem is not platform related please feel free to reassign to Kenai/Chat.
probably a bug in apple's jdk but it might be workaroundable by setting table title to an empty string
btw, i can't reproduce this issue with the same setup using build 090909
sorry, my comment should read *setting tab title to an empty string*
100% reproducible in build 090910
i think it was caused by recent changes to ClosableTabbedPane, ccing tomas
I tried what standa suggested http://hg.netbeans.org/cdev/rev/0f034750000f
Fixed in core-main #264555626724
Verified in: Product Version: NetBeans IDE Dev (Build cdev-1385-on-090911) Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141 System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0f034750000f User: Jan Becicka <jbecicka@netbeans.org> Log: #171890: NullPointerException at sun.font.FontDesignMetrics.stringWidth