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

JavaDoc window sometimes not working for Swing components

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mishra.sandeep Sandeep Mishra Assign to me
            Bernd Michaely Bernd Michaely

            Dates

              Created:
              Updated:

              Slack

                Issue deployment