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 228004 Details for
Bug 402539
Backport to 3.4.x UniversalFileTransferUtility threw NPE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
backport patch
patch.txt (text/plain), 1.80 KB, created by
David McKnight
on 2013-03-06 11:42:30 EST
(
hide
)
Description:
backport patch
Filename:
MIME Type:
Creator:
David McKnight
Created:
2013-03-06 11:42:30 EST
Size:
1.80 KB
patch
obsolete
>diff --git a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java >index 551dc55..1d53443 100644 >--- a/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java >+++ b/rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2006, 2012 IBM Corporation and others. >+ * Copyright (c) 2006, 2013 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -65,6 +65,7 @@ > * David McKnight (IBM) - [376410] cross-system copy/paste operation doesn't transfer remote encodings for binary files > * David McKnight (IBM) - [386486] when the original timestamp of a file is 0 don't set it after an upload > * David McKnight (IBM) - [389838] Fast folder transfer does not account for code page >+ * Samuel Wu (IBM) - [402533] UniversalFileTransferUtility threw NPE > *******************************************************************************/ > > package org.eclipse.rse.files.ui.resources; >@@ -1551,7 +1552,9 @@ > { > try > { >- targetFolder = targetFS.getRemoteFileObject(targetFolder.getAbsolutePath(), monitor); >+ IRemoteFile currentTargetFolder = targetFS.getRemoteFileObject(targetFolder.getAbsolutePath(), monitor); >+ if (currentTargetFolder != null) >+ targetFolder = currentTargetFolder; > } > catch (Exception e) > {
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 402539
:
228003
| 228004