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: | [60cat] exception on Javadoc viewer | ||
---|---|---|---|
Product: | java | Reporter: | tetsu <tetsu> |
Component: | Navigation | Assignee: | Petr Hrebejk <phrebejk> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | tor |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | stacktrace |
Description
tetsu
2007-10-18 02:53:06 UTC
Created attachment 51179 [details]
stacktrace
Hm, I have never seen the second exception, but my wild guess would be that this is all caused by use of an editor's kit (PlainKit) instead of JDK's HTML kit. This should be probably prevented. Nonetheless, I have fixed a few exceptions in java/source when doc.getProperty(StreamDescriptionProperty) was not a DataObject - there is no guarantee that the SDP will be a DO. Checking in JavaSource.java; /cvs/java/source/src/org/netbeans/api/java/source/JavaSource.java,v <-- JavaSource.java new revision: 1.92; previous revision: 1.91 done Checking in support/OpenedEditors.java; /cvs/java/source/src/org/netbeans/api/java/source/support/OpenedEditors.java,v <-- OpenedEditors.java new revision: 1.8; previous revision: 1.7 done I do not see the exception. I am able to load the RFC document. Seems to appear as a plain text instead of html. After that if I use a back arrow to go back to original Javadoc it is shown as plain text i.e. not HTML. This indicates the JEditorComponent lost it's editor kit or the content type somehow. Assigning to Petr Hrebejk for further assignment to the owner of DocumentationScrollPane/HTMLDocView. Yeah, I tested it with latest nightly build 200710211200 and don't got the exception anymore. It seems that this bug has been fixed. But, as Sandipchitale said, after push the go back button, the Javadoc viwer stop parse html page and just show it as plain text. The same behaviour happens if you invoke the Javadoc on the method and then click on the hyperlink in the Javadoc popup. I meant to say "If you invoke code completion..." in the last comment. This issue was reported by a NetCAT participant. Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next". NetBeans.org Migration: changing resolution from LATER to WONTFIX |