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 254259 - IllegalArgumentException: Attempt to remove nonexistent path [/Users/ominukhi/Documents/Projects/MediaBeef/mwcog/web] from list of registered paths [[/Users/ominukhi/Documents/Projects/MediaBeef/mtc/S
Summary: IllegalArgumentException: Attempt to remove nonexistent path [/Users/ominukhi...
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 08:09 UTC by minoleg
Modified: 2015-08-11 13:28 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219080


Attachments
stacktrace (4.79 KB, text/plain)
2015-08-11 08:09 UTC, minoleg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description minoleg 2015-08-11 08:09:16 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Mac OS X

User Comments:
minoleg: Switching groups.




Stacktrace: 
java.lang.IllegalArgumentException: Attempt to remove nonexistent path [/Users/ominukhi/Documents/Projects/MediaBeef/mwcog/web] from list of registered paths [[/Users/ominukhi/Documents/Projects/MediaBeef/mtc/SanFrancisco/web, /Users/ominukhi/Documents/Projects/MediaBeef/mtc/SanFrancisco/src, /Users/ominukhi/Documents/Projects/MediaBeef/mtc/schoolpool/web, /Users/ominukhi/Documents/Projects/MediaBeef/mtc/schoolpool/src, /Users/ominukhi/Documents/Projects/MediaBeef/iecommuter/riverside/web, /Users/ominukhi/Documents/Projects/MediaBeef/iecommuter/riverside/src, /Users/ominukhi/Documents/Projects/MediaBeef/fbconnect/src]] for id classpath/source. All paths: {classpath/boot=[/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Ja
   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.freeform.LookupProviderImpl$WebClasspath.updateClasspath(LookupProviderImpl.java:283)
   at org.netbeans.modules.web.freeform.LookupProviderImpl$WebClasspath.propertyChange(LookupProviderImpl.java:265)
   at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
Comment 1 minoleg 2015-08-11 08:09:19 UTC
Created attachment 155260 [details]
stacktrace
Comment 2 Tomas Zezula 2015-08-11 13:28:04 UTC
The /Users/ominukhi/Documents/Projects/MediaBeef/mwcog/web/ is not a registered classpath.

According to the log it was invalid even before:

file:/Users/ominukhi/Documents/Projects/MediaBeef/mwcog/web/ forced by: org.netbeans.modules.java.source.indexing.JavaCustomIndexer$Factory@31aa22
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Source root: /Users/ominukhi/Documents/Projects/MediaBeef/mwcog/web is not on its sourcepath
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: /Users/ominukhi/Documents/Projects/MediaBeef/mwcog/web took: 599 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 23 ms]


Either the freeform project is wrongly configured or it has several different CP instances.