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.
Build: NetBeans IDE Dev (Build cnd-main-3600-on-100520) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS User Comments: apepin: Stepe to reproduce: - create any project, e.g. Arguments - expand project/Source Files node in Projects view - select ars.c file but do not open it in the editor - call Debug/New Breakpoint from the main menu Result: Exception appears. Stacktrace: java.lang.IllegalArgumentException: Invalid line=-1 or column=0 at org.netbeans.api.editor.DialogBinding.bindComponentToFile(DialogBinding.java:117) at org.netbeans.modules.cnd.debugger.common.breakpoints.customizers.ConditionsPanel.<init>(ConditionsPanel.java:82) at org.netbeans.modules.cnd.debugger.common.breakpoints.customizers.FunctionBreakpointPanel.<init>(FunctionBreakpointPanel.java:99) at org.netbeans.modules.cnd.debugger.common.breakpoints.customizers.FunctionBreakpointPanel.<init>(FunctionBreakpointPanel.java:86) at org.netbeans.modules.cnd.debugger.common.breakpoints.types.FunctionBreakpointType.getCustomizer(FunctionBreakpointType.java:70) at org.netbeans.modules.debugger.ui.actions.AddBreakpointPanel.update(AddBreakpointPanel.java:290)
Created attachment 99316 [details] stacktrace
It's definitely a showstopper so I'm starting the showstopper process.
cnd bug
fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/f98663729e29
Vladimir, please review
I agree with fix, it is safe and solves the issue.
verified in cnd-main in dev build. Please push the fix into release69 clone.
integrated into release69: http://hg.netbeans.org/release69/rev/295cc621dc5f
verified in rc1 (20100524) build.