Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 255954 Details for
Bug 475154
NullPointerException in PartServiceImpl.switchPerspective() when switching perspective while active view placed inside editors area
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
null check patch
switch_perspective_NPE.patch (text/plain), 969 bytes, created by
Yurii Polek
on 2015-08-19 10:32:15 EDT
(
hide
)
Description:
null check patch
Filename:
MIME Type:
Creator:
Yurii Polek
Created:
2015-08-19 10:32:15 EDT
Size:
969 bytes
patch
obsolete
>diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java >index e7f3981..1b9e7b5 100644 >--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java >+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/PartServiceImpl.java >@@ -620,7 +620,8 @@ public class PartServiceImpl implements EPartService { > perspective.getContext().activate(); > } else { > if ((modelService.getElementLocation(newActivePart) & EModelService.IN_SHARED_AREA) != 0) { >- if (newActivePart.getParent().getSelectedElement() != newActivePart) { >+ if (newActivePart.getParent() != null >+ && newActivePart.getParent().getSelectedElement() != newActivePart) { > newActivePart = (MPart) newActivePart.getParent().getSelectedElement(); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 475154
:
255897
|
255898
| 255954