Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320685 - ObservableTreeNode NPE
Summary: ObservableTreeNode NPE
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: UFacekit (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 22:27 EDT by Maxim Gordienko CLA
Modified: 2014-03-06 09:57 EST (History)
1 user (show)

See Also:


Attachments
Patch (1.69 KB, patch)
2010-07-22 22:28 EDT, Maxim Gordienko CLA
tom.schindl: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Gordienko CLA 2010-07-22 22:27:00 EDT
Build Identifier: 

There is a minor bug in ObservableTreeNode from the
org.eclipse.ufacekit.ui.swing.databinding project.

Please find a patch attached which fixes an NPE in the
ObservableTreeNode.list change listener (namely in the methods
ListDiffVisitor .handleRemove()/handleAdd()).
The reference to the treeModel field is not initialized in the
children tree nodes.


Reproducible: Always
Comment 1 Maxim Gordienko CLA 2010-07-22 22:28:04 EDT
Created attachment 175036 [details]
Patch
Comment 2 Thomas Schindl CLA 2010-07-26 07:54:44 EDT
Thanks fixed with attribution to you