mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-14 12:35:22 +02:00
[229116] NPE in when editing remote file in new workspace
This commit is contained in:
parent
5202697be6
commit
7a2d309eb8
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
||||||
* David Dykstal (IBM) - [168976][api] move ISystemNewConnectionWizardPage from core to UI
|
* David Dykstal (IBM) - [168976][api] move ISystemNewConnectionWizardPage from core to UI
|
||||||
* Martin Oberhuber (Wind River) - [228774] Improve ElementComparer Performance
|
* Martin Oberhuber (Wind River) - [228774] Improve ElementComparer Performance
|
||||||
* David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE
|
* David McKnight (IBM) - [225747] [dstore] Trying to connect to an "Offline" system throws an NPE
|
||||||
|
* David McKnight (IBM) - [229116] NPE in when editing remote file in new workspace
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.core.model;
|
package org.eclipse.rse.internal.core.model;
|
||||||
|
@ -940,6 +941,10 @@ public class SystemRegistry implements ISystemRegistry
|
||||||
if (firstObject == secondObject) {
|
if (firstObject == secondObject) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// should never be comparing null objects
|
||||||
|
if (firstObject == null || secondObject == null){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
ISystemDragDropAdapter adA = null;
|
ISystemDragDropAdapter adA = null;
|
||||||
ISystemDragDropAdapter adB = null;
|
ISystemDragDropAdapter adB = null;
|
||||||
if (firstObjectFullName == null) {
|
if (firstObjectFullName == null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue