Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345817 - Error is too vague
Summary: Error is too vague
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-14 13:45 EDT by Jonathan Camilleri CLA
Modified: 2011-05-16 11:09 EDT (History)
1 user (show)

See Also:


Attachments
Source code (10.78 KB, application/octet-stream)
2011-05-14 13:46 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-05-14 13:45:30 EDT
Build Identifier: M20110210-1200 

When I try to compile the attached project I get the following error, which, is too vague:

Exception in thread "main" java.lang.Error: Unresolved compilation problem: 

	at DialogDemo.main(DialogDemo.java:607)


On the other hand TextPad, provides me with the following output, even, though I am still trying to resolve it:

C:\Documents and Settings\Jon\workspace\JavaDev\myCode Snippets\CustomDialog.java:47: cannot find symbol
symbol  : class DialogDemo
location: class components.CustomDialog
    private DialogDemo dd;
            ^
C:\Documents and Settings\Jon\workspace\JavaDev\myCode Snippets\CustomDialog.java:64: cannot find symbol
symbol  : class DialogDemo
location: class components.CustomDialog
    public CustomDialog(Frame aFrame, String aWord, DialogDemo parent) {
                                                    ^
2 errors

Tool completed with exit code 1



Reproducible: Always
Comment 1 Jonathan Camilleri CLA 2011-05-14 13:46:05 EDT
Created attachment 195648 [details]
Source code
Comment 3 Michael Rennie CLA 2011-05-16 10:52:59 EDT
(In reply to comment #0)
> Build Identifier: M20110210-1200 
> 
> When I try to compile the attached project I get the following error, which, is
> too vague:
> 
> Exception in thread "main" java.lang.Error: Unresolved compilation problem: 
> 
>     at DialogDemo.main(DialogDemo.java:607)

That error is shown when you try to run the program, is that when you mean by 'compile'? 

> On the other hand TextPad, provides me with the following output, even, though
> I am still trying to resolve it:
> 

I'm not sure there would be any benefit to printing more information out when a launch fails in this manner, since you get a whole host of error markers in the source code - which point you directly to the problem(s) and in most cases give you quick fixes on how to solve them.

Marking as worksforme, there are no plans to change this
Comment 4 Jonathan Camilleri CLA 2011-05-16 11:09:48 EDT
Please note my disagreement with the review status.