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 178174 - IllegalArgumentException: org.openide.filesystems.DeepListener@16b5b62 was not listening to /home/dsilva/NetBeansProjects/EstadisticaOnLineEA/claves-eol/test; only to [/home/dsilva/NetBeansProjects/es
Summary: IllegalArgumentException: org.openide.filesystems.DeepListener@16b5b62 was no...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal with 1 vote (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 178215 179788 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-04 15:56 UTC by diesil
Modified: 2010-02-01 05:32 UTC (History)
21 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163350


Attachments
stacktrace (2.48 KB, text/plain)
2009-12-04 15:56 UTC, diesil
Details
stacktrace (1.46 KB, text/plain)
2009-12-15 16:01 UTC, Ivan Sidorkin
Details
stacktrace (1.45 KB, text/plain)
2009-12-16 15:55 UTC, Jesse Glick
Details
stacktrace (2.35 KB, text/plain)
2009-12-17 15:14 UTC, Jesse Glick
Details
stacktrace (1.47 KB, text/plain)
2009-12-21 14:00 UTC, Petr Jiricka
Details
stacktrace (2.08 KB, text/plain)
2009-12-22 03:53 UTC, Jindrich Sedek
Details
stacktrace (1.50 KB, text/plain)
2009-12-22 05:00 UTC, Vladimir Voskresensky
Details
stacktrace (1.56 KB, text/plain)
2010-01-01 11:50 UTC, javydreamercsw
Details
stacktrace (1.46 KB, text/plain)
2010-01-01 11:52 UTC, javydreamercsw
Details
stacktrace (1.43 KB, text/plain)
2010-01-05 06:21 UTC, Jindrich Sedek
Details
stacktrace (1.52 KB, text/plain)
2010-01-11 15:35 UTC, _ tboudreau
Details
stacktrace (1.44 KB, text/plain)
2010-01-12 06:07 UTC, Martin Schovanek
Details
stacktrace (2.35 KB, text/plain)
2010-01-14 05:22 UTC, Jiri Rechtacek
Details
stacktrace (1.67 KB, text/plain)
2010-01-18 07:13 UTC, Jindrich Sedek
Details
stacktrace (2.35 KB, text/plain)
2010-01-22 04:23 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description diesil 2009-12-04 15:56:01 UTC
Build: NetBeans IDE Dev (Build 200912040200)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.31-15-generic, i386

Stacktrace: 
java.lang.IllegalArgumentException: org.openide.filesystems.DeepListener@16b5b62 was not listening to /home/dsilva/NetBeansProjects/EstadisticaOnLineEA/claves-eol/test; only to [/home/dsilva/NetBeansProjects/escaleweb-ea/publicaciones-ejb/src/java, /home/dsilva/NetBeansProjects/escaleweb-ea/publicaciones-war/src/java, /home/dsilva/NetBeansProjects/escaleweb-ea/padron-war/test, /home/dsilva/NetBeansProjects/escaleweb-ea/indicadores-portlet/src/java, /home/dsilva/NetBeansProjects/escaleweb-ea/publicaciones-war/test, /home/dsilva/NetBeansProjects/escaleweb-ea/codigos-ejb/src/java, /home/dsilva/NetBeansProjects/escaleweb-ea/portal-ejb/src/java, /home/dsilva/NetBeansProjects/escaleweb-ea/publicaciones-war/web, /home/dsilva/NetBeansProjects/escaleweb-ea/portal-ejb/test, /home/dsilva/NetBeansProjects/escaleweb-ea/indicadores-portlet/web, /home/dsilva/NetBeansProjects/escaleweb-ea/codigos-ejb/test, /home/dsilva/NetBeansProjects/escaleweb-ea/indicadores-portlet/test, /home/dsilva/NetBeansProjects/escaleweb-ea/publicac
   at org.openide.filesystems.FileUtil.removeFileChangeListenerImpl(FileUtil.java:297)
   at org.openide.filesystems.FileUtil.removeRecursiveListener(FileUtil.java:349)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsListeners.removeRecursiveListener(RepositoryUpdater.java:3853)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsListeners.remove(RepositoryUpdater.java:3844)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.notifyRootsRemoved(RepositoryUpdater.java:2924)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:2867)
Comment 1 diesil 2009-12-04 15:56:05 UTC
Created attachment 92159 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2009-12-07 09:51:18 UTC
*** Bug 178215 has been marked as a duplicate of this bug. ***
Comment 3 Jiri Skrivanek 2009-12-08 01:31:56 UTC
Possibly fixed by #2aace8164ada. But in general if recursive listener for a path, it cannot be removed.
Comment 4 Jiri Skrivanek 2009-12-08 01:32:57 UTC
Typo: But in general if recursive listener for a path is not registered, it cannot be removed.
Comment 5 Petr Jiricka 2009-12-15 02:44:15 UTC
Why is this marked as RESOLVED/WONTFIX? It just happened to me in the latest build - reopening.
Comment 6 Ivan Sidorkin 2009-12-15 16:01:26 UTC
Created attachment 92640 [details]
stacktrace
Comment 7 Jesse Glick 2009-12-16 15:55:37 UTC
Created attachment 92688 [details]
stacktrace
Comment 8 Jesse Glick 2009-12-17 15:14:20 UTC
Created attachment 92730 [details]
stacktrace
Comment 9 Petr Jiricka 2009-12-21 14:00:33 UTC
Created attachment 92830 [details]
stacktrace
Comment 10 Jindrich Sedek 2009-12-22 03:53:47 UTC
Created attachment 92847 [details]
stacktrace

creating new web java ee5 application on jboss
Comment 11 Vladimir Voskresensky 2009-12-22 05:00:48 UTC
Created attachment 92850 [details]
stacktrace
Comment 12 Exceptions Reporter 2009-12-22 05:01:03 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163350
Comment 13 javydreamercsw 2010-01-01 11:50:27 UTC
Created attachment 93019 [details]
stacktrace

Deleted a project still referenced by other (still opened)
Comment 14 javydreamercsw 2010-01-01 11:52:28 UTC
Created attachment 93020 [details]
stacktrace

Closing a project
Comment 15 Jindrich Sedek 2010-01-05 06:21:04 UTC
Created attachment 93078 [details]
stacktrace

closing a simple java application with 3 java classes
Comment 16 Jan Jancura 2010-01-11 07:17:58 UTC
indexing
Comment 17 _ tboudreau 2010-01-11 15:35:17 UTC
Created attachment 93195 [details]
stacktrace

Opened spi.actions in nbsrc
Comment 18 Martin Schovanek 2010-01-12 06:07:27 UTC
Created attachment 93215 [details]
stacktrace

Closing the opc-ejb project. See issue #178176 (attachement #92165).
Comment 19 Jiri Rechtacek 2010-01-14 05:22:54 UTC
Created attachment 93282 [details]
stacktrace

While closing projects
Comment 20 Jindrich Sedek 2010-01-18 07:13:41 UTC
Created attachment 93375 [details]
stacktrace

invoked run web application and IAE was thrown few seconds after
Comment 21 Exceptions Reporter 2010-01-18 07:14:42 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163350
Comment 22 Vitezslav Stejskal 2010-01-18 09:41:23 UTC
http://hg.netbeans.org/jet-main/rev/2b03a56a6355
Comment 23 Jesse Glick 2010-01-18 10:41:38 UTC
Catching (and ignoring) Exception is unsafe. The method is documented to throw IllegalArgumentException if called with a listener that was not previously added, so you should only catch that.

Of course better would be for the code to actually remember what listeners it has added to what.
Comment 24 Egor Ushakov 2010-01-22 04:23:15 UTC
Created attachment 93479 [details]
stacktrace
Comment 25 Quality Engineering 2010-01-24 08:37:23 UTC
Integrated into 'main-golden', will be available in build *201001240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2b03a56a6355
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #178174: ignore exceptions from removeRecursiveListener
Comment 26 Vitezslav Stejskal 2010-02-01 05:32:35 UTC
*** Bug 179788 has been marked as a duplicate of this bug. ***