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 155622 Details for
Bug 299154
ClasspathSelection needs better error handling
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
ClassPathSelection_Patch.txt (text/plain), 1.02 KB, created by
Neeraj Agrawal
on 2010-01-08 13:16:19 EST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Neeraj Agrawal
Created:
2010-01-08 13:16:19 EST
Size:
1.02 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jst.j2ee >Index: earproject/org/eclipse/jst/j2ee/application/internal/operations/ClassPathSelection.java >=================================================================== >RCS file: /cvsroot/webtools/jeetools/plugins/org.eclipse.jst.j2ee/earproject/org/eclipse/jst/j2ee/application/internal/operations/ClassPathSelection.java,v >retrieving revision 1.55 >diff -u -r1.55 ClassPathSelection.java >--- earproject/org/eclipse/jst/j2ee/application/internal/operations/ClassPathSelection.java 9 Nov 2009 20:57:36 -0000 1.55 >+++ earproject/org/eclipse/jst/j2ee/application/internal/operations/ClassPathSelection.java 8 Jan 2010 18:16:10 -0000 >@@ -1136,7 +1136,10 @@ > Archive anArchive = null; > if (element.isValid()) { > try { >- anArchive = (Archive) getEARFile().getFile(element.getText()); >+ EARFile earFile = getEARFile(); >+ if( earFile != null ){ >+ anArchive = (Archive) earFile.getFile(element.getText()); >+ } > } catch (FileNotFoundException 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 299154
: 155622