Bug 264202

Summary: NPE when while accidently hovering
Product: [WebTools] JSDT Reporter: Michael Schneider <michschn>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED WORKSFORME QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: cmjaun
Version: 3.1Keywords: needinfo
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Schneider CLA 2009-02-09 11:04:22 EST
Eclipse Build ID: I20090129-1800
WTP Build ID: 3.1M4-20081219210304

I found this trace a couple of times in my error log. no steps to reproduce, sorry.

java.lang.NullPointerException
	at org.eclipse.wst.jsdt.internal.ui.text.java.hover.JavadocHover.getHoverInfo(JavadocHover.java:198)
	at org.eclipse.wst.jsdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover.getHoverInfo(AbstractJavaEditorTextHover.java:116)
	at org.eclipse.wst.jsdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo(BestMatchHover.java:99)
	at org.eclipse.wst.jsdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo(JavaEditorTextHoverProxy.java:67)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:168)
Comment 1 Chris Jaun CLA 2009-02-09 14:25:03 EST
I'm having a hard time reproducing without steps.

Can you provide any more information on what you may have been doing at the time this exception took place?

Were you working in a JS file or in an HTML/JSP page?

Were you referencing any external JS files? If so, were they source files in your workspace or were you pointing at a library?

Did you have any JSdoc comments in the code you were writing?

Were you specifically using hover help on any items in your source file? On functions, variables, something else?

Did you have any validation errors in your project?
Comment 2 Chris Jaun CLA 2009-04-29 13:17:11 EDT
I can't reproduce this bug. 

Please re-open if you can provide steps to reproduce or experience this problem again.

Thanks,
Chris