Bug 87003 - General failure of functionality
Summary: General failure of functionality
Status: RESOLVED DUPLICATE of bug 87490
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 11:12 EST by Chris Gerrard CLA
Modified: 2005-03-15 16:53 EST (History)
0 users

See Also:


Attachments
Eclipse .log file contains stack trace showing same text as the dialog in the editor - "org.eclipse.jdt.internal.compiler.lookup.FieldBinding" (1.48 MB, text/plain)
2005-03-07 18:30 EST, Chris Gerrard CLA
no flags Details
Class manifesting bug (10.35 KB, text/plain)
2005-03-15 15:58 EST, Chris Gerrard CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gerrard CLA 2005-03-02 11:12:00 EST
At some point during development of Java code I get a set of problems.

- a previously OK class gets flagged with multiple errors at the class level,
with no individual errors in body of class, the only solution I've found is to
delete and recreate the class. With the same content the class is now OK.

- connected to this (I think), the Editor loses the ability to copy text. Upon
the attempt to do so a message dialog appears with the message that includes 
"Save could not be completed"
"org.eclipse.jdt.internal.compiler.lookup.FieldBinding"

I believe this FieldBinding is involved in the other problem as well, but I
haven't been that diligent in recording the information - sorry.

This first appeared using 3.1M4. I've downloaded 3.1M5 - Mar. 2 - and started up
the M5 installation this morning and created a new project in a new workspace
pointing at the existing code, thinking that the M4 workspace had a problem. The
problem till appeared.

In order to keep working, I copied the Java file, deleted the class within
Eclpise, created a new class with the same name, and copied the contents from
the copy of the original fine using the Eclipse editor, and everything's OK.

FWIW, I've had (similar?) problems with 3.1 where problems lingered until I
either did the copy file / delete class / recreate class, or went into the
workplace and found and removed stuff from the plugins files. Again, sorry I
didn't keep track of what I was doing in the rush to get things working.

I'll keep better track in the future.

 it's still here. 

Sorry, but
Comment 1 Olivier Thomann CLA 2005-03-02 18:18:22 EST
Please provide the contents of your .log file in the .metadata folder of your
workspace.
Comment 2 Chris Gerrard CLA 2005-03-07 18:30:13 EST
Created attachment 18521 [details]
Eclipse .log file contains stack trace showing same text as the dialog in the editor - "org.eclipse.jdt.internal.compiler.lookup.FieldBinding"

I was asked to send the log file, forget by whom.
Comment 3 Philipe Mulet CLA 2005-03-07 18:43:40 EST
Could you also attach the original source which made the problem occur to start
with ?
Comment 4 Chris Gerrard CLA 2005-03-15 15:57:17 EST
(In reply to comment #3)
> Could you also attach the original source which made the problem occur to start
> with ?

I'll along the code to the specific class where the problem shows up. It's not
very pretty. 
I'm not sure about sending all the code - there are likely some proprietaty
restrictions & I'm not eager to run afoul of them.

FWIW, the problem just showed up again immediately after adding:

  implements Comparable, Serializable {
	static final long serialVersionUID = 1;

to ANOTHER class. Seems odd to me.
Comment 5 Chris Gerrard CLA 2005-03-15 15:58:22 EST
Created attachment 18806 [details]
Class manifesting bug
Comment 6 Philipe Mulet CLA 2005-03-15 16:53:48 EST
Dup. Should be addressed in today's integration build.
Please reopen if you see it again.

*** This bug has been marked as a duplicate of 87490 ***