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 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.io.DebuggerExternalTerminal.<init>
Summary: NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.io...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-13 05:53 UTC by Exceptions Reporter
Modified: 2015-07-22 11:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218482


Attachments
stacktrace (677 bytes, text/plain)
2015-07-13 05:53 UTC, Exceptions Reporter
Details
fix (1.29 KB, patch)
2015-07-22 11:14 UTC, ilia
Details | Diff

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