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.
Using the 3.6RC builds as well as earlier dev build I noticed that the suggestions view is not updated after switching editor tabs. So I only can use suggestions once for the very first edited class. It als produces a lot of exceptions in ide.log like this: > [WinSys.PersistenceManager.getTopComponentForID] Problem when deserializing TopComponent for tcID:'Errors'. Reason: Top component Errors could not be located or loaded from Components folder. > INFORMATIONAL *********** Exception occurred ************ at Fri Apr 02 14:57:03 CEST 2004 > java.io.FileNotFoundException: Top component Errors could not be located or loaded from Components folder. > [catch] at org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:492) > at org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:570) > at ... > at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:120) > at org.netbeans.modules.tasklist.core.TaskListView.showInMode(TaskListView.java:1024) > at org.netbeans.modules.tasklist.suggestions.ui.SuggestionsAction.show(SuggestionsAction.java:61) > at org.netbeans.modules.tasklist.suggestions.ui.SuggestionsAction.performAction(SuggestionsAction.java:47) > at ... I have attached the complete ide.log. Neither reopening the suggestions view nor reopening java source files in editor help. Unfortunately suggestions so render to be useless.
Created attachment 14332 [details] IDE log file
I checked, as Petr Kuzel proposed, whether it is releated to spaces in userdir, and yes - it is. Using -userdir "my-user-dir" in bin/ide.cfg without spaces fixed the problem for me.
Unfortunately this is not true. Once the suggestion view was hidden (e.g. by the output tab after compilation), I never get the suggestions view updated again. The errors are the same as in the attached ide.log.
On mailing list you wrote that you got different exception (index one) after using userdir without spaces. Please fill separete issue for it. Problem when deserializing TopComponent will be handled by window system developers.
Checking again this issue I found that this definitely has nothing to do with SPACES. I changed my user home to a folder wothout spaces and can reproduce the problem very easily: a) Open the suggestions view, switch editor tabs - suggestions are updated correctly. b) Now modify, save and compile the current editor tab, so that the output window opens (reporting compilation success) and hides the suggestions view. c) Open the suggestions view again, switch editor tabs - suggestions are not updated any longer.
would be good if you can zip your <userdir>/system dir and attach the zip file here. Thanks
Created attachment 14558 [details] System folder of my user home directory
Is it still present in current dev build? How to reproduce? Some steps? How do you get Suggestions?
Sorry, but I can't tell you so far, because I'm not yet using the dev-builds. Does this mean that I don't need to expect a patch for 3.6, any longer?
It is too late to fix it in release 3.6. It will be fixed in main trunk (dev build) if it still happens. If it is very annoying I can create patch for NB 3.6 which will be available here. Still I need some way how to reproduce either on dev build or NB 3.6 to be able to find fix or in other words to find out why this issue happens. I was not able to find how to view Suggestions component or where is Suggestions action located. Do I need to get something from AutoUpdate Center?
I think you can get it from http://www.netbeans.org/updates/dev/36_{$netbeans.autoupdate.version}_{$netbeans.autoupdate.regnum}.xml?{$netbeans.hash.code} or http://www.netbeans.org/updates/alpha/36_{$netbeans.autoupdate.version}_{$netbeans.autoupdate.regnum}.xml?{$netbeans.hash.code} But I'm not sure because I had suggestions already installed with the pre-3.6-dev-builds. To be honest, it's quite annoying, because the way I use it now is I sometimes I open the suggestions view to fix a bunch of issues in the recently edited classes (strictly avoiding recompilation of any class). If once I have recompiled a class the I would have to restart NetBeans to use suggestions again.
Created attachment 18315 [details] Thread-dump for dead-locked IDE window
Sorry, I edited the wrong issue! Please ignore the thread-dump.
I just tried on my fresh dev build and it looks fine. I have simple project with 2 java sources. As I modify, save one java source and build project using F11. Then I switch between 2 editor tabs and suggestions view is updated as before. (Linux, JDK 1.5.0, hopefully it is not Win specific) Pleas retest again and verify or reopen if you are able to reproduce it. Thanks.
My fresh NB dev build from 041020.
Sorry, but where can I get the Suggestions View module for the latest dev builds of NB4? Is there any update-center or download page?
I have CVS version on my machine. It is checked out as tasklist module (with many submodules). When I then run ant from tasklist dir (.../nbsrc/tasklist/ant it builds all its submodules to nbbuild/netbeans. Then you can run IDE from there or copy it elsewhere for testing. To checkout and build use: cvs -q -z6 co standard (then eventualy cvs -q -z6 up -d -P) go to nbbuild ad run 'ant build-nozip' to get NB build at nbbuild/netbeans build tasklist modules as given above
closed
This issue had *1 votes* before move to platform component