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.
I am getting a continuous stream of IllegalArgumentExceptions occuring while editing a file. The application is completely unusable as a result of this bug. This is only happening on a web project that I migrated from netbeans 4.1. I am not getting this error on new projects that I create. The error seems to be caused as a result of a url formatting problem file:/C:/Documents%20and%20Settings/Travis%20Romney/Inpowered/${file.reference.apps-inpowered}/generated/wsclient/ ${file.reference.apps-inpowered} appears to be the problem. It is not getting translated correctly and the brace characters are causing the IllegalArgumentException. Here is the Exception: java.lang.IllegalArgumentException at java.net.URI.create(URI.java:842) at org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots(ProjectSourceForBinaryQuery.java:37) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots(SourceForBinaryQuery.java:64) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation$SFBQListener.getResult(MergedClassPathImplementation.java:342) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addResources(MergedClassPathImplementation.java:379) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassPathResources(MergedClassPathImplementation.java:370) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassPath(MergedClassPathImplementation.java:309) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassPaths(MergedClassPathImplementation.java:123) at org.netbeans.modules.javacore.JMManager.resolveJavaExtent(JMManager.java:482) at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:574) at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:530) at org.netbeans.modules.javacore.JMManager.getResource(JMManager.java:505) at org.netbeans.modules.javacore.api.JavaModel.getResource(JavaModel.java:83) at org.netbeans.modules.java.navigation.jmi.Hacks.getResourceForDataObject(Hacks.java:354) at org.netbeans.modules.java.navigation.jmi.JUtils.getClassMembers(JUtils.java:1348) at org.netbeans.modules.java.navigation.ClassMemberModel.loadContents(ClassMemberModel.java:304) at org.netbeans.modules.java.navigation.spi.ListModelSupport$Loader.run(ListModelSupport.java:955) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:471) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:904) Caused by: java.net.URISyntaxException: Illegal character in path at index 63: file:/C:/Documents%20and%20Settings/Travis%20Romney/Inpowered/${file.reference.apps-inpowered}/generated/wsclient/ at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at java.net.URI.create(URI.java:840) ... 18 more
tsromney, please take a look into project properties if there is some unresolved reference. It seems that you have changed userdir and haven't imported libraries from previous userdir and hence the property is not defined.
*** This issue has been marked as a duplicate of 66147 ***