Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5082928

Malformed <a> tag throws error malformed_html_link_tag due to message not found in resource file

XMLWordPrintable

    • b61
    • generic, x86, sparc
    • generic, other, linux, solaris_9, windows_2000, windows_xp

      Aha, I have attached the offending Java file.
      Here is the offending snippet:

      /**
       * Bean class to handle our extensions to the Struts <action> tag.
       * @exclude
       */

      If I escape the open-angle-bracket as so...

      /**
       * Bean class to handle our extensions to the Struts &lt;action> tag.
       * @exclude
       */

      ...then the java.util.MissingResourceException no longer occurs.

      Note that snippets like this

      ...<exceptions>...
      ...<forward>...

      don't cause an exception in the first place.

      So it seems to be related to the link-resembling sequence

      ...<a...

      Here is the error I was getting:

        [javadoc] Constructing Javadoc information...
        [javadoc] Standard Doclet version 1.5.0-beta2
        [javadoc] Building tree for all the packages and classes...
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Internal error: package sets don't match: [] with: null
        [javadoc] Building index for all the packages and classes...
        [javadoc] java.util.MissingResourceException: Can't find resource for bundle com.sun.tools.doclets
      .formats.html.resources.standard, key doclet.malformed_html_link_tag
        [javadoc] at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
        [javadoc] at java.util.ResourceBundle.getString(ResourceBundle.java:286)
        [javadoc] at com.sun.tools.doclets.internal.toolkit.util.MessageRetriever.getText(MessageRetriever.java:114)
      ...


      Name: rmT116609 Date: 08/26/2004


      A DESCRIPTION OF THE PROBLEM :
      Getting exception from javadoc on malformed link in javadoc when building javadoc for Apache Derby project.


      (Review ID: 300991)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: