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.

Bug 127346 - NoClassDefFoundError when profiling bpel.editors NB module
Summary: NoClassDefFoundError when profiling bpel.editors NB module
Status: RESOLVED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 22:14 UTC by Mikhail Kondratyev
Modified: 2008-09-03 15:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2008-02-13 22:14:42 UTC
Tested with NB build 200802120006, on Linux Ubuntu 7.10

Steps to reproduce:
 - open bpel.editors NetBeans module (available in NetBeans trunk)
 - I used JDK5 as the project's platform
 - select module, invoke Profile in the context menu. 
 - select CPU profiling, profiler entire application, profile only project classes options (actually, they are selected
by default)
 Profiling will fail with the following exception:
java.lang.NoClassDefFoundError: org/netbeans/modules/j2ee/spi/ejbjar/EarProvider
	at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getWebModules(WebProjectUtils.java:475)
	at org.netbeans.modules.profiler.j2ee.WebProjectUtils.getDeploymentDescriptorFileObjects(WebProjectUtils.java:146)
	at org.netbeans.modules.profiler.j2ee.stats.HttpRequestTrackerPanel.isWebProject(HttpRequestTrackerPanel.java:244)
	at org.netbeans.modules.profiler.j2ee.stats.HttpRequestTrackerPanel.supportsProject(HttpRequestTrackerPanel.java:228)
	at org.netbeans.modules.profiler.NetBeansProfiler.setupDispatcher(NetBeansProfiler.java:2080)
	at org.netbeans.modules.profiler.NetBeansProfiler.prepareInstrumentation(NetBeansProfiler.java:1628)
	at org.netbeans.modules.profiler.NetBeansProfiler$3.doInBackground(NetBeansProfiler.java:1106)
	at org.netbeans.lib.profiler.ui.SwingWorker$2.run(SwingWorker.java:113)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 J Bachorik 2008-03-29 12:43:40 UTC
changing milestone
Comment 2 J Bachorik 2008-09-03 15:32:17 UTC
This works for me in the latest dev versions. Plz, feel free to reopen if you experience it ever again.