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.
Whenever you minimize the Call Stack window it doesn't remember the column widths, you have to reset them each time you open the window
Sorry, I meant the Local Variables window
It works fine for me except the toString() column which is already reported as issue #77191.
It happens to me every single time. Not just the toString() column, the variable name column gets ridiculously wide and the type column too. Could this be platform-dependent? I am running on Java 1.5.0_06 on OS X 10.4.6 on PPC.
*** Issue 77191 has been marked as a duplicate of this issue. ***
There is a mechanism for storing the column sizes. We'll chack whether it works correctly...
*** Issue 112638 has been marked as a duplicate of this issue. ***
*** Issue 114032 has been marked as a duplicate of this issue. ***
The storage of table columns was fixed: /shared/data/ccvs/repository/debuggercore/viewmodel/src/org/netbeans/modules/viewmodel/TreeTable.java,v <-- TreeTable.java new revision: 1.33; previous revision: 1.32
Now i get: java.lang.ArrayIndexOutOfBoundsException: 2 >= 2 at java.util.Vector.elementAt(Vector.java:427) at javax.swing.table.DefaultTableColumnModel.getColumn(DefaultTableColumnModel.java:277) at org.netbeans.modules.viewmodel.TreeTable.saveWidths(TreeTable.java:364) at org.netbeans.modules.viewmodel.TreeTable.setModel(TreeTable.java:135) [catch] at org.netbeans.spi.viewmodel.Models$1.run(Models.java:146) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Thanks for the fast report. For which view was that exception thrown? I was not able to reproduce it so far...
> For which view was that exception thrown? Not sure what you mean exactly by view. But debugger was attached, with Local Variables topcomponent active. The exception popped up when returning to netbeans after having used the browser for a bit.
Matching the model columns to JTable columns is really tricky. I've found some subtle bug there, so fixing that hopefully fixes this exception as well. I've added some mor diagnostics, which should help to find the problem if there's still some problem. /shared/data/ccvs/repository/debuggercore/viewmodel/src/org/netbeans/modules/viewmodel/Column.java,v <-- Column.java new revision: 1.10; previous revision: 1.9 /shared/data/ccvs/repository/debuggercore/viewmodel/src/org/netbeans/modules/viewmodel/TreeTable.java,v <-- TreeTable.java new revision: 1.34; previous revision: 1.33
The ArrayIndexOutOfBoundsException has gone away now.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.