[ 
https://issues.apache.org/jira/browse/NETBEANS-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Bruckschwaiger updated NETBEANS-5901:
-------------------------------------------
    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.

  was:
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.

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


> NPE on Ctrl+Click on Java-class of library with attached source
> ---------------------------------------------------------------
>
>                 Key: NETBEANS-5901
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5901
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Navigation
>    Affects Versions: 12.4
>            Reporter: Mario Bruckschwaiger
>            Priority: Major
>         Attachments: nb-bug-IDE-Log.txt, nb-bug-UI-Log.txt
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to