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 174906

Summary: NumberFormatException: null
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: Egor Ushakov <gorrus>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic, tbrunhoff
Priority: P1 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=160339
Issue Type: DEFECT Exception Reporter: 160339
Attachments: stacktrace
gdb log
stacktrace

Description Alexander Pepin 2009-10-19 16:56:31 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910171337)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-15-generic, i386

User Comments:
GUEST: Try to debug simple OpenMP project with new MinGW toolchain (tdm-mingw-1.908.0-4.4.1-2)

apepin: Steps to reproduce:
- create Quote sample as a remote project
- switch to localhost
- do step Into



Stacktrace: 
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:417)
        at java.lang.Integer.parseInt(Integer.java:499)
        at org.netbeans.modules.cnd.debugger.gdb.breakpoints.BreakpointImpl.completeValidation(BreakpointImpl.java:138)
        at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.breakpointValidation(GdbDebugger.java:2039)
        at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.validateBreakpoint(GdbDebugger.java:1194)
        at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.resultRecord(GdbDebugger.java:1064)
Comment 1 Alexander Pepin 2009-10-19 16:57:29 UTC
Created attachment 89696 [details]
stacktrace
Comment 2 Alexander Pepin 2009-10-19 17:10:42 UTC
Exception occurred if there is a breakpoint in another project.
Comment 3 Alexander Pepin 2009-10-19 17:18:18 UTC
Created attachment 89699 [details]
gdb log
Comment 4 Alexander Pepin 2009-10-19 17:40:21 UTC
Despite it's possible to continue debugging after closing an exception window the bug is highly visible and we'll get a
lot of customer's reports if leave the bug unfixed in Beta. So I believe it should be considered as a showstopper.
Comment 5 Egor Ushakov 2009-10-19 18:13:03 UTC
fixed in:
http://hg.netbeans.org/cnd-main/rev/56aa266b0ef0
Comment 6 Egor Ushakov 2009-10-20 12:54:40 UTC
integrated into release68_beta:
http://hg.netbeans.org/release68_beta/rev/16a6210885f6
Comment 7 Alexander Pepin 2009-10-21 13:19:00 UTC
verified in Beta build 2009-10-20_21-01-27
Comment 8 Quality Engineering 2009-10-22 23:40:18 UTC
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/56aa266b0ef0
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed IZ#174906 (NumberFormatException: null)
Comment 9 tbrunhoff 2009-10-23 01:45:32 UTC
Build: NetBeans IDE Dev (Build 200910170201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27.25-170.2.72.fc10.x86_64, amd64

User Comments: 


Stacktrace: 
java.lang.NumberFormatException: null
        at java.lang.Integer.parseInt(Integer.java:415)
        at java.lang.Integer.parseInt(Integer.java:497)
        at org.netbeans.modules.cnd.debugger.gdb.breakpoints.BreakpointImpl.completeValidation(BreakpointImpl.java:138)
        at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.breakpointValidation(GdbDebugger.java:2039)
        at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.validateBreakpoint(GdbDebugger.java:1194)
        at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.resultRecord(GdbDebugger.java:1064)
Comment 10 tbrunhoff 2009-10-23 01:45:36 UTC
Created attachment 89942 [details]
stacktrace