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 195999 - Problems in "Add Variable Formatter" dialog
Summary: Problems in "Add Variable Formatter" dialog
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 13:29 UTC by Jiri Kovalsky
Modified: 2011-03-05 05:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot showing editable value field in Add Variable Formatter dialog. (29.54 KB, image/png)
2011-02-25 13:29 UTC, Jiri Kovalsky
Details
ArrayIndexOutOfBoundsException thrown on every click in the "list of variables" table. (5.15 KB, text/plain)
2011-02-25 13:32 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2011-02-25 13:29:50 UTC
Created attachment 106449 [details]
Screenshot showing editable value field in Add Variable Formatter dialog.

Product Version: NetBeans IDE Dev (Build 201102240001)
Java: 1.7.0-ea; Java HotSpot(TM) 64-Bit Server VM 21.0-b02
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; cs_CZ (nb)
Userdir: /home/cesilko/.netbeans/dev

I was playing with variable formatters and found out that cells in "list of variables" table sometimes stay enabled. I also got an exception - see attachment. I cannot reproduce it though. Please note that this is not JDK 7 issue. The same happens when JDK 6 Update 24 is used.

Steps to reproduce:
===================
1. Invoke "Tools > Options" and click "Miscellaneous" button.
2. Select "Java Debugger" tab and then "Variable Formatters" category.
3. Click "Add..." button. Check "Children displayed as" option.
4. Check "list of variables" option and click "Add" button.
5. Type "abcd" into "Name" cell and then select "result of code snippet" option.
6. The cell will stay editable.
Comment 1 Jiri Kovalsky 2011-02-25 13:32:14 UTC
Created attachment 106450 [details]
ArrayIndexOutOfBoundsException thrown on every click in the "list of variables" table.

I only remember that the table row had both cells empty.
Comment 2 Martin Entlicher 2011-03-04 14:20:38 UTC
Fixed by changeset:   190223:a1475a5e1e3a
http://hg.netbeans.org/main/rev/a1475a5e1e3a
Comment 3 Quality Engineering 2011-03-05 05:45:55 UTC
Integrated into 'main-golden', will be available in build *201103050000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a1475a5e1e3a
User: mentlicher@netbeans.org
Log: #195999 Stop cell editing when the table gets disabled.