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 255335 - "Goto Source" not working on profiling mavenized netbeans application
Summary: "Goto Source" not working on profiling mavenized netbeans application
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 15:16 UTC by skygo
Modified: 2015-09-18 09:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
mini maven project for reproductibiity (21.89 KB, application/zip)
2015-09-17 10:00 UTC, skygo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skygo 2015-09-16 15:16:34 UTC
Netbeans: 201509160002

Steps:
 Create or use a mavenized RCP application with some code in it.
 Profile with Methods 

Actual:
 Goto Source button active but nothing happen (no logs either). Jdk source or project source.
 
Expected
 Open java editor with the required source 


-- Informal:
 maven jse profiler go to source works well
 ant base rcp works
Comment 1 Tomas Stupka 2015-09-17 09:01:30 UTC
worked for me when tried like described

- created a maven nb platform app
- some custom code
- profile with methods 
- goto source worked 

any chance to provide a sample project and describe exactly how to reproduce?

thanks
Comment 2 skygo 2015-09-17 10:00:04 UTC
Created attachment 156234 [details]
mini maven project for reproductibiity

Steps
  Open all related project (should be 4 maven root)
  Clean and build on mavenproject2-parent
  
  Profile on mavenproject2-app with select methods profile
  Open Hot Spot select any class and right click to go to source
  
  On bottom left side of netbeans there is a tooltip: Opening source for "the selected class"
  
  No java editor opens. 
  
  I try with java class and project class,no success.
Comment 3 Tomas Stupka 2015-09-17 13:11:12 UTC
worked for me when tried like described

- created a maven nb platform app
- some custom code
- profile with methods 
- goto source worked 

any chance to provide a sample project and describe exactly how to reproduce?

thanks
Comment 4 Tomas Stupka 2015-09-17 13:13:18 UTC
problem is reproducible when running profile xxx-app (mavenproject2-app in our case)

works fine when running profile some particular custom module (mavenproject2-sample in our case)
Comment 5 Tomas Stupka 2015-09-17 14:56:57 UTC
fixed in jet-main #ff854f97718d
Comment 6 Quality Engineering 2015-09-18 01:40:53 UTC
Integrated into 'main-silver', will be available in build *201509180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ff854f97718d
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #255335 - "Goto Source" not working on profiling mavenized netbeans application
Comment 7 skygo 2015-09-18 09:59:33 UTC
Thanks, works well !!