Bug 26909

Summary: NPE opening type hierarchy for binary type
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
log file showing stack trace none

Description John Arthorne CLA 2002-11-21 17:04:55 EST
Build 20021115 (M3)

- I have org.eclipse.ui loaded as a binary project, along with all pre-requisites
- I have core plugins loaded as source

When I try to open a type hierarchy on the class
org.eclipse.ui.dialogs.WizardResourceImport page, I get a NullPointerException.
 I will attach the stack trace.
Comment 1 John Arthorne CLA 2002-11-21 17:06:10 EST
Created attachment 2484 [details]
log file showing stack trace
Comment 2 John Arthorne CLA 2002-11-21 17:14:38 EST
I just remebered, I had replaced all org.eclipse.ui.* plugins as source earlier
in the day.  So:

- start with all binary plugins
- checked out org.eclipse.ui.*, org.eclipse.text, org.eclipse.jface from the
repository
- replaced those plugins with binary projects again.
Comment 3 David Audel CLA 2002-11-25 07:30:08 EST
I can not reproduce this bug.

John - Could you give me more steps to reproduce it ?
Comment 4 John Arthorne CLA 2002-11-25 10:02:34 EST
Sorry, I haven't been able to reproduce it today.  That day it was throwing NPE
every time I tried it, but now it works fine.  There must have been something
else inconsistent about my workbench state that was causing it?
Comment 5 David Audel CLA 2003-02-04 06:19:37 EST
I can not reproduce this bug.

null check added in CompilationUnitScope#buildTypeBindings().

Fixed.
Comment 6 David Audel CLA 2003-02-06 11:19:50 EST
Verified.