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 245415 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager.debug
Summary: NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.Na...
Status: RESOLVED DUPLICATE of bug 255919
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-04 14:49 UTC by Alexander Pepin
Modified: 2016-01-29 14:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 210435


Attachments
stacktrace (1.31 KB, text/plain)
2014-07-04 14:49 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2014-07-04 14:49:23 UTC
Build: NetBeans IDE Dev (Build 201407040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Linux

User Comments:
apepin: - opened IDE with existing MP sample project
- selected MP sample in Projects view and pushed Debug on the toolbar

GUEST: Tried to debug a newly created C++ project.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerManager.debug(NativeDebuggerManager.java:1203)
   at org.netbeans.modules.cnd.debugger.common2.DbgActionHandler$2.run(DbgActionHandler.java:151)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
Comment 1 Alexander Pepin 2014-07-04 14:49:25 UTC
Created attachment 147891 [details]
stacktrace
Comment 2 Maria Tishkova 2014-10-09 11:21:30 UTC
Looks like the problem was with using virtual box and incorrect port forwarding setup
Comment 3 Maria Tishkova 2014-10-09 11:22:18 UTC
sorry, wanted to close another bug
Comment 4 Maria Tishkova 2014-10-30 09:42:40 UTC
Ok. here is my evaluation


The exception occurred as resetConfiguration invoked in one thread in ConfigurationDescriptorProvider which clean auxObjectsMap fro MakeConfiguration and meanwhile in another thread (EDT) debugger is trying to get object from this map (no lock is used for changes in auxObjectsMap in Configuration)
Comment 5 henk89 2016-01-29 14:55:28 UTC

*** This bug has been marked as a duplicate of bug 255919 ***