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 47161 Details for
Bug 150289
[hierarchy] NPE in hierarchy builder when region is empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
v00b.txt (text/plain), 1.47 KB, created by
Frederic Fusier
on 2006-08-01 13:05:07 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2006-08-01 13:05:07 EDT
Size:
1.47 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/hierarchy/HierarchyBuilder.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyBuilder.java,v >retrieving revision 1.64 >diff -u -r1.64 HierarchyBuilder.java >--- model/org/eclipse/jdt/internal/core/hierarchy/HierarchyBuilder.java 2 May 2006 15:06:32 -0000 1.64 >+++ model/org/eclipse/jdt/internal/core/hierarchy/HierarchyBuilder.java 1 Aug 2006 16:47:15 -0000 >@@ -77,14 +77,16 @@ > } else { > unitsToLookInside = workingCopies; > } >- SearchableEnvironment searchableEnvironment = project.newSearchableNameEnvironment(unitsToLookInside); >- this.nameLookup = searchableEnvironment.nameLookup; >- this.hierarchyResolver = >- new HierarchyResolver( >- searchableEnvironment, >- project.getOptions(true), >- this, >- new DefaultProblemFactory()); >+ if (project != null) { >+ SearchableEnvironment searchableEnvironment = project.newSearchableNameEnvironment(unitsToLookInside); >+ this.nameLookup = searchableEnvironment.nameLookup; >+ this.hierarchyResolver = >+ new HierarchyResolver( >+ searchableEnvironment, >+ project.getOptions(true), >+ this, >+ new DefaultProblemFactory()); >+ } > this.infoToHandle = new HashMap(5); > this.focusQualifiedName = focusType == null ? null : focusType.getFullyQualifiedName(); > }
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 150289
: 47161