dreappdev opened a new issue, #6774:
URL: https://github.com/apache/netbeans/issues/6774

   ### Apache NetBeans version
   
   Apache NetBeans 19
   
   ### What happened
   
   Attempted to move (refactor) a class from a package (call it Apkj) in a 
project to another existing package (call it Bpkj) in the same project. The 
class had been moved already from Bpkj to Apkj, and I was trying to put it back 
into Bpkj (yeah, I messed up and was just trying to fix it). Another class had 
also been successfully removed from Bpkj to Apkj before this. Error message 
said exception java.lang.IllegalStateException.
   
   ### How to reproduce
   
   Just pick a class and try to move it (CMD-M on a Mac). Follow the prompts on 
the dialog that pops up and select an appropriate package to move it to.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   macOS Ventrua Version 13.5.1
   
   ### JDK
   
   Java: 17.0.2; Java HotSpot(TM) 64-Bit Server VM 17.0.2+8-LTS-86
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   The full error message: Module Java Refactoring threw 
java.lang.IllegalStateException: java.lang.NullPointerException: Cannot read 
field "kind" because "tree.sym" is null. Please report a bug against Java 
Refactoring module and attach your var/log/messages.log.
   Where exactly is this log file? On a Mac, it appears to hidden somewhere. I 
can't find it using a terminal (not in /var/log).
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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