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 257830 - NullPointerException at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.visual.VisualDebug...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-03 13:52 UTC by raoul.cadei
Modified: 2016-03-24 03:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222376


Attachments
stacktrace (1.41 KB, text/plain)
2016-02-03 13:52 UTC, raoul.cadei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raoul.cadei 2016-02-03 13:52:00 UTC
This bug was originally marked as duplicate of bug 249399, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: OpenJDK 64-Bit Server VM, 24.95-b01, OpenJDK Runtime Environment, 1.7.0_95-b00
OS: Linux

User Comments:
raoul.cadei: I was working using a remote debugging session.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.initDebuggerRemoteService(VisualDebuggerListener.java:326)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener.access$100(VisualDebuggerListener.java:117)
   at org.netbeans.modules.debugger.jpda.visual.VisualDebuggerListener$2.breakpointReached(VisualDebuggerListener.java:186)
   at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:300)
   at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:491)
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.fireBreakpointEvent(JPDADebuggerImpl.java:652)
Comment 1 raoul.cadei 2016-02-03 13:52:02 UTC
Created attachment 158365 [details]
stacktrace
Comment 2 Martin Entlicher 2016-03-23 08:29:31 UTC
Can happen when the debugger console is disabled in Java Debugger options.
Fixed by changeset:   296295:104872d622d4
http://hg.netbeans.org/core-main/rev/104872d622d4
Comment 3 Quality Engineering 2016-03-24 03:01:48 UTC
Integrated into 'main-silver', will be available in build *201603240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/104872d622d4
User: mentlicher@netbeans.org
Log: #257830: Check if the debugger console is available.