| Author |
Javascript NullPointerException???
|
Chinh Tran Nam
Ranch Hand
Joined: Nov 08, 2004
Posts: 35
|
|
Hello, Using IE6 for web application with applets, sometimes I got NullPointerException thrown directly to browser - like a Javascript runtime error message - not to Java Console. Why? Please advice? Thanks.
|
 |
Jeff Bosch
Ranch Hand
Joined: Jul 30, 2003
Posts: 804
|
|
|
JavaScript is not Java. The Java console does not, to the best of my knowledge, report JavaScript or other general web page errors, only the Java-related errors.
|
Give a man a fish, he'll eat for one day. <br />Teach a man to fish, he'll drink all your beer.<br /> <br />Cheers,<br /> <br />Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
|
 |
Chinh Tran Nam
Ranch Hand
Joined: Nov 08, 2004
Posts: 35
|
|
Jeff,
JavaScript is not Java. The Java console does not, to the best of my knowledge, report JavaScript or other general web page errors, only the Java-related errors
I know about this. It's obvious that NullPointerException is NOT a JavaScript error, it's a Java-related error. My question is why it throws (look like) a Javascipt error message (see this: http://chinhtrannam.topcities.com/error1.jpg ). Is it because of the debugger plugin? [ November 12, 2004: Message edited by: Chinh Tran Nam ]
|
 |
 |
|
|
subject: Javascript NullPointerException???
|
|
|