[
https://issues.apache.org/jira/browse/NETBEANS-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Kellerer updated NETBEANS-2240:
--------------------------------------
Description:
Whenever I refactor a class (e.g rename, move), or public methods of a class
NetBeans 10, 11 and 11.1-beta2 throws a NPE.
This is a multi-module Maven project.
The Java source that is mentioned in the error message is always a test class
using TestNG. I don't seem to get that error with projects that do not use
TestNG.
I have attached a complete Maven project that consistently reproduces this
problem on two different Windows computers with OpenJDK 11, 12 and Oracle JDK 11
was:
Whenever I refactor a class (e.g rename, move), or public methods of a class NB
11 throws a NPE.
This is a multi-module Maven project.
The Java source that is mentioned in the error message is always a test class
using TestNG. I don't seem to get that error with projects that do not use
TestNG.
Doing the refactoring with NetBeans 10 on the same project works without
problems.
Due to legal reasons I can not attach the source code that is part of the dump
file - I had to remove everything related to the "real" source and tried to
replace some path names revealing private information. I hope the files are
useful nevertheless
> NPE thrown when refactoring a class
> -----------------------------------
>
> Key: NETBEANS-2240
> URL: https://issues.apache.org/jira/browse/NETBEANS-2240
> Project: NetBeans
> Issue Type: Bug
> Components: java - Source
> Affects Versions: 10.0, 11.0
> Reporter: Thomas Kellerer
> Priority: Major
> Labels: ca_survey
> Attachments: RefactorTestProject.zip, messages.log
>
>
> Whenever I refactor a class (e.g rename, move), or public methods of a class
> NetBeans 10, 11 and 11.1-beta2 throws a NPE.
> This is a multi-module Maven project.
> The Java source that is mentioned in the error message is always a test class
> using TestNG. I don't seem to get that error with projects that do not use
> TestNG.
> I have attached a complete Maven project that consistently reproduces this
> problem on two different Windows computers with OpenJDK 11, 12 and Oracle JDK
> 11
--
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