Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Error not displayed in the console (Mac OS X Leopard)
Error not displayed in the console (Mac OS X Leopard) [message #333604] Thu, 18 December 2008 11:10
Eclipse UserFriend
Originally posted by: lehong.loria.fr

Hi,

I am a new Mac user. I have a strange problem when using Eclipse 3.4.1
on Mac OS X Leopard. I couldn't find any solution on the Internet and
newsgroups.

The problem: when there is an error in the program, Eclipse does not
report it and the stack trace messages to the Console view.

When I execute the following error-intended simple program

public class Tester {

public static void main(String[] args) {
System.out.println("Begin");
Object o = null;
System.out.println(o.toString());
System.out.println("End");
}

}

Eclipse reports only the line "Begin" to the Console View. The program
terminates, and no errors are printed.

I've worked around in the Run and Console sections of the Preference of
Eclipse, try to change or restore all default settings but it still does
not work.

I tried to add the argument -consolelog to the Eclipse configuration
file, but it didn't help either.

I also tried to run the program in the Terminal and the
NullPointerException error is well reported to the Terminal. So, I think
this is not the problem of the Java compiler on my Mac.

Could anyone show me any idear to solve my problem?

Thank you very much.
Previous Topic:Project Explorer Drop problem
Next Topic:Mark stack frame in Debugger
Goto Forum:
  


Current Time: Sat Jul 13 19:18:51 GMT 2024

Powered by FUDForum. Page generated in 0.04327 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top