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 134074 - code templates option hides code templates after NB crash.
Summary: code templates option hides code templates after NB crash.
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 15:26 UTC by carhire_kid
Modified: 2009-11-02 11:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bug screenshot (77.06 KB, image/gif)
2008-04-28 15:33 UTC, carhire_kid
Details
NB messages log (383.87 KB, text/plain)
2008-04-29 12:44 UTC, carhire_kid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description carhire_kid 2008-04-28 15:26:09 UTC
Product Version: NetBeans IDE 6.0.1 (Build 200801291616)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
System: Windows XP version 5.1 running on x86; Cp1252; sv_SE (nb)
Userdir: \.netbeans\6.0

The options->editor-code templates view is empty after NB crash and the java process were terminated.
The problem has happened in both 6.0 and 6.0.1.

However, the templates are still working with default setting.

Also, after NB restart the option pane is accessible until the editor pane is selected. After that, attempts to access
options has no effect until NB is restarted.

This might relate to the issue: http://www.netbeans.org/issues/show_bug.cgi?id=110962 , but I'm not sure.
Comment 1 carhire_kid 2008-04-28 15:33:30 UTC
Created attachment 60753 [details]
bug screenshot
Comment 2 Vitezslav Stejskal 2008-04-29 11:37:20 UTC
Could you please send us a log file? It's in \.netbeans\6.0\var\log\messages.log or there could be more with .1, .2, etc
extensions. I'm pretty sure there are some exceptions in the log file showing what the Tools-Options panel does not load
properly. Please use the 'Create a new attachment' link to attach the log files here. Do NOT copy/paste their contents
to the comments text area. Thanks

You could also try running Netbeans with a fresh userdir, just pass '--userdir C:\Temp\whatever' as a parameter to your
netbeans.exe.
Comment 3 carhire_kid 2008-04-29 12:44:17 UTC
Created attachment 60801 [details]
NB messages log
Comment 4 Vitezslav Stejskal 2008-04-29 15:23:21 UTC
Thanks for the log file. There is tons of NoClassDefFoundError exceptions, which usually mean that some classes/settings
are no longer available for the IDE. This may happen when uninstalling modules. Did you uninstall some modules or
perhaps installed full version of Netbeans (all packs) and then reinstalled it with stripped down version (only some
packs)? If so, using a fresh userdir should solve the problem.
Comment 5 carhire_kid 2008-04-30 10:23:39 UTC
Before this problem happened I know I had some problems when updating from the 6.0 version to 6.01 version with some
groovy modules. I had to uninstall those because NB complained about not supporting them.
But the template view still worked after this until I had to kill the java process for NB because it stopped responding.

If you find out anything more specific related to this please let me know because re-creating the whole user directory
wipes away all my preferences that took like days to set up so I'm probably gonna stick with this small problem until
6.1 is launched :)
Comment 6 Petr Dvorak 2008-07-09 11:04:36 UTC
I am just removing the INCOMPLETE keyword, as there is no pending clarification request in this report.
Comment 7 Dusan Balek 2008-11-19 08:54:24 UTC
Should be resolved LATER.
Comment 8 Quality Engineering 2009-11-02 11:01:06 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX