Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352700

Summary: NullPointerException when hovering inside the Java editor in debug mode
Product: [Eclipse Project] JDT Reporter: heiko.eichberger
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description heiko.eichberger CLA 2011-07-21 02:30:50 EDT
Build Identifier: 20110615-0604

Hi,

when I'm debugging RCP applications I always got NullPointerExceptions when I'm hovering with the mouse inside the Java editor.

3004: Unexpected error occurred.
  java.lang.NullPointerException
  	at ui.ConstantStringHover.getHoverRegion(ConstantStringHover.java:86)
  	at ui.ConstantStringHover.getHoverInfo(ConstantStringHover.java:62)
  	at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:148)
  	at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
  	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

Regards,

Heiko

Reproducible: Always
Comment 1 Dani Megert CLA 2011-07-21 02:34:22 EDT
>ui.ConstantStringHover.

That's not an Eclipse class or package name. It looks like you installed some additional plug-in(s) that cause this.

>Reproducible: Always
Steps?
Comment 2 heiko.eichberger CLA 2011-07-21 04:48:15 EDT
Hi Dani,

I found out by debugging the IDE that the reason for the NullPointerException was the TapiJI plug-in from Google. So the fault isn't indeed at the Eclipse side.

Regards,

Heiko

(In reply to comment #1)
> >ui.ConstantStringHover.
> 
> That's not an Eclipse class or package name. It looks like you installed some
> additional plug-in(s) that cause this.
> 
> >Reproducible: Always
> Steps?