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.
Product Version: NetBeans IDE Dev (Build 200706041200) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Linux version 2.6.16-1.2122_FC5 running on i386; UTF-8; en_US (nb) Steps: 1. create sample PaintApp nb module 2. invoke profile main project, set performance, entire application, profile only project classes 3. start profiling An exception is thrown in ide log, profiling ends by some build error: Exception: java.lang.NoClassDefFoundError: org/netbeans/modules/j2ee/spi/ejbjar/EarProvider at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getWebModule(WebProjectUtils.java:271) at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getDeploymentDescriptorFileObject(WebProjectUtils.java:294) at org.netbeans.modules.profiler.j2ee.stats.HttpRequestTrackerPanel.isWebProject(HttpRequestTrackerPanel.java:243) at org.netbeans.modules.profiler.j2ee.stats.HttpRequestTrackerPanel.supportsProject(HttpRequestTrackerPanel.java:232) at org.netbeans.modules.profiler.NetBeansProfiler.setupDispatcher(NetBeansProfiler.java:1902) at org.netbeans.modules.profiler.NetBeansProfiler.performInstrumentation(NetBeansProfiler.java:1856) at org.netbeans.modules.profiler.NetBeansProfiler$4.doInBackground(NetBeansProfiler.java:586) at com.sun.tools.profiler.ui.SwingWorker$2.run(SwingWorker.java:78) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Application output: Profiler agent JVM arguments stored in property profiler.jvmargs Extra JVM arguments: -J-XX:+HeapDumpOnOutOfMemoryError -J-XX:HeapDumpPath=/home.local/ehucka/NetBeansProjects/PaintApp/nbproject/private/profiler run: Profiler Agent: Initializing... Profiler Agent: Options: >/space/Builds/dev/netbeans/profiler2/lib,5140,10< Profiler Agent: Initialized succesfully Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 6) Profiler Agent Error: Timed out trying to establish connection with client /space/Builds/dev/netbeans/harness/suite.xml:266: The following error occurred while executing this line: /space/Builds/dev/netbeans/harness/run.xml:183: The following error occurred while executing this line: /space/Builds/dev/netbeans/harness/run.xml:131: exec returned: 255 BUILD FAILED (total time: 17 seconds)
Simple j2se project does not work too. I guess it can be an issue of all types of profiling.
Regression, it doesn't work for all types of profiling and most of project types (I did not check all).
Happens just for "big IDE" - all in one, not for "core" IDE daily build. The Profiler even cannot be built: The module org.netbeans.modules.profiler.j2ee is not a friend of E:\Dev\sources\build\netbeans\enterprise4\modules\org-netbeans-modules-j2ee-api- ejbmodule.jar
This is similar to issue #105551 and it is caused by the fact that j2ee/ejbapi no longer have public packages.
*** This issue has been marked as a duplicate of 105551 ***
verified duplicate