aspose file tools*
The moose likes Applets and the fly likes Javascript NullPointerException??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Javascript NullPointerException???" Watch "Javascript NullPointerException???" New topic
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: 805
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. Teach a man to fish, he'll drink all your beer.
Cheers, 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript NullPointerException???