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 137204 - Exception setting Threads > Change Visible Column
Summary: Exception setting Threads > Change Visible Column
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Joelle Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-13 21:24 UTC by _ krystyna
Modified: 2008-06-27 16:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2008-06-13 21:24:27 UTC
NetBeans IDE Dev (Build 200806131351)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1

1. Open Windows > Debugging > Sessions and Threads windows 
2. Place a debugger keyword statement inside a javascript statement of an html file (web project) and set run client 
   side debugger project property
3. Run debugger
4. After project Sessions shows suspended on debugger, switch to Threads view and on State entry, set List Options > 
Change Visible Columns and check "Suspended: Is thread suspended by debugger"

> get Exception:


org.netbeans.spi.viewmodel.UnknownTypeException: 
org.netbeans.modules.web.client.javascript.debugger.js.impl.JSWindowImpl@e1bdc8 [class 
org.netbeans.modules.web.client.javascript.debugger.js.impl.JSWindowImpl]
        at org.netbeans.spi.viewmodel.Models$DelegatingTableModel.getValueAt(Models.java:1512)
        at org.netbeans.spi.viewmodel.Models$CompoundModel.getValueAt(Models.java:3098)
        at org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.evaluateLazily(TreeModelNode.java:976)
        at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:1174)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)


5. Kill/Finish that session and relaunch debugger.

>The same exception is output after debugger is launched again.
Comment 1 Joelle Lam 2008-06-21 01:15:54 UTC
It seems like this bug is no longer there.  It may have been fixed by some of the underlying API that have been modified
recently.  Krys, can you check if you can reproduce this?
Comment 2 _ krystyna 2008-06-21 01:34:53 UTC
I am able to reproduce (few small differences in line numbers) with  NetBeans IDE Dev (Build 200806201204): 


org.netbeans.spi.viewmodel.UnknownTypeException: 
org.netbeans.modules.web.client.javascript.debugger.js.impl.JSWindowImpl@152c8c1 [class 
org.netbeans.modules.web.client.javascript.debugger.js.impl.JSWindowImpl]
        at org.netbeans.spi.viewmodel.Models$DelegatingTableModel.getValueAt(Models.java:1512)
        at org.netbeans.spi.viewmodel.Models$CompoundModel.getValueAt(Models.java:3102)
        at org.netbeans.modules.viewmodel.TreeModelNode$MyProperty.evaluateLazily(TreeModelNode.java:979)
        at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:1177)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 3 Joelle Lam 2008-06-24 05:26:14 UTC
Confirm: I finally noticed the exception coming through the output.  Some reason I was looking for a dialog to show up.
Modified getValueOf to deal with the isSuspended column of Threads.  Hopefully this logically makes sense.  In
JavaScript when one frame is suspended, technically all of them are suspended. 

http://hg.netbeans.org/main/rev/72b2497005fb
Comment 4 _ krystyna 2008-06-26 00:46:44 UTC
Verified fixed in NetBeans IDE Dev (Build 200806251543) and made it into M1. 
Thanks!
Comment 5 Quality Engineering 2008-06-27 16:04:34 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #285 build
Changeset: http://hg.netbeans.org/main/rev/72b2497005fb
User: JoelleLam@netbeans.org
Log: FIX: #137204