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 253433

Summary: NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.io.DebuggerExternalTerminal.<init>
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: DebuggerAssignee: ilia
Status: RESOLVED FIXED    
Severity: normal CC: alexvsimon
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 218482
Attachments: stacktrace
fix

Description Exceptions Reporter 2015-07-13 05:53:40 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: OpenJDK 64-Bit Server VM, 24.79-b02, OpenJDK Runtime Environment, 1.7.0_79-b14
OS: Linux

User Comments:
GUEST: The built in Debugger does not start. It keeps on loading but never gets finished loading debugger, 

Freshly installed Kubuntu 15.04 system. Might be because of some incompatability. Could not find any help on the internet.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.debugger.common2.debugger.io.DebuggerExternalTerminal.<init>(DebuggerExternalTerminal.java:94)
   at org.netbeans.modules.cnd.debugger.common2.debugger.io.ExternalTerminalPack.start(ExternalTerminalPack.java:64)
   at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Factory.startAsync(Gdb.java:320)
   at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Factory.access$1400(Gdb.java:166)
   at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Factory$1$1.run(Gdb.java:292)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 Exceptions Reporter 2015-07-13 05:53:43 UTC
Created attachment 154585 [details]
stacktrace
Comment 2 ilia 2015-07-22 11:03:39 UTC
Please, open an IDE Terminal (Window | IDE Tools | Terminal)
and send me the contents of $PATH environment variable ( echo $PATH )

It seems that for some reason none of the terminals listed below is in your PATH.

console
gnome-terminal
xterm

Also, switching a Console Type to Internal Terminal (Project Settings | Run | Console type) should solve your issue as a workaround.
Comment 3 ilia 2015-07-22 11:14:18 UTC
Created attachment 154793 [details]
fix