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 162153 Details for
Bug 305961
NPE in org.eclipse.ui.dialogs.WizardNewFileCreationPage#isFilteredByParent
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]
Patch
patch.txt (text/plain), 1.92 KB, created by
Serge Beauchamp
on 2010-03-16 06:26:02 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Serge Beauchamp
Created:
2010-03-16 06:26:02 EDT
Size:
1.92 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java,v >retrieving revision 1.30 >diff -u -r1.30 WizardNewFileCreationPage.java >--- extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java 3 Mar 2010 12:08:43 -0000 1.30 >+++ extensions/org/eclipse/ui/dialogs/WizardNewFileCreationPage.java 16 Mar 2010 10:14:48 -0000 >@@ -774,7 +774,11 @@ > if (linkTargetPath != null) > return false; > IPath containerPath = resourceGroup.getContainerFullPath(); >+ if (containerPath == null) >+ return false; > String resourceName = resourceGroup.getResource(); >+ if (resourceName == null) >+ return false; > if (resourceName.length() > 0) { > IPath newFolderPath = containerPath.append(resourceName); > IFile newFileHandle = createFileHandle(newFolderPath); >Index: extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java,v >retrieving revision 1.37 >diff -u -r1.37 WizardNewFolderMainPage.java >--- extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java 3 Mar 2010 12:08:43 -0000 1.37 >+++ extensions/org/eclipse/ui/dialogs/WizardNewFolderMainPage.java 16 Mar 2010 10:14:48 -0000 >@@ -717,7 +717,11 @@ > if (linkTargetPath != null) > return false; > IPath containerPath = resourceGroup.getContainerFullPath(); >+ if (containerPath == null) >+ return false; > String resourceName = resourceGroup.getResource(); >+ if (resourceName == null) >+ return false; > if (resourceName.length() > 0) { > IPath newFolderPath = containerPath.append(resourceName); > IFolder newFolderHandle = createFolderHandle(newFolderPath);
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 305961
: 162153 |
164876