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

Bug 320685

Summary: ObservableTreeNode NPE
Product: z_Archived Reporter: Maxim Gordienko <fuzebest>
Component: UFacekitAssignee: Project Inbox <ufacekit-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch tom.schindl: iplog+

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