Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352956 - Misleading error message
Summary: Misleading error message
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 12:56 EDT by Jonathan Camilleri CLA
Modified: 2011-07-25 04:21 EDT (History)
1 user (show)

See Also:


Attachments
source code and screenshot (82.02 KB, application/octet-stream)
2011-07-24 12:58 EDT, Jonathan Camilleri CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Camilleri CLA 2011-07-24 12:56:23 EDT
Build Identifier: M20110210-1200

Within the attached (SimpleLogonModule.java), a validation indicates that variable is never read locally (line 94; see scr.GIF).  However, this is read within the constructor (Line 22).



Reproducible: Sometimes
Comment 1 Jonathan Camilleri CLA 2011-07-24 12:58:38 EDT
Created attachment 200245 [details]
source code and screenshot
Comment 2 Dani Megert CLA 2011-07-25 03:04:55 EDT
The given source is empty. Note that we changed that wording in 3.7 and 4.1.
Comment 3 Jonathan Camilleri CLA 2011-07-25 04:00:22 EDT
It is not possible that you reproduced the issue within 30 seconds of receiving it.
Comment 4 Jonathan Camilleri CLA 2011-07-25 04:21:53 EDT
(In reply to comment #2)
> The given source is empty. Note that we changed that wording in 3.7 and 4.1.

Well, it's too late, sorry because I deleted the local copy of the source code (which is a RAR file that reads a size of 82.02Kb on this bug reporting forum).  Is it not accessible?

In any case I started over, and, simply added the following lines to my code, and, no warnings or errors were reported this time.  

This is thought to be an intermittent error that might have required an exact copy of my environment at the time to reproduce, however it is not practical for me to send my laptop by courier :)

/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

(lines 36 to 40)