Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360070 - Spurious NPE and broken source code while adding/removing databinding without saving and/or reloading inbetween
Summary: Spurious NPE and broken source code while adding/removing databinding without...
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 03:56 EDT by Jesper Eskilson CLA
Modified: 2021-06-04 16:45 EDT (History)
1 user (show)

See Also:


Attachments
Stack trace at NPE (4.30 KB, text/plain)
2011-10-06 03:57 EDT, Jesper Eskilson CLA
no flags Details

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