Re: [M3] NPE is thrown while debugging with M3

2007-10-12 Thread Gregory Shimansky
Tim Ellison wrote: Gregory Shimansky wrote: Tim Ellison wrote: Andrew Zhang wrote: On 10/11/07, Tim Ellison <[EMAIL PROTECTED]> wrote: Is that something we need to add to a technical FAQ? yeah, I think it would be really helpful! There is a (short) technical FAQ in this page: https://svn.

Re: [M3] NPE is thrown while debugging with M3

2007-10-12 Thread Tim Ellison
Gregory Shimansky wrote: > Tim Ellison wrote: >> Andrew Zhang wrote: >>> On 10/11/07, Tim Ellison <[EMAIL PROTECTED]> wrote: Is that something we need to add to a technical FAQ? >>> >>> yeah, I think it would be really helpful! >> >> There is a (short) technical FAQ in this page: >> https://

Re: [M3] NPE is thrown while debugging with M3

2007-10-11 Thread Gregory Shimansky
Tim Ellison wrote: Andrew Zhang wrote: On 10/11/07, Tim Ellison <[EMAIL PROTECTED]> wrote: Is that something we need to add to a technical FAQ? yeah, I think it would be really helpful! There is a (short) technical FAQ in this page: https://svn.apache.org/repos/asf/harmony/standard/site/x

Re: [M3] NPE is thrown while debugging with M3

2007-10-11 Thread Tim Ellison
Andrew Zhang wrote: > On 10/11/07, Tim Ellison <[EMAIL PROTECTED]> wrote: >> Is that something we need to add to a technical FAQ? > > > yeah, I think it would be really helpful! There is a (short) technical FAQ in this page: https://svn.apache.org/repos/asf/harmony/standard/site/xdocs/faq.xml

Re: [M3] NPE is thrown while debugging with M3

2007-10-11 Thread Andrew Zhang
On 10/11/07, Tim Ellison <[EMAIL PROTECTED]> wrote: > > > > Andrew Zhang wrote: > > On 10/11/07, Gregory Shimansky <[EMAIL PROTECTED]> wrote: > >> Andrew Zhang wrote: > > >>> Here are some more details: > >>> > >>> NPE stack trace: > >>> > >>> Thread [main] (Suspended) > >>> NullPointerExcepti

Re: [M3] NPE is thrown while debugging with M3

2007-10-11 Thread Tim Ellison
Andrew Zhang wrote: > On 10/11/07, Gregory Shimansky <[EMAIL PROTECTED]> wrote: >> Andrew Zhang wrote: >>> Here are some more details: >>> >>> NPE stack trace: >>> >>> Thread [main] (Suspended) >>> NullPointerException.() line: 34 >>> AbstractInterruptibleChannel.() line: 57 [local varia

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Andrew Zhang
On 10/11/07, Gregory Shimansky <[EMAIL PROTECTED]> wrote: > > Andrew Zhang wrote: > > On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: > >> Gregory Shimansky wrote: > >>> Andrew Zhang wrote: > Hi all, > > I meet a problem when debugging java application with M3. It throws > NPE >

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Gregory Shimansky
Andrew Zhang wrote: On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: Gregory Shimansky wrote: Andrew Zhang wrote: Hi all, I meet a problem when debugging java application with M3. It throws NPE immediately after pressing F5/F6. Here's simple test: public static void main(String[] args) {

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Andrew Zhang
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

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Tim Ellison
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

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Andrew Zhang
On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: > > Gregory Shimansky wrote: > > Andrew Zhang wrote: > >> On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: > > >> > >> Here are some more details: > >> > >> NPE stack trace: > >> > >> Thread [main] (Suspended) > >> NullPointerException.()

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Andrew Zhang
Hi Gregory, The stack trace is not shown in the console, but debugger is terminated abnormally. It looks like the following code in AbstractInterruptibleChannel causes the problem: static initialization: static { try { setInterruptAction = AccessController

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Tim Ellison
Gregory Shimansky wrote: > Andrew Zhang wrote: >> On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: >> >> Here are some more details: >> >> NPE stack trace: >> >> Thread [main] (Suspended) >> NullPointerException.() line: 34 >> AbstractInterruptibleChannel.() line: 57 [local variables >>

Re: [M3] NPE is thrown while debugging with M3

2007-10-10 Thread Gregory Shimansky
Andrew Zhang wrote: On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: Gregory Shimansky wrote: Andrew Zhang wrote: Hi all, I meet a problem when debugging java application with M3. It throws NPE immediately after pressing F5/F6. Here's simple test: public static void main(String[] args) {

Re: [M3] NPE is thrown while debugging with M3

2007-10-09 Thread Andrew Zhang
On 10/10/07, Tim Ellison <[EMAIL PROTECTED]> wrote: > > Gregory Shimansky wrote: > > Andrew Zhang wrote: > >> Hi all, > >> > >> I meet a problem when debugging java application with M3. It throws NPE > >> immediately after pressing F5/F6. Here's simple test: > >> > >> public static void main(String

Re: [M3] NPE is thrown while debugging with M3

2007-10-09 Thread Tim Ellison
Gregory Shimansky wrote: > Andrew Zhang wrote: >> Hi all, >> >> I meet a problem when debugging java application with M3. It throws NPE >> immediately after pressing F5/F6. Here's simple test: >> >> public static void main(String[] args) { >> int count = 100; >> for(int i = 0; i < c

Re: [M3] NPE is thrown while debugging with M3

2007-10-09 Thread Gregory Shimansky
Andrew Zhang wrote: Hi all, I meet a problem when debugging java application with M3. It throws NPE immediately after pressing F5/F6. Here's simple test: public static void main(String[] args) { int count = 100; for(int i = 0; i < count; ++i) { System.out.println(i);

[M3] NPE is thrown while debugging with M3

2007-10-09 Thread Andrew Zhang
Hi all, I meet a problem when debugging java application with M3. It throws NPE immediately after pressing F5/F6. Here's simple test: public static void main(String[] args) { int count = 100; for(int i = 0; i < count; ++i) { System.out.println(i); // put a breakpoint h