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 220402

Summary: Profiling of Maven NB platform application does not show any results
Product: profiler Reporter: Tomas Danek <musilt2>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cyhelsky, mmirilovic
Priority: P2 Keywords: REGRESSION
Version: 7.2.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Tomas Danek 2012-10-19 08:15:25 UTC
Product Version: NetBeans IDE 7.2.1 (Build 201210100934)
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.2.1
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.2.1
-------------------------
- create new maven nb platform app
- build it
- profile it, use default sampled method
- invoke live results --> no results are available

the same scenario, w/ ant based platform app works fine.

Related bug from past: http://netbeans.org/bugzilla/show_bug.cgi?id=203199
Comment 1 Petr Cyhelsky 2012-11-23 13:57:28 UTC
In maven platform app, the profiling works as designed - everything depends on filter - with default filter (only project classes) nothing is displayed, because the application has no classes. The actual error is in the ant application - the filter is computed incorrectly and thus classes from jdk and platform are shown even for the "only project classes" filter setting - it is filed as http://netbeans.org/bugzilla/show_bug.cgi?id=222661 

resolving as worksforme