[Bug 224278] New: Change Visible Columns button works wrongly

  • From:
  • To:
  • Subject: [Bug 224278] New: Change Visible Columns button works wrongly
  • Date: Fri, 28 Dec 2012 08:32:14 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=224278

             Bug #: 224278
        Issue Type: DEFECT
           Summary: Change Visible Columns button works wrongly
    Classification: Unclassified
           Product: cnd
           Version: 7.3
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Priority: P2
         Component: Debugger
        AssignedTo: 

        ReportedBy: 

         QAContact: 



Easy to reproduce in Oracle Solaris Studio, but NetBeans has same problem too

>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201212270001)
(#5398ac8d7977)
  Operating System        = SunOS version 5.11 running on x86
  Java; VM; Vendor        = 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04;
Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_10-b18
  Java Home               = /usr/jdk/jdk1.7.0_10/jre
  System Locale; Encoding = en (nb); UTF-8

Scenario:
- Create Samples|C/C++|Multi Processing Application sample
- Call context menu on project's node. Select Step into
- Push Window|Debugging|Threads menu item
==> I see Name and Executing function columns
- Press Change Visible Columns button
- Switch on all columns. Press OK.
- Press Change Visible Columns button
- Switch off all columns. Press OK.
- Press Change Visible Columns button
- Switch on "Address:" columns. Press OK.
- Press Step Over
==> Address column disappeared
- Press Change Visible Columns button
- Switch on "Address:" columns. Press OK.
==>
java.lang.IllegalArgumentException: moveColumn() - Index out of range
    at
javax.swing.table.DefaultTableColumnModel.moveColumn(DefaultTableColumnModel.java:179)
    at
org.netbeans.swing.etable.ETableColumnModel.moveColumn(ETableColumnModel.java:365)
    at
org.netbeans.modules.viewmodel.OutlineTable$1.columnAdded(OutlineTable.java:207)
    at
javax.swing.table.DefaultTableColumnModel.fireColumnAdded(DefaultTableColumnModel.java:532)
    at
org.netbeans.swing.etable.ETableColumnModel.addColumn(ETableColumnModel.java:360)
    at
org.netbeans.swing.etable.ETableColumnModel.setColumnHidden(ETableColumnModel.java:342)
    at
org.netbeans.swing.etable.ColumnSelectionPanel.changeColumnVisibility(ColumnSelectionPanel.java:257)
    at
org.netbeans.swing.etable.ColumnSelectionPanel.showColumnSelectionDialog(ColumnSelectionPanel.java:404)
    at
org.netbeans.swing.etable.ColumnSelectionPanel.showColumnSelectionPopupOrDialog(ColumnSelectionPanel.java:265)
    at org.netbeans.swing.etable.ETable$1.actionPerformed(ETable.java:1082)
    at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    at java.awt.Component.processMouseEvent(Component.java:6505)

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 224278] New: Change Visible Columns button works wrongly

soldatov 12/28/2012

[Bug 224278] Change Visible Columns button works wrongly

vv159170 12/29/2012

[Bug 224278] Change Visible Columns button works wrongly

vv159170 12/29/2012

[Bug 224278] Change Visible Columns button works wrongly

vv159170 12/29/2012

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 131 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close