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 4289 Details for
Bug 35473
NPE when exiting Eclipse
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for this NPE
patch_for_35473.txt (text/plain), 919 bytes, created by
Olivier Thomann
on 2003-03-21 12:19:47 EST
(
hide
)
Description:
Patch for this NPE
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2003-03-21 12:19:47 EST
Size:
919 bytes
patch
obsolete
>Index: IndexManager.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexManager.java,v >retrieving revision 1.95 >diff -u -r1.95 IndexManager.java >--- IndexManager.java 20 Mar 2003 14:59:42 -0000 1.95 >+++ IndexManager.java 21 Mar 2003 17:14:29 -0000 >@@ -508,8 +508,11 @@ > IIndex[] selectedIndexes = indexSelector.getIndexes(); > SimpleLookupTable knownPaths = new SimpleLookupTable(); > for (int i = 0, max = selectedIndexes.length; i < max; i++) { >- String path = selectedIndexes[i].getIndexFile().getAbsolutePath(); >- knownPaths.put(path, path); >+ IIndex selectedIndex = selectedIndexes[i]; >+ if (selectedIndex != null) { >+ String path = selectedIndexes[i].getIndexFile().getAbsolutePath(); >+ knownPaths.put(path, path); >+ } > } > > if (indexStates != null) {
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 35473
:
4289
|
4290