Build: NetBeans IDE Dev (Build nbms-and-javadoc-8570-on-20120122)
VM: Java HotSpot(TM) Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Windows XP
mklaehn: The AssertionError happened after deleting the folder structure of a project outside of NB (Windows Explorer). The AssertionError is so dominant that i can only use the Exception Reporter after all Errors have been raised.
Closing NB while deleting the folders does not help either. The errors are then raised during restart/opening of projects.
Created attachment 115191 [details]
Similar to bug #207648 but I think a different code path.
*** Bug 207701 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201201260600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jesse Glick <email@example.com>
Log: #207690: AssertionError: nbfs://nbhost//
URLs created for files on the system filesystem were syntactically malformed and could not be used as URIs.
Using nbfs://nbhost/SystemFileSystem/<path> (as in older releases?) seems to help.
Also have to properly escape path components; URLEncoder is only for x-www-form-urlencoded, not URLs/URIs!
*** Bug 207757 has been marked as a duplicate of this bug. ***
Created attachment 115323 [details]
log from 201201260600
I'm getting a lot of these errors in 201201260600 on Windows machines, when I crate a new Mobile Application Project.
Not sure, I fixed the obvious cause for this error and wrote a test for it. Adding additional assertions which should help diagnose if it continues to happen in newer dev builds.
core-main #5a959d1133bc might fix it.
(In reply to comment #9)
> core-main #5a959d1133bc might fix it.
No more errors for me after this, thanks.
Haven't had that error anymore, thanks.