Re: Suggestions updated only for first editor tab

Petr Kuzel <[email protected]> Fri, 09 Apr 2004 13:39:02 +0200
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Message-ID <[email protected]>
Please, fill separate one.

  Thank you
  Cc.

Frank-Michael Moser wrote:

> Unfortunately this is not completely true. When I use the
> "FixAll"-action for e.g. multiple "Unused imports" I get the attached
> IndexOutOfBoundsException. After closing the exception dialog and then
> (saving and) compiling the editor tab, so that the output window hides
> the suggestion view, I never get the suggestions view updated again.
> 
> Should I attach this and the exception as comment to the issue 41861 or
> is it better to file a separate issue for the exception?
> 
> Frank-Michael
> 
> 
> Frank-Michael Moser wrote:
> 
>> Petr, I have filed a bug:
>> http://www.netbeans.org/issues/show_bug.cgi?id=41861
>> 
>> I checked, as you 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. I added this as a comment to the
>> bug-issue.
>> 
>> Thanks,
>> Frank-Michael
>> 
>> Petr Kuzel wrote:
>> 
>>> Frank please fill the bug in Issuezilla. From my quick
>>> evaluation it looks like core/windows bug, possibly
>>> caused by space character in path. Try to check.
>>>
>>>   Cc.
>>>
>>> Frank-Michael Moser wrote:
>>>
>>>
>>>> Using the 3.6RC builds as well as earlier dev build does not update the
>>>> suggestions view after editor tabs. So I can only use suggestions once
>>>> for the very first 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
>>>>>
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:78)
>>>>>
>>>>> at ... at
>>>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
>>>>
>>>>
>>>> I have attached the complete ide.log.
>>>>
>>>> Neither reopening suggestions nor reopening java source files help.
>>>> Unfortunately suggestions so are useless.
>>>>
>>>> Frank-Michael
>>>
>>>
>>>