On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: > > Andrew Zhang wrote: > > It has nothing to do with System.out.println. I changed that statement > to > > "++i", the problem still exists. It seems Harmony(at least, nio > part) is > > not successfully initialized. The first time of pressing F5 triggers the > > problem. > > Understood, I'm just telling you what I see. > > Looking at your screenshot you are in the exception handler, so that > should be dealing with the NPE, right?
Hi Tim, yes. It's dealing with the NPE. Do you have an exception breakpoint set in the debugger or any reason > why that exception is invoking the debugger? I didn't set exception breakpoint, but I set a breakpoint explicitly at the beginning of the static initialization, and when it jumped to catch(Exception e), I pressed F5 again. That's the screen snapshot. The more I pressed F5, the more "AbstractInterruptibleChannel.<clinit>(): Line 57" is shown in the stack trace. The debugger terminates abnormally after pressing F6. Regards, > Tim > -- Best regards, Andrew Zhang http://zhanghuangzhu.blogspot.com/
