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 214838 - IllegalArgumentException: Already listening to C:\Users\bkm\.m2\repository\com\pb\cis\CISToolsN\1.3\CisToolsN-1.3.jar
Summary: IllegalArgumentException: Already listening to C:\Users\bkm\.m2\repository\co...
Status: RESOLVED DUPLICATE of bug 211588
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-27 05:41 UTC by b-k-m
Modified: 2012-07-16 13:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 190126


Attachments
stacktrace (3.28 KB, text/plain)
2012-06-27 05:41 UTC, b-k-m
Details

Note You need to log in before you can comment on or make changes to this bug.
Description b-k-m 2012-06-27 05:41:36 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Server VM, 20.7-b02, Java(TM) SE Runtime Environment, 1.6.0_32-b05
OS: Windows 7

Stacktrace: 
java.lang.IllegalArgumentException: Already listening to C:\Users\bkm\.m2\repository\com\pb\cis\CISToolsN\1.3\CisToolsN-1.3.jar
   at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:289)
   at org.netbeans.modules.maven.problems.ProblemReporterImpl.addMissingArtifact(ProblemReporterImpl.java:217)
   at org.netbeans.modules.maven.problems.ProblemReporterImpl.doArtifactChecks(ProblemReporterImpl.java:371)
   at org.netbeans.modules.maven.problems.ProblemReporterImpl.doBaseProblemChecks(ProblemReporterImpl.java:350)
   at org.netbeans.modules.maven.NbMavenProjectImpl.fireProjectReload(NbMavenProjectImpl.java:411)
   at org.netbeans.modules.maven.api.NbMavenProject.fireProjectReload(NbMavenProject.java:497)
Comment 1 b-k-m 2012-06-27 05:41:41 UTC
Created attachment 121422 [details]
stacktrace
Comment 2 Milos Kleint 2012-06-27 07:38:08 UTC
this could probably just happen when 2 non-equal() artifacts point to the same location in local repository. That would mean different types pointing to same jar file or empty vs. missing classifier.

or it's a duplicate of issue #211588, in that case it would be fixed in RC or final 7.2
Comment 3 Milos Kleint 2012-07-16 13:48:41 UTC

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