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 186507 - IllegalArgumentException: Invalid line=-1 or column=0
Summary: IllegalArgumentException: Invalid line=-1 or column=0
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 13:26 UTC by Alexander Pepin
Modified: 2010-05-25 12:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169953


Attachments
stacktrace (4.48 KB, text/plain)
2010-05-21 13:26 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2010-05-21 13:26:26 UTC
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)
Comment 1 Alexander Pepin 2010-05-21 13:26:30 UTC
Created attachment 99316 [details]
stacktrace
Comment 2 Alexander Pepin 2010-05-21 13:30:15 UTC
It's definitely a showstopper so I'm starting the showstopper process.
Comment 3 Egor Ushakov 2010-05-21 13:45:00 UTC
cnd bug
Comment 4 Egor Ushakov 2010-05-21 13:51:30 UTC
fixed in cnd-main:
http://hg.netbeans.org/cnd-main/rev/f98663729e29
Comment 5 Egor Ushakov 2010-05-21 13:51:52 UTC
Vladimir, please review
Comment 6 Vladimir Voskresensky 2010-05-21 15:07:01 UTC
I agree with fix, it is safe and solves the issue.
Comment 7 Alexander Pepin 2010-05-21 15:41:06 UTC
verified in cnd-main in dev build. Please push the fix into release69 clone.
Comment 8 Egor Ushakov 2010-05-21 15:55:07 UTC
integrated into release69:
http://hg.netbeans.org/release69/rev/295cc621dc5f
Comment 9 Alexander Pepin 2010-05-25 12:21:21 UTC
verified in rc1 (20100524) build.