permaculture playing cards*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Problem to help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Problem to help " Watch "Problem to help " New topic
Author

Problem to help

Claudio Luz
Greenhorn

Joined: Feb 13, 2003
Posts: 27
Dear javaranchs,
I am testing my application. I am noting that when
i move the mouse over of the JEditorPanel occurs
the following error message:
I implemented HelpViewer.java like a JFrame that
uses JEditorPane to shows the contents of help.
java.lang.NullPointerException
at javax.swing.text.html.HTMLEditorKit$LinkController.doesElementContainLocation(Unknown Source)
at javax.swing.text.html.HTMLEditorKit$LinkController.mouseMoved(Unknown Source)
at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

My HelpViewer is launched in DataController.java

DataController is a simple class like
public DataController {
// bla bla
}
By the way, i am using the version 1.4.0-b92,
some suggestion to clean that problem?
Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem to help
 
Similar Threads
display CGM images iingn web browser with out using any viewer in java
java.lang.NoClassDefFoundError: javax/mail/Address Exception when sending a mail from Eclipse?
Open File Function
null pointer exception when clicking on JCheckbox
RMI method invocation return value