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 188831 - IllegalArgumentException: callstackView
Summary: IllegalArgumentException: callstackView
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 15:27 UTC by tbrunhoff
Modified: 2010-07-23 03:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169983


Attachments
stacktrace (2.66 KB, text/plain)
2010-07-21 15:27 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2010-07-21 15:27:49 UTC
Build: NetBeans IDE Dev (Build 201007080001)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Linux

User Comments:
tbrunhoff: pulled down Window-->debugging-->call stack

tbrunhoff: cannot display call stack, even after restarting the ide.

GUEST: Trying to open Window/Debugging/Variables

tbrunhoff: call stack cannot be displayed.




Stacktrace: 
java.lang.IllegalArgumentException: callstackView
   at org.netbeans.modules.debugger.ui.actions.ViewActions.openComponent(ViewActions.java:86)
   at org.netbeans.modules.debugger.ui.actions.ViewActions.actionPerformed(ViewActions.java:80)
   at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:137)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
   at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
   at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
Comment 1 tbrunhoff 2010-07-21 15:27:53 UTC
Created attachment 100957 [details]
stacktrace
Comment 2 tbrunhoff 2010-07-21 15:31:24 UTC
Same issue, even after restarting the ide. Pretty much makes this unusable as a debugger. I suspect that this particular stack trace might have some detail that causes the problem...
Comment 3 Martin Entlicher 2010-07-21 21:02:08 UTC
The problem is:

[Fatal Error] :1:1: Premature end of file.
INFO [org.netbeans.core.windows.persistence]: [PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'callstackView'. Reason: Top component callstackView could not be loaded, either owning module was disabled, has incompatible version or top components settings file format is broken.
[Fatal Error] :1:1: Premature end of file.

This has happened to me when e.g. disk was full and NetBeans could not save settings. Instead of corrupting the settings files, it should leave the original content, or nothing. This is not fixable in debugger, please assure that the settings saving is fails-safe.
Comment 4 Stanislav Aubrecht 2010-07-22 14:30:03 UTC
core-main 33a84d3bd248

the window system will try falling back to module's original version of TC settings file if the copy in Windows2Local folder is broken for some reasong
Comment 5 Quality Engineering 2010-07-23 03:07:06 UTC
Integrated into 'main-golden', will be available in build *201007230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/33a84d3bd248
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #188831 - try falling back to module's version of TC settings file if deserialization failed