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

Bug 354388

Summary: NPE in FeatureInputContext#synchronizeModel
Product: [Eclipse Project] PDE Reporter: Nicolas Bros <nicolas.bros>
Component: UIAssignee: Alexander Fedorov <alexander.fedorov>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alexander.fedorov
Version: 3.7   
Target Milestone: 4.14 M1   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/150297
https://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=34d145f4e4a0a488dcb18ffd49f83b1194514ffa
Whiteboard:
Attachments:
Description Flags
stacktrace
none
stacktrace 2 none

Description Nicolas Bros CLA 2011-08-10 10:59:46 EDT
Created attachment 201248 [details]
stacktrace

I got a NPE from PDE while trying to open a build.properties while it was already opened in a synchronization view after initial sharing with subclipse (but before committing it).
See the attached stacktrace.
Comment 1 Nicolas Bros CLA 2011-08-10 11:00:14 EDT
version:

Eclipse SDK
Version: 3.7.0
Build id: I20110613-1736
Comment 2 Nicolas Bros CLA 2011-08-10 11:01:42 EDT
Created attachment 201250 [details]
stacktrace 2

This error was followed by an AssertionFailedException (see stacktrace 2)
Comment 3 Eclipse Genie CLA 2019-09-27 15:12:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Alexander Fedorov CLA 2019-09-28 04:17:28 EDT
In theory DocumentProvider can return null for a particular input, may be it was related with subclipse
Comment 5 Eclipse Genie CLA 2019-09-28 04:20:33 EDT
New Gerrit change created: https://git.eclipse.org/r/150297
Comment 7 Alexander Fedorov CLA 2019-09-28 10:05:48 EDT
Added null check for IDocument argument
Comment 8 Vikas Chandra CLA 2019-10-08 05:28:32 EDT
Alexander, can you please verify this defect?
Comment 9 Alexander Fedorov CLA 2019-10-09 03:22:23 EDT
I'm not able to repeat the initial scenario, but the potential NPE is fixed