This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Exception occured when: 1) I have the source code (see below) 2) Hold Ctrl key 3) Get the mouse cursor over the "abcdef" text 4) wait a second to the hyperlink tooltip Source code: public class Midlet extends MIDlet {abcdef } Exception: java.io.IOException at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:322) [catch] at org.netbeans.modules.editor.java.GoToSupport.performGoTo(GoToSupport.java:76) at org.netbeans.modules.editor.java.GoToSupport.getGoToElementTooltip(GoToSupport.java:67) at org.netbeans.modules.java.editor.hyperlink.JavaHyperlinkProvider.getShortDescription(JavaHyperlinkProvider.java:103) at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$1.run(HyperlinkOperation.java:92) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:525) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:957) Caused by: java.lang.NullPointerException at org.netbeans.api.java.source.SourceUtils.getEnclosingTypeElement(SourceUtils.java:225) at org.netbeans.modules.editor.java.GoToSupport$DisplayNameElementVisitor.visitType(GoToSupport.java:215) at org.netbeans.modules.editor.java.GoToSupport$DisplayNameElementVisitor.visitType(GoToSupport.java:171) at com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:827) at javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:68) at org.netbeans.modules.editor.java.GoToSupport$1.run(GoToSupport.java:109) at org.netbeans.modules.editor.java.GoToSupport$1.run(GoToSupport.java:79) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:320) ... 6 more
Should be fixed.
This does not happen anymore. Verified. --- Product Version = NetBeans IDE Dev (Build 061016) Operating System = Linux version 2.6.12-1.1390_FC4smp running on i386 Java; VM; Vendor; Home = 1.5.0_05; Java HotSpot(TM) Server VM 1.5.0_05-b05; Sun Microsystems Inc.; /usr/jdk1.5.0_05/jre System Locale; Encoding = en_US (nb); UTF-8