Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352700 - NullPointerException when hovering inside the Java editor in debug mode
Summary: NullPointerException when hovering inside the Java editor in debug mode
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 02:30 EDT by heiko.eichberger CLA
Modified: 2011-07-21 04:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?