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 250255

Summary: IllegalArgumentException: Attempt to remove nonexistent path [D:\dev\sources\lgi\modularization\src;D:\dev\sources\lgi\modularization\www] from list of registered paths [[D:\dev\sources\lgi\modulariza
Product: projects Reporter: fleka <fleka>
Component: Generic InfrastructureAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal CC: tmysik
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215235
Attachments: stacktrace

Description fleka 2015-02-06 08:12:37 UTC
Build: NetBeans IDE Dev (Build 201501290002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 7

User Comments:
fleka: switched project groups, the html5 projects have similar structure..




Stacktrace: 
java.lang.IllegalArgumentException: Attempt to remove nonexistent path [D:\dev\sources\lgi\modularization\src;D:\dev\sources\lgi\modularization\www] from list of registered paths [[D:\dev\sources\lgi\modularization\src;D:\dev\sources\lgi\modularization\www]] for id classpath/html5. All paths: {classpath/html5=[D:\dev\sources\lgi\modularization\src;D:\dev\sources\lgi\modularization\www], classpath/javascript-boot=[D:\dev\ide\netbeans-8.1-20150129-javase\ide\jsstubs\corestubs.zip;D:\dev\ide\netbeans-8.1-20150129-javase\ide\jsstubs\domstubs.zip;D:\dev\ide\netbeans-8.1-20150129-javase\ide\jsstubs\reststubs.zip]}
   at org.netbeans.modules.java.classpath.DefaultGlobalPathRegistryImplementation.unregister(DefaultGlobalPathRegistryImplementation.java:118)
   at org.netbeans.spi.java.classpath.GlobalPathRegistryImplementation$AccessorImpl.unregister(GlobalPathRegistryImplementation.java:129)
   at org.netbeans.api.java.classpath.GlobalPathRegistry.unregister(GlobalPathRegistry.java:248)
   at org.netbeans.modules.web.clientproject.ClientSideProject$OpenHookImpl.projectClosed(ClientSideProject.java:705)
   at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectClosed(ProjectOpenedHook.java:89)
   at org.netbeans.modules.project.ui.OpenProjectList.notifyClosed(OpenProjectList.java:1322)
Comment 1 fleka 2015-02-06 08:12:40 UTC
Created attachment 151849 [details]
stacktrace
Comment 2 Tomas Zezula 2015-02-06 09:22:21 UTC
Reassigning to html5 project but this kind of issues mostly ends on project? Lookup.
Feel free to reassign.
Comment 3 Tomas Mysik 2015-02-23 08:34:22 UTC
Yes, we register and unregister CP in OpenedProjectHook -> reassigning to Projects, please evaluate. Thanks.