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 73329 Details for
Bug 194259
[Team] NPE When Loading Team View
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Check to see if the ISystemProfile is null before attempting to obtain SystemTeamViewCategoryNode
patch.txt (text/plain), 1.65 KB, created by
Rupen Mardirossian
on 2007-07-09 11:02:28 EDT
(
hide
)
Description:
Check to see if the ISystemProfile is null before attempting to obtain SystemTeamViewCategoryNode
Filename:
MIME Type:
Creator:
Rupen Mardirossian
Created:
2007-07-09 11:02:28 EDT
Size:
1.65 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/internal/ui/view/team/SystemTeamViewPart.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/team/SystemTeamViewPart.java,v >retrieving revision 1.12 >diff -u -r1.12 SystemTeamViewPart.java >--- UI/org/eclipse/rse/internal/ui/view/team/SystemTeamViewPart.java 5 Jun 2007 01:39:24 -0000 1.12 >+++ UI/org/eclipse/rse/internal/ui/view/team/SystemTeamViewPart.java 9 Jul 2007 14:57:44 -0000 >@@ -15,6 +15,7 @@ > * Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry > * David Dykstal (IBM) - [189858] Removed the remote systems project in the team view > * David Dykstal (IBM) - [186589] move user types, user actions, and compile commands >+ * Rupen Mardirossian (IBM) - [194259] Check to see if ISystemProfile is null before attempting to get SystemTeamViewCategoryNode - getObjectFromMemento method > * API to the user actions plugin > ********************************************************************************/ > >@@ -1405,7 +1406,10 @@ > break; > case 3: > SystemTeamViewProfileAdapter profileAdapter = RSEUIPlugin.getDefault().getSystemViewAdapterFactory().getProfileAdapter(); >- category = profileAdapter.restoreCategory(profile, token); >+ if(profile!=null) >+ { >+ category = profileAdapter.restoreCategory(profile, token); >+ } > //System.out.println("Restored category: "+(category==null?"null":category.getLabel())); > break; > }
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
Flags:
mober.at+eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 194259
: 73329