This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I upgraded from Netbeans 7.4 to Netbeans 8.0 and imported settings from 7.4 to 8.0. Profiling a project ends with the error message described below. The class does contain the field "output". Deleting ~/.cache/netbeans has no effect on the result. "output" is a public static field in a public class different from tul.Tul. profile: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 15) Profiler Agent: Established connection with the tool Profiler Agent: Local accelerated session Exception in thread "main" java.lang.NoSuchFieldError: output at tul.Tul.main(Tul.java:15) Profiler Agent: Connection with agent closed Profiler Agent: Connection with agent closed Profiler Agent: Initializing... Profiler Agent: Options: >/opt/netbeans-8.0/profiler/lib,5140,10< Profiler Agent: Initialized successfully Java Result: 1 BUILD SUCCESSFUL (total time: 5 seconds)
Both the main project and the subproject contained a class C in package p. Netbeans was unable to detect that there are two classes p.C. The issue can be resolved by renaming one of the classes or by moving one of the classes to package q.
Can you please prepare a test case, which can be used to reproduce this problem. Thanks.