Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5174

JavaDoc window sometimes not working for Swing components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.2
    • None
    • java - Source
    • None
    • Arch Linux, AdoptOpenJDK 15.0.1+9, official NB 12.2 bin download

    Description

      To reproduce the problem:

      • Open an editor window containing a java class using some Swing component
      • Have the Javadoc window open
      • Place the caret on a Swing type (JPanel, JList, JScrollPane, …)

      Sometimes, the Javadoc window keeps showing »Loading Javadoc...« , and it causes an error in the IDE:

      … An error occurred during parsing of 'java.desktop/javax/swing/JPanel.java in /opt/local/java/latest15/lib/src.zip' …

      I can't say exactly, under which conditions the error appears, it only happens occasionally.

      If this happens repeatedly, at some point the Javadoc windows stops working completely.

      The 'Java Platform Manager' uses (as created by default) the Javadoc from:

      »https://docs.oracle.com/en/java/javase/15/docs/api/«

      Attachments

        Activity

          People

            mjayan Meghna Jayan
            Bernd Michaely Bernd Michaely
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: