Description of problem: This NPE showed up a few times when testing CDT debug. This has to do with the hover help stuff that pops up when you move your mouse over a variable in the source file while debugging, and it displays the current value of the variable. Version-Release number of selected component (if applicable): snapshot-20031119-eclipse-2.1.1-3 How reproducible: Sometimes Steps to Reproduce: 1. Debug a program using CDT debug 2. Try using the debug hover help capability 3. Actual results: I get this printed out on the console where I started eclipse, with nothing in the .log file: [snip] Exception in thread "Text Viewer Hover Presenter" java.lang.NullPointerException at org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover.getHoverInfo(org.eclipse.jface.text.ITextViewer, org.eclipse.jface.text.IRegion) (/usr/lib/eclipse/plugins/org.eclipse.cdt.debug.ui_1.2.0/libcdtdebugui.so) at org.eclipse.cdt.internal.ui.editor.CEditorTextHoverDispatcher.getHoverInfo(org.eclipse.jface.text.ITextViewer, org.eclipse.jface.text.IRegion) (/usr/lib/eclipse/plugins/org.eclipse.cdt.ui_1.2.0/libcdtui.so) at org.eclipse.jface.text.TextViewerHoverManager$2.run() (/usr/lib/eclipse/plugins/org.eclipse.jface.text_2.1.0/libjfacetext.so) at _Jv_ThreadRun(java.lang.Thread) (/lib/ssa/libgcj.so.4.0.0) at GC_start_routine (/lib/ssa/libgcj.so.4.0.0) at __clone (/lib/tls/libc-2.3.2.so) [/snip] ... will investigate further and move the PR upstream.
Jeremy, I'm assigning these to you for triage, since you said on the list you'd be looking at them.
I've been able to reproduce this both when running with libgcj and with the IBM JVM. Whenever I fire up a debug session and mouse-over something I expect a hover-help box from, I am getting this exception. I'm looking at it now.
I found a fix for this in the upstream 1.2.1 branch (from Mikhail Khodjaiants at QNX), so I checked in the patch here too. Closing.
Moving from RHEL/3/Eclipse to Red Hat Developer Suite product.