Mihai Sandu created NETBEANS-2645:
-------------------------------------

             Summary: Getting a NPE when pasting code (which needs new imports) 
from one class to another
                 Key: NETBEANS-2645
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2645
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.0
         Environment: Netbeans 11.0 running on openjdk 10

$ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment 18.3 (build 10.0.2+13)
OpenJDK 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

            Reporter: Mihai Sandu
         Attachments: Screenshot_20190606_122239.png, messages.log

When doing copy/paste of code from one class to another, then the automatic 
importing (of needed classes/methods) don't work and a NPE occurs.

The import dialog remains in a stale state and has to be closed manually.

Please see the attached screenshot and the message log.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to