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 192001 - Unhandled exception on attach debugger
Summary: Unhandled exception on attach debugger
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 11:09 UTC by Alexander Pepin
Modified: 2010-11-17 07:09 UTC (History)
0 users

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 Alexander Pepin 2010-11-16 11:09:12 UTC
Steps to reproduce:
- create Quote sample
- set internal terminal as a console type
- run the project
- press Simple Attach button
Result: Exception window appears:
java.lang.AssertionError
	at org.netbeans.modules.cnd.debugger.common2.utils.IpeUtils.postError(IpeUtils.java:610)
	at org.netbeans.modules.cnd.debugger.common2.debugger.DebuggerManager.error(DebuggerManager.java:1636)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.genericFailure(GdbDebuggerImpl.java:1270)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.access$800(GdbDebuggerImpl.java:120)
	at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl$27.onError(GdbDebuggerImpl.java:3043)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MICommandManager.dispatch(MICommandManager.java:131)
	at org.netbeans.modules.cnd.debugger.gdb2.mi.MIProxy.dispatch(MIProxy.java:175)
	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:1009)
	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:1007)
	at org.netbeans.modules.cnd.debugger.gdb2.Gdb$Tap.putChars(Gdb.java:789)
	at org.netbeans.lib.terminalemulator.Term.putChars(Term.java:3184)
	at org.netbeans.lib.terminalemulator.StreamTerm$OutputMonitor$Trampoline.run(StreamTerm.java:204)
	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:138)
	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 Alexander Pepin 2010-11-16 11:18:59 UTC
This also happens with a "normal" attach.
Comment 2 Egor Ushakov 2010-11-16 14:15:57 UTC
please attach gdb log
Comment 3 Alexander Pepin 2010-11-16 15:14:05 UTC
gdb log for SimpleAttach:
~"GNU gdb 6.8-debian\n"
~"Copyright (C) 2008 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
~"This is free software: you are free to change and redistribute it.\n"
~"There is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\n"
~"and \"show warranty\" for details.\n"
~"This GDB was configured as \"i486-linux-gnu\".\n"
&"/home/ap153252/.gdbinit: No such file or directory.\n"
(gdb) 
1-file-exec-and-symbols  "-"
&"No executable file name was specified\n"
1^error,msg="No executable file name was specified"
(gdb)
Comment 4 Alexander Pepin 2010-11-16 15:15:58 UTC
For normal attach gdb log is the same.
Comment 5 Egor Ushakov 2010-11-16 16:15:47 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/ef00ead75d23
Comment 6 Quality Engineering 2010-11-17 07:09:21 UTC
Integrated into 'main-golden', will be available in build *201011170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ef00ead75d23
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed #192001 (Unhandled exception on attach debugger)