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 75339 Details for
Bug 194898
NPE when trying to do F5 Refresh on a Shell
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch fixing the issue
bug194898_npeShellRefresh.diff.txt (text/plain), 1.61 KB, created by
Martin Oberhuber
on 2007-08-03 10:59:47 EDT
(
hide
)
Description:
Patch fixing the issue
Filename:
MIME Type:
Creator:
Martin Oberhuber
Created:
2007-08-03 10:59:47 EDT
Size:
1.61 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: model/org/eclipse/rse/ui/internal/model/SystemRegistry.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/ui/internal/model/SystemRegistry.java,v >retrieving revision 1.34 >diff -u -r1.34 SystemRegistry.java >--- model/org/eclipse/rse/ui/internal/model/SystemRegistry.java 23 Jul 2007 15:51:30 -0000 1.34 >+++ model/org/eclipse/rse/ui/internal/model/SystemRegistry.java 3 Aug 2007 15:00:00 -0000 >@@ -34,6 +34,7 @@ > * Xuan Chen (IBM) - [194838] Move the code for comparing two objects by absolute name to a common location > * David McKnight (IBM) - [165674] Sort subsystem configurations to be in deterministic order > * Martin Oberhuber (Wind River) - [165674] Sort subsystem configurations by priority then Id >+ * Martin Oberhuber (Wind River) - [194898] Avoid NPE when doing EVENT_REFRESH_REMOTE on a subsys without filters > ********************************************************************************/ > > package org.eclipse.rse.ui.internal.model; >@@ -2845,7 +2846,7 @@ > { > String elementName = getRemoteResourceAbsoluteName(resource); > List results = new ArrayList(); >- if (subsystem != null && elementName != null) >+ if (subsystem != null && elementName != null && subsystem.getSubSystemConfiguration().supportsFilters()) > { > ISystemFilterReference[] refs = subsystem.getFilterPoolReferenceManager().getSystemFilterReferences(subsystem); > for (int i = 0; i < refs.length; i++)
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 194898
:
73545
| 75339