I should include the error: Exception in thread "Thread-2" java.lang.RuntimeException: Uncompilable code at ggg.hhh.ppp.xxx.print_data(xxx.java:1) at ggg.hhh.ppp.xxx.get_data(xxx.java:206)
Notice that the line of code it is pointing to is "1", which is the package statement. In the debugger, I put a breakpoint in "get_data" at line 206, which calls "print_data", which is at line 300. Clicking the "Step into" button at the top, it takes me to line "1", the package statement. "step into" one more time and it produces the above Exception. -----Original Message----- From: Sam Lalani <samlal...@yahoo.com> Sent: Thursday, December 15, 2022 7:22 AM To: 'users@netbeans.apache.org' <users@netbeans.apache.org> Subject: NB16 - java.lang.RuntimeException: Uncompilable code I am running NB16 in Windows 10. I have a Java program that is giving this error: Exception in thread "Thread-2" java.lang.RuntimeException: Uncompilable code However, the same code in NB15 has no problems. This issue shows up only when I "Clean and Build" in NB16 "AND" run it in NB16. If I "Clean and Build" in NB15 and run it in NB15 then no problem. If I "Clean and Build" in NB15 and run it in NB16 then no problem. If I "Clean and Build" in NB16 and run the program using the command prompt then no problem. If I "Clean and Build" in NB16 and run it in NB16 then it shows the error. The program is fairly large, and I don't think I can provide the source code due to company policies. Here is some info about my system from the NB16 About page: Product Version: Apache NetBeans IDE 16 Java: 17; OpenJDK 64-Bit Server VM 17+35-2724 Runtime: OpenJDK Runtime Environment 17+35-2724 System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\samla\AppData\Roaming\NetBeans\16 Cache directory: C:\Users\samla\AppData\Local\NetBeans\Cache\16 What else can I provide that would make it easier to find the problem in NB16? Thanks, Sam Lalani -- This email has been checked for viruses by Avast antivirus software. www.avast.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists