Solved

Eclipse Problems output/tab

Posted on 2008-10-20
8
797 Views
Last Modified: 2013-12-15
Hello, I have enabled the Eclipse Windows/show view/Problems (tab) and I have 52 warnings.  Let's say that they could be errors listed as well.
My question is: When they are listed.  Is the top listed warning/error occuring first or is it the last one.
In other words, which warning/error should I solve first, the bottom one or the top one.
I hope I made sense.
0
Comment
Question by:chima
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 4

Expert Comment

by:tvedtem
ID: 22760083
Fix the errors first, then the warnings (if you want to)
It doesn't matter which error you fix first, nor which warning.
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 22760655
Double click the TAB so it fills the screen, then choose a message and check if you
understand it. Then double that message and ECLIPSE brings you to the source
and line of that error.
You'll see a little icon to the left.
Right click it for more info.

And so on.

;JOOP!
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 22760693
I forgot to tell you that, before you can double click a message in the Problems tab
you have to double click the TAB again or the source can't become visible
because of the full screen state of the problems tab.

Good to have a 24" screen for that.....

;JOOP!
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:chima
ID: 22761331
tvedtem: and joop, I might have been clicking on the tab automatically, to get what you explained.  Now I know that I do have to click on the tab.  I knew about the other click comments you made.  What I am looking for is which direction does the information grow.  Let's say for example that one error creates several other errors.  Is the first error detected at the bottom or at the top of the list?
0
 
LVL 4

Accepted Solution

by:
tvedtem earned 250 total points
ID: 22761745
I think it's sorted by field, by default by the error message...
e.g. your messsages would be in a strange looking order perhaps initially.....
proxyHost cannot be resolved Sandbox Proxy.java line 109
proxyHost cannot be resolved Sandbox Proxy.java line 200
Syntax error on token "2", delete this token Sandbox Proxy.java line 12
 
In the above, the error on line 12 is causing the errors on 109/200.  Eclipse doesn't tell us this though, because it has sorted 'proxy' before 'Syntax'.
Within a file at least, you'll get the 'first' problem by sorting on location (click the 'location' field to sort) so the above becomes..
Syntax error on token "2", delete this token Sandbox Proxy.java line 12
proxyHost cannot be resolved Sandbox Proxy.java line 109
proxyHost cannot be resolved Sandbox Proxy.java line 200

0
 
LVL 24

Assisted Solution

by:sciuriware
sciuriware earned 250 total points
ID: 22761759
That's not a good approach:
a missing { or a spurious keyword is not always preceded or followed
by so-called 'fantom-errors'.
It is important that you check a method with an error in it as a whole.
Many compilers complain top-down; not JAVA.
Especially the eclipse compiler is very smart.
It helps a lot to set the error messages in:
Window-Preferences-Java-Compiler-Errors/Warnings.
Some errors are no errors but style problems.
For instance, you may not make use of serialization or externalized strings.
On the other hand you can set your personal style sharper by not allowing
to ignore arguments etc.

Work like that, also when solving errors.

;JOOP!
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 22761784
My response was to the asker.

If you check for simple errors in the code around the flagged error,
like missing ; { } [ ] etc.
you will solve errors faster than working from the first error message.
Also you will recognise certain errors.

;JOOP!
0
 

Author Closing Comment

by:chima
ID: 31507904
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 58
Error in @AspectJ Based AOP with Spring 2 23
Bot application - advice 3 60
IBM TS2900 (3572) Tape Autoloader Java? 12 59
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question