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 225346 - a lot of INFO: Ineffective since #199391 was implemented
Summary: a lot of INFO: Ineffective since #199391 was implemented
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P3 normal with 1 vote (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
: 225344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-25 12:35 UTC by Alexander Simon
Modified: 2018-01-22 17:05 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (557.95 KB, text/plain)
2013-01-25 12:35 UTC, Alexander Simon
Details
nps snapshot (73.02 KB, application/nps)
2013-09-03 16:01 UTC, junqueira_raphael
Details
nps snapshot (65.67 KB, application/nps)
2013-09-05 17:55 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-01-25 12:35:38 UTC
Created attachment 130644 [details]
IDE log

Log contains a lot of
WARNING [org.openide.loaders.FolderChildren..home.alsimon.ws.tck.src.main.test-output-cpp]: Attempt to obtain DataObject for /home/alsimon/ws/tck/src/main/test-output-cpp/test-output-cpp.debug.pass@544ca11e:1fa450b from EDT
INFO [org.openide.loaders.FolderChildren..home.alsimon.ws.tck.src.main.test-output-cpp]: Ineffective since #199391 was implemented
java.lang.Exception: Find for /home/alsimon/ws/tck/src/main/test-output-cpp/test-output-cpp.debug.pass@544ca11e:1fa450b
Comment 1 Jaroslav Tulach 2013-01-29 09:38:58 UTC
How do I reproduce the problem?

The call seems to be coming from 
org.netbeans.modules.project.ui.actions.LookupSensitiveAction$LastActivatedWindowLookup

Possibly it is seeking for DataObject? It it seeked only for FileObject, this problem would be eliminated. There are some subclasses that seem to be seeking for DataObject:

[FileAction.java at line 78, column 60]          super(icon, lookup, new Class<?>[] {Project.class, DataObject.class});

[MainProjectAction.java at line 89, column 60]   super(icon, lookup, new Class<?>[] {Project.class, DataObject.class});
Comment 2 Alexander Simon 2013-01-29 09:49:13 UTC
Sorry if it works for you, please downgrade logging level to FINE.
If you need more info, please extend logging.
Comment 3 Alexander Simon 2013-01-29 10:14:52 UTC
Steps to reproduce:
- open Favorites
- expand home on some levels and double click on file that does not belong any project
Probably significant circumstance is: the opened file should be on slow NFS
Comment 4 Jaroslav Tulach 2013-01-29 10:18:05 UTC
If it happens in favorites, the investigation should start in favories.
Comment 5 Alexander Simon 2013-01-29 10:27:00 UTC
(In reply to comment #3)
> Probably significant circumstance is: the opened file should be on slow NFS
- double click on file before file MIME type will be resolved
Comment 6 Ondrej Vrabec 2013-01-29 10:53:47 UTC
(In reply to comment #4)
> If it happens in favorites, the investigation should start in favories.
I don't think so. The same message is printed from the Files view (and probably from the Projects view) as well when you dbl-click on a file's node in the view while its FolderChildren.DelayedNode is loading the DataObject. So maybe the fix should be made somewhere along the stacktrace (DataSystems, Lookup or Nodes). Reassigning again to the first candidate.
Comment 7 Jaroslav Tulach 2013-01-29 11:07:29 UTC
*** Bug 225344 has been marked as a duplicate of this bug. ***
Comment 8 Jaroslav Havlin 2013-08-20 10:27:28 UTC
I cannot reproduce the bug.
Method FolderChildren.DelayedLkp.convert() was always called in thread "Favorites Nodes" when I tested it.

Can you still reproduce the bug? If so, please provide exact steps to reproduce.
Thank you.
Comment 9 Jaroslav Havlin 2013-08-20 10:58:01 UTC
(In reply to Alexander Simon from comment #2)
> Sorry if it works for you, please downgrade logging level to FINE.
Please note that the INFO message is logged only if assertions are enabled, so it will not appear in releases, but only in development versions.
Comment 10 junqueira_raphael 2013-09-03 16:01:36 UTC
Created attachment 139621 [details]
nps snapshot

Compiling ...
Comment 11 Exceptions Reporter 2013-09-05 17:55:43 UTC
Created attachment 139718 [details]
nps snapshot

Editing and switching between xml, fortran, c++, and txt files.