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 267458 - Profile file does not work with servlets
Summary: Profile file does not work with servlets
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
: 240359 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-06 07:31 UTC by IrianR
Modified: 2016-09-01 13:16 UTC (History)
1 user (show)

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 IrianR 2016-08-06 07:31:37 UTC
Running test case:

http://services.netbeans.org/synergy/client/app/#/case/5461/suite/1919/v/1

The profiler integration warns me that the class I'm trying to profile does not have a main method.

This might be correct IMHO, since it makes no sense to profile a single servlet out of a whole app, but maybe this should instead run profile on the whole app automatically.
Comment 1 Jiri Sedlacek 2016-08-10 12:51:33 UTC
Profile File should work the same way as Run File + opens the profiler UI. Profile File for a servlet should eventually open the corresponding page in browser.

Fixed by http://hg.netbeans.org/profiler-main/rev/30aa685e4980.
Comment 2 Quality Engineering 2016-08-12 02:49:51 UTC
Integrated into 'main-silver', will be available in build *201608120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/30aa685e4980
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #267458 - enable Profile File for servlets and jsp pages in Maven WAR and EAR projects
Comment 3 IrianR 2016-08-20 15:27:28 UTC
Verified, it now works as expected.
Comment 4 Tomas Hurka 2016-09-01 13:16:16 UTC
*** Bug 240359 has been marked as a duplicate of this bug. ***