Bug 26909 - NPE opening type hierarchy for binary type
Summary: NPE opening type hierarchy for binary type
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 M5   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-21 17:04 EST by John Arthorne CLA
Modified: 2003-02-06 11:19 EST (History)
0 users

See Also:


Attachments
log file showing stack trace (2.75 KB, text/plain)
2002-11-21 17:06 EST, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.