Bug 59060

Summary: [1.5] Saving .java file blocked by NPE in SourceTypeBinding
Product: [Eclipse Project] JDT Reporter: Roberto S. Tyley <Roberto.Eclipse>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Workspace log showing NPE's from attempt to save a source file none

Description Roberto S. Tyley CLA 2004-04-19 09:35:34 EDT
I was originally experiencing bug #58995, but am now unable to reproduce it due
to this bug! Attempting to save a source file now brings up a dialog box saying
'Save could not be completed' (because of an NPE) - a look in the log shows an
NPE at
o.e.j.i.c.l.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:778). I'll
attach the log file shortly.

Due to bug #58995, I've not yet been able to compile my workspace, and the
'Build' options are greyed out in the 'Project' menu. I'm using win32 build
I200404131323 and Cheetah03.

I'm not sure if this counts as a separate bug, but hopefully the information
will be of some use.

Roberto
Comment 1 Roberto S. Tyley CLA 2004-04-19 09:37:05 EDT
Created attachment 9642 [details]
Workspace log showing NPE's from attempt to save a source file
Comment 2 Philipe Mulet CLA 2004-04-19 10:08:13 EDT
Please provide detailed steps to reproduce. Also, please double check that you 
don't have earlier versions of cheetah installed as well. There are issues in 
Eclipse update area, which seem to cause unexpected failures in Cheetah when 
patching with subsequent versions (i.e. only apply Cheetah-03 to a clean 
Eclipse install).
Comment 3 Roberto S. Tyley CLA 2004-04-20 06:02:49 EDT
Apologies - I tried to recreate this bug with a fresh install, but found that
using a simple 'Hello World' class led to everything working fine, while using
my own code base (several mb) led back to bug #58995. Unfortunately I'm behind a
firewall that forbids CVS, so I can't use the source code for Cheetah, say, as a
good sample project.

Comment 4 Philipe Mulet CLA 2004-04-26 10:40:54 EDT
Can you still reproduce this issue with latest Cheetah-04 ?
Comment 5 Philipe Mulet CLA 2004-06-25 09:17:08 EDT
Closing since cannot be reproduced any longer.