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.

Bug 253490

Summary: NullPointerException at org.netbeans.modules.debugger.jpda.DebuggerConsoleIO$Line.show
Product: debugger Reporter: Ondrej Vrabec <ovrabec>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 218549
Attachments: stacktrace

Description Ondrej Vrabec 2015-07-15 08:29:42 UTC
Build: NetBeans IDE Dev (Build 20150707-a8fd0e51aff5)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Linux

User Comments:
ovrabec: Click on a link in Debugger Console




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.DebuggerConsoleIO$Line.show(DebuggerConsoleIO.java:100)
   at org.netbeans.modules.debugger.jpda.console.IOManager$HyperlinkRunnable.run(IOManager.java:239)
   at org.netbeans.spi.io.support.Hyperlinks.invoke(Hyperlinks.java:132)
   at org.netbeans.core.output2.NbIOProvider$1.outputLineAction(NbIOProvider.java:388)
   at org.netbeans.core.output2.OutputTab.lineClicked(OutputTab.java:271)
   at org.netbeans.core.output2.OutputPane.lineClicked(OutputPane.java:82)
Comment 1 Ondrej Vrabec 2015-07-15 08:29:44 UTC
Created attachment 154642 [details]
stacktrace
Comment 2 Martin Entlicher 2015-07-15 09:19:57 UTC
Fixed by changeset:   289742:354bebfb090a
http://hg.netbeans.org/core-main/rev/354bebfb090a
Comment 3 Quality Engineering 2015-07-17 01:19:25 UTC
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/354bebfb090a
User: mentlicher@netbeans.org
Log: #253490: Pass the debugger instance to the Line object.
Comment 4 Jiri Kovalsky 2015-07-17 11:19:42 UTC
Product Version: NetBeans IDE Dev (Build 201507170001)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)

Verified.