File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 9043
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
I agree. Here's the link:
subject: NullPointerExceptio Occurred During Dispatch Event
Similar Threads
I found that inner classes cause problem run my jar file (no problem making the jar or compiling),
urgent:Problem with action event of JButton
What's wrong here!
putting images in java applet using swing, which is coded in netbeans IDE.
Remove comma in the JSpinner