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 196010 - MinGW: Attach Debugger generates NPE
Summary: MinGW: Attach Debugger generates NPE
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords: REGRESSION
: 196079 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-25 15:18 UTC by soldatov
Modified: 2011-02-28 11:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2011-02-25 15:18:21 UTC
MinGW + MSys

Scenario:
- Create Quote
- Launch from IDE
- Call Attach window
- Select process on press OK button
==>
java.lang.NullPointerException
	at org.netbeans.modules.nativeexecution.support.windows.SimpleConverter.convert(SimpleConverter.java:71)
	at org.netbeans.modules.nativeexecution.api.util.WindowsSupport.convert(WindowsSupport.java:333)
	at org.netbeans.modules.nativeexecution.api.util.WindowsSupport.convertFromMSysPath(WindowsSupport.java:302)
	at org.netbeans.modules.cnd.debugger.common2.utils.FileMapper$MSysFileMapper.engineToWorld(FileMapper.java:215)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbFrame.getFullPath(GdbFrame.java:159)
	at org.netbeans.modules.cnd.debugger.gdb2.Disassembly.reloadDis(Disassembly.java:447)
	at org.netbeans.modules.cnd.debugger.gdb2.Disassembly.stateUpdated(Disassembly.java:422)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.setStackWithArgs(GdbDebuggerImpl.java:1877)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.access$1400(GdbDebuggerImpl.java:137)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$13.onDone(GdbDebuggerImpl.java:1896)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandManager.dispatch(MICommandManager.java:149)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.dispatch(MIProxy.java:175)
	at org.netbeans.modules.cnd.debugger.gdb2.Gdb$MyMIProxy.dispatch(Gdb.java:1063)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.result(MIProxy.java:180)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.processLine(MIProxy.java:144)
	at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap$3.run(Gdb.java:1041)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:425)
	at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap.dispatchInterceptedLines(Gdb.java:1039)
	at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap.putChars(Gdb.java:821)
	at org.netbeans.lib.terminalemulator.Term.putChars(Term.java:3184)
	at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor$Trampoline.run(StreamTerm.java:205)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Egor Ushakov 2011-02-26 00:32:55 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/9e6f8695495b
Comment 2 Quality Engineering 2011-02-27 05:10:20 UTC
Integrated into 'main-golden', will be available in build *201102270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9e6f8695495b
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #196010 (MinGW: Attach Debugger generates NPE)
Comment 3 Vladimir Voskresensky 2011-02-28 11:15:50 UTC
*** Bug 196079 has been marked as a duplicate of this bug. ***