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 232550 - Unable to profile Mavenized Netbeans RCP application
Summary: Unable to profile Mavenized Netbeans RCP application
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on: 232435
Blocks:
  Show dependency tree
 
Reported: 2013-07-11 08:45 UTC by František Mantlík
Modified: 2013-07-15 08:42 UTC (History)
4 users (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 František Mantlík 2013-07-11 08:45:34 UTC
It is not possible to profile mavenized Netbeans RCP application on Windows 7 64 bit computer Java JDK 1.7.0_15 and 1.7.0_25 NB 7.4 development build. Noticed since approx. 2013-07-04.

Steps to reproduce:
==================

1. Create a new Netbeans Maven application using the New project wizard. Set
"Netbeans version" to dev-SNAPSHOT (or RELEASE731, both has the same effect).
Do not check "Allow OSGI bundle as dependencies". Check "Create module
project".

2. Run priming build.

3. Clear and build the application.

4. Start profiler e.g. from the application context menu

5. From the dialog run any profiling session. Progress dialog "Connecting to the targetVM..." appears.

Expected behavior:
=================

The application should start and the progress dialog should close. Profiling session should start.

What happens:
============

The application starts but the progress dialog remains active. The only possible option is "Cancel" because the dialog is modal. Cancel does not stop the running application but profiling is not possible.

Additional information:
======================

The same problem applies to any of my older mavenized Netbeans RCP applications.

This problem has most probably the same (or similar) cause as the Bug 232435.
Comment 1 Milos Kleint 2013-07-11 12:12:54 UTC
I know where the problem lies
Comment 2 Milos Kleint 2013-07-11 13:00:51 UTC
https://hg.netbeans.org/core-main/rev/d01abe85689f
Comment 3 Quality Engineering 2013-07-13 02:05:21 UTC
Integrated into 'main-silver', will be available in build *201307122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d01abe85689f
User: Milos Kleint <mkleint@netbeans.org>
Log: #232550, #232435 for ide params we use netbeans.run.params.ide property
Comment 4 František Mantlík 2013-07-13 16:02:49 UTC
The profiler works without problems at Dev 201307122300!

Thank you very much Milos.