Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes NullPointerExceptio Occurred During Dispatch Event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "NullPointerExceptio Occurred During Dispatch Event" Watch "NullPointerExceptio Occurred During Dispatch Event" New topic

NullPointerExceptio Occurred During Dispatch Event

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
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:
at k_main.action
at java/awt/Component.handleEvent(
at java/awt/Component.postEvent(
at java/awt/Component.dispatchEventImpl(
at java/awt/Component.dispatchEvent(
at java/awt/
Please let me know what should I do?
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9044
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.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: NullPointerExceptio Occurred During Dispatch Event
Similar Threads
putting images in java applet using swing, which is coded in netbeans IDE.
I found that inner classes cause problem run my jar file (no problem making the jar or compiling),
Remove comma in the JSpinner
urgent:Problem with action event of JButton
What's wrong here!