Bug 59060 - [1.5] Saving .java file blocked by NPE in SourceTypeBinding
Summary: [1.5] Saving .java file blocked by NPE in SourceTypeBinding
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-19 09:35 EDT by Roberto S. Tyley CLA
Modified: 2005-01-11 11:03 EST (History)
0 users

See Also:


Attachments
Workspace log showing NPE's from attempt to save a source file (71.16 KB, text/plain)
2004-04-19 09:37 EDT, Roberto S. Tyley CLA
no flags Details

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