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 221564 - IllegalArgumentException: Was not listening to C:\Source\HG\FEF\FrontEnd\core-frontend\cx-resolve-windows\src\test\resources
Summary: IllegalArgumentException: Was not listening to C:\Source\HG\FEF\FrontEnd\core...
Status: RESOLVED DUPLICATE of bug 223309
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-06 14:08 UTC by tim_sa
Modified: 2012-12-06 07:08 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194630


Attachments
stacktrace (3.47 KB, text/plain)
2012-11-06 14:08 UTC, tim_sa
Details
stacktrace (2.14 KB, text/plain)
2012-11-30 14:56 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim_sa 2012-11-06 14:08:47 UTC
This bug was originally marked as duplicate of bug 216069, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201211020001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

Stacktrace: 
java.lang.IllegalArgumentException: Was not listening to C:\Source\HG\FEF\FrontEnd\core-frontend\cx-resolve-windows\src\test\resources
   at org.openide.filesystems.FileUtil.removeFileChangeListenerImpl(FileUtil.java:316)
   at org.openide.filesystems.FileUtil.removeRecursiveListener(FileUtil.java:425)
   at org.netbeans.modules.maven.cos.CopyResourcesOnSave.refresh(CopyResourcesOnSave.java:139)
   at org.netbeans.modules.maven.cos.CopyResourcesOnSave$1.propertyChange(CopyResourcesOnSave.java:91)
   at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
Comment 1 tim_sa 2012-11-06 14:08:48 UTC
Created attachment 127229 [details]
stacktrace
Comment 2 Milos Kleint 2012-11-07 08:39:04 UTC
tim_sa: what is your resources definition in the efective pom?

it appears to be indeed a duplicate of issue 216069 but that was supposedly fixed, reassigning maybe the additional logging mentioned in that issues help to track the problem.
Comment 3 tim_sa 2012-11-07 08:49:51 UTC
(In reply to comment #2)
> tim_sa: what is your resources definition in the efective pom?
> 
> it appears to be indeed a duplicate of issue 216069 but that was supposedly
> fixed, reassigning maybe the additional logging mentioned in that issues help
> to track the problem.

    <resources>
      <resource>
        <directory>C:\Source\HG\FEF\FrontEnd\core-frontend\cx-resolve-windows\src\main\resources</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <directory>C:\Source\HG\FEF\FrontEnd\core-frontend\cx-resolve-windows\src\test\resources</directory>
      </testResource>
    </testResources>
Comment 4 Ondrej Vrabec 2012-11-30 14:56:33 UTC
Created attachment 128661 [details]
stacktrace

playing with external "git checkout" on commandline that quickly updates the working tree and project files
Comment 5 Jaroslav Tulach 2012-12-06 07:08:19 UTC
Same as in bug 223309: try to run with logging on.

*** This bug has been marked as a duplicate of bug 223309 ***