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

NPE on Ctrl+Click on Java-class of library with attached source

    XMLWordPrintableJSON

Details

    Description

      When trying to open the code of a class from a Java-library where the Java source is attached with Ctrl+click on the class-name, no window opens and the exception occurs (see attachments).

      When the name is clicked a second time, an editor window opens, but it is empty. Interestingly, the "Navigator"-view has the structure of the class. When switching the Editor-window to "History" and back to "Source", the source is present. Also splitting the view horizontally or vertically shows the source code in both windows immediately. After clearing the split, the source code stays visible.

      As long as no source was attached, the source-window opened immediately with the byte-code as method-bodies.

      Attachments

        1. nb-bug-UI-Log.txt
          505 kB
          Mario Bruckschwaiger
        2. nb-bug-IDE-Log.txt
          107 kB
          Mario Bruckschwaiger

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mario.bruckschwaiger Mario Bruckschwaiger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m