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 196617 - java.net.MalformedURLException: unknown protocol: c
Summary: java.net.MalformedURLException: unknown protocol: c
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 08:06 UTC by PiApplications
Modified: 2011-03-15 09:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 168472


Attachments
stacktrace (1.39 KB, text/plain)
2011-03-12 08:06 UTC, PiApplications
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PiApplications 2011-03-12 08:06:17 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201103061500)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
PiApplications: Place a class recently loaded from a subversion repository in the editor.




Stacktrace: 
java.net.MalformedURLException: unknown protocol: c
   at java.net.URL.<init>(URL.java:574)
   at java.net.URL.<init>(URL.java:464)
   at java.net.URL.<init>(URL.java:413)
   at org.openide.filesystems.FileUtil.getArchiveFile(FileUtil.java:1975)
   at org.netbeans.modules.java.j2seplatform.libraries.JavadocForBinaryQueryLibraryImpl.isNormalizedURL(JavadocForBinaryQueryLibraryImpl.java:178)
   at org.netbeans.modules.java.j2seplatform.libraries.JavadocForBinaryQueryLibraryImpl.getNormalizedURL(JavadocForBinaryQueryLibraryImpl.java:149)
Comment 1 PiApplications 2011-03-12 08:06:21 UTC
Created attachment 106925 [details]
stacktrace
Comment 2 Tomas Zezula 2011-03-14 09:18:48 UTC
Can be caused by wrong URL in the library definition (90%) or some strange path + UNC handling(10%).
I am not able to reproduce it, but I've added better logging. When it appears again with logging please reopen.
fixed jet-main e64085d3f656
Comment 3 Quality Engineering 2011-03-15 09:47:37 UTC
Integrated into 'main-golden', will be available in build *201103150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e64085d3f656
User: Tomas Zezula <tzezula@netbeans.org>
Log: #196617:java.net.MalformedURLException: unknown protocol: c