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

Bug 360070

Summary: Spurious NPE and broken source code while adding/removing databinding without saving and/or reloading inbetween
Product: z_Archived Reporter: Jesper Eskilson <jesper.eskilson>
Component: WindowBuilderAssignee: Project Inbox <wb.core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Stack trace at NPE none

Description Jesper Eskilson CLA 2011-10-06 03:56:18 EDT
Build Identifier: I20110613-1736

When editing databindings under the bindings-tag, I sometimes get a NPE logged (see attachment) and my source code is left in a broken state. I can avoid this by always saving and reparsing (clicking the "reparse the source and refresh the design page) after each added or removed databinding.
 

Reproducible: Sometimes

Steps to Reproduce:
1. Add/remove databindings. Don't save or reparse in between.
2. NPE appears, logged in the error view.
3. Source code is left broken with compilation errors.
Comment 1 Jesper Eskilson CLA 2011-10-06 03:57:52 EDT
Created attachment 204652 [details]
Stack trace at NPE
Comment 2 Eric Clayberg CLA 2011-10-08 12:41:43 EDT
We were not able to reproduce this.

Please provide a complete test case (starting source code and exact steps to reproduce as well as resulting broken code). Also attach your complete Eclipse ".log" file.