Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 414563 - NPE when removing/adding an adapter after CDO view closed
Summary: NPE when removing/adding an adapter after CDO view closed
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 8
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 06:37 EDT by Eike Stepper CLA
Modified: 2020-12-11 10:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2013-08-07 06:37:18 EDT
Cloned from: 412686: NPE when removing/adding an adapter after CDO view closed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=412686

Since commits about https://bugs.eclipse.org/bugs/show_bug.cgi?id=400388 the Bugzilla_381395_Test fails in native. Because the following guard has been removed :

 if (viewAndState.view == null || viewAndState.view.isActive())

The initial bug of https://bugs.eclipse.org/bugs/show_bug.cgi?id=381395 was in legacy and now since use of MinimalEObject it occurs only in native.
Comment 1 Eike Stepper CLA 2013-08-09 07:13:57 EDT
commit aceccebe56cd2582af37fb7105847ae5bec8de25
Comment 2 Eike Stepper CLA 2013-08-10 07:06:31 EDT
Port to 4.3 via bug 414807.
Comment 3 Eike Stepper CLA 2013-08-10 07:29:34 EDT
Ignore my last comment. This fix originally came from 4.3.
Comment 4 Eike Stepper CLA 2020-12-11 10:27:38 EST
Closing.
Comment 5 Eike Stepper CLA 2020-12-11 10:34:42 EST
Closing.