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 40610 - Can't mount JDK docs through HTTP
Summary: Can't mount JDK docs through HTTP
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 13:50 UTC by Patrick Keegan
Modified: 2010-01-12 02:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception when trying to mount jdk docs as HTTP (16.38 KB, text/plain)
2004-02-29 13:52 UTC, Patrick Keegan
Details
NPE when already mounted httpFS is refreshed and the taglibed module is enabled again (2.23 KB, text/plain)
2004-03-02 13:21 UTC, Jan Pokorsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Keegan 2004-02-29 13:50:24 UTC
I've tried mounting:

http://java.sun.com/j2se/1.4.2/docs/api/index.html
http://java.sun.com/j2se/1.4.2/docs/api/
http://java.sun.com/j2se/1.4.2/docs/

but none of them work. With the first, I get
prompted with a dialog saying that I need to point
to a folder. With the second and third, I get an
exception.
Comment 1 Patrick Keegan 2004-02-29 13:52:05 UTC
Created attachment 13726 [details]
exception when trying to mount jdk docs as HTTP
Comment 2 Marek Grummich 2004-03-01 08:31:27 UTC
It is reproducible (build 200402261900) and it is definitly regression
therefore P1. Thanks, Patrick!
Comment 3 Jan Pokorsky 2004-03-02 13:15:31 UTC
2Patrick: http://java.sun.com/j2se/1.4.2/docs/ is the correct one. But
you will not be succesful anyway since issue #32093 still exists.

There has been done no changes in http filesystem. It works if the JSP
Tag Library Editor module is disabled. Otherwise NPEs are thrown.
Reassigned to web/taglibed for further evaluation.
Comment 4 Jan Pokorsky 2004-03-02 13:21:08 UTC
Created attachment 13771 [details]
NPE when already mounted httpFS is refreshed and the taglibed module is enabled again
Comment 5 Milan Kuchtiak 2004-03-02 16:09:53 UTC
Fixed in TLDDataLoader - test for null MIME_TYPE included.
Currently fixed in trunk:
http://web.netbeans.org/source/browse/web/taglibed/src/org/netbeans/modules/web/taglibed/TLDLoader.java.diff?r1=1.8&r2=1.9

Petr, can you please review the fix ?
Comment 6 Petr Jiricka 2004-03-02 19:07:37 UTC
The suggested fix is fine - the review passes.
Comment 7 Martin Schovanek 2004-03-03 16:19:04 UTC
Reviewed by QE. The fix is fine.
Comment 8 Milan Kuchtiak 2004-03-04 08:18:47 UTC
Fixed in 3.6.
Comment 9 Patrick Keegan 2004-03-04 15:06:34 UTC
verified in 20040304-0848