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.
Summary: | AssertionError: nbfs://nbhost// | ||
---|---|---|---|
Product: | platform | Reporter: | mklaehn <mklaehn> |
Component: | Filesystems | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alaksundar, misterm, stezeb |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 184710 |
Bug Depends on: | 39613 | ||
Bug Blocks: | 207294 | ||
Attachments: |
stacktrace
log from 201201260600 |
Description
mklaehn
2012-01-24 15:10:27 UTC
Created attachment 115191 [details]
stacktrace
Similar to bug #207648 but I think a different code path. core-main #ac372707e0e6 *** 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) Changeset: http://hg.netbeans.org/main/rev/ac372707e0e6 User: Jesse Glick <jglick@netbeans.org> 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. |