Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312309 - NPE on TreeItem.getBounds()
Summary: NPE on TreeItem.getBounds()
Status: CLOSED DUPLICATE of bug 309753
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 13:34 EDT by ArronM CLA
Modified: 2010-05-10 13:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***