[ https://issues.apache.org/jira/browse/NETBEANS-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878317#comment-16878317 ]
Thomas Kellerer commented on NETBEANS-2240: ------------------------------------------- I just tested 11.1-beta3 and refactoring works now - with my real-world project, as well as with the attached sample project. Thanks. > 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 > Assignee: Neil C Smith > Priority: Major > Labels: ca_survey, pull-request-available > Fix For: 11.1 > > Attachments: MyServiceTest.dump, RefactorTestProject.zip, > messages.log, netbeans-2240.mp4 > > Time Spent: 0.5h > Remaining Estimate: 0h > > 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: 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