lostbits opened a new issue, #7005: URL: https://github.com/apache/netbeans/issues/7005
### Apache NetBeans version Apache NetBeans 20 ### What happened Attempted for refactor name of a class. The message.log is included. The message received was: `Module Java Refactoring threw java.lang.IllegalStateException: java.lang.NullPointerException: Cannot invoke "com.sun.tools.javac.code.Symbol$ClassSymbol.isDirectlyOrIndirectlyLocal()" because "tree.sym" is null. Please report a bug against Java Refactoring module and attach your var/log/messages.log.` [messages.log](https://github.com/apache/netbeans/files/14068894/messages.log) ### Language / Project Type / NetBeans Component _No response_ ### How to reproduce I don't know if it is reproducible. What I did was to highlight the class name and then refactor->rename. ### Did this work correctly in an earlier version? No / Don't know ### Operating System Windows 11 Pro v23H2 Experience Pack 1000.22681.1000.0 ### JDK jdk-17.0.1 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else Just tried it (once). Will not retry until I hear that the issue is resolved. ### Are you willing to submit a pull request? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists