Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312309

Summary: NPE on TreeItem.getBounds()
Product: [Eclipse Project] Platform Reporter: ArronM <arronm>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: skovatch
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description ArronM CLA 2010-05-10 13:34:49 EDT
Build Identifier: 

Users of Vuze have been reporting the following NullPointerException stacktrace using SWT 3.6:

at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2443)
at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:274)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4750)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_stret(Native Method)
at org.eclipse.swt.internal.cocoa.NSCell.cellSize(NSCell.java:34)
at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:467)

I haven't reproduced it yet.  If I do I'll add a full stack trace.

Reproducible: Didn't try
Comment 1 Scott Kovatch CLA 2010-05-10 13:54:34 EDT
Your timing is excellent. I just checked in a fix for this today. :-) Bug 309753.

*** This bug has been marked as a duplicate of bug 309753 ***