Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerExceptio Occurred During Dispatch Event

 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using JDk1.1.7B. It is running fine on almost all browsers and different OS system.But sometimes on Opera Browser or Netscape 4.08, it is giving this error when I click the button:
java.lang.NullPointerException
at k_main.action
at java/awt/Component.handleEvent(Component.java)
at java/awt/Component.postEvent(Component.java)
at java/awt/Component.dispatchEventImpl(Component.java)
at java/awt/Component.dispatchEvent(Component.java)
at java/awt/EventDispatchThread.run(EventDispatchThread.java)
Please let me know what should I do?
Thanks
Angela
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you show us the code for the button that is causing this error. Seems to have both 1.0 type event handling mixed with 1.1 type event handling and the two types don't mix.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic