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 180003 - "Attempt to remove nonexistent path" from maven.ProjectOpenedHookImpl.projectClosed
Summary: "Attempt to remove nonexistent path" from maven.ProjectOpenedHookImpl.project...
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 08:58 UTC by fleka
Modified: 2010-10-06 18:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 95827


Attachments
stacktrace (3.70 KB, text/plain)
2010-01-29 08:58 UTC, fleka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fleka 2010-01-29 08:58:21 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows 7

User Comments:
GUEST: happens when I change project group

GUEST: closed maven project




Stacktrace: 
java.lang.IllegalArgumentException: Attempt to remove nonexistent path D:\m2_repo\commons-collections\commons-collections\3.2\commons-collections-3.2.jar;D:\m2_repo\log4j\log4j\1.2.14\log4j-1.2.14.jar;D:\m2_repo\concurrent\concurrent\1.3.2\concurrent-1.3.2.jar;D:\m2_repo\org\apache\felix\org.apache.felix.framework\1.6.1\org.apache.felix.framework-1.6.1.jar;D:\m2_repo\org\apache\felix\org.osgi.core\1.2.0\org.osgi.core-1.2.0.jar;D:\m2_repo\org\apache\felix\org.osgi.compendium\1.2.0\org.osgi.compendium-1.2.0.jar;D:\m2_repo\org\apache\felix\org.osgi.foundation\1.2.0\org.osgi.foundation-1.2.0.jar;D:\m2_repo\com\genrep\container\app-container\1.0-UI-Model\app-container-1.0-UI-Model.jar;D:\m2_repo\org\springframework\spring-webmvc\2.5.6\spring-webmvc-2.5.6.jar;D:\m2_repo\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;D:\m2_repo\org\springframework\spring-beans\2.5.6\spring-beans-2.5.6.jar;D:\m2_repo\org\springframework\spring-core\2.5.6\spring-core-2.5.6.jar;D:\m2_repo\org\springframework\spring-con
   at org.netbeans.api.java.classpath.GlobalPathRegistry.unregister(GlobalPathRegistry.java:238)
   at org.netbeans.modules.maven.ProjectOpenedHookImpl.projectClosed(ProjectOpenedHookImpl.java:160)
   at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectClosed(ProjectOpenedHook.java:84)
   at org.netbeans.modules.project.ui.OpenProjectList.notifyClosed(OpenProjectList.java:1091)
   at org.netbeans.modules.project.ui.OpenProjectList.close(OpenProjectList.java:782)
   at org.netbeans.modules.project.ui.actions.CloseProject.actionPerformed(CloseProject.java:73)
Comment 1 fleka 2010-01-29 08:58:25 UTC
Created attachment 93658 [details]
stacktrace
Comment 2 Milos Kleint 2010-02-10 01:04:18 UTC
tzezula: what is the actual meaning of that error? any hints with regard to what can cause it? thanks.
Comment 3 Tomas Zezula 2010-02-10 02:16:29 UTC
This exception is thrown when someone tries to unregister ClassPath from GlobalPathRegistry which was never registered in.
Exception from OpenProjectHook.projectOpened may cause this when the project is closed.
Comment 4 Antonin Nebuzelsky 2010-07-30 15:18:12 UTC
Reassigning to default owner.
Comment 5 Jesse Glick 2010-10-06 18:37:33 UTC
Last known report was in 6.8.