Eclipse Problems output/tab

Posted on 2008-10-20
Medium Priority
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.
Question by:chima
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

Expert Comment

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.
LVL 24

Expert Comment

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.

LVL 24

Expert Comment

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.....

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

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?

Accepted Solution

tvedtem earned 1000 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

LVL 24

Assisted Solution

sciuriware earned 1000 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:
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.

LVL 24

Expert Comment

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.


Author Closing Comment

ID: 31507904

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 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