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 164957 - Profile File doesn't work for Maven project
Summary: Profile File doesn't work for Maven project
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on: 165593
Blocks:
  Show dependency tree
 
Reported: 2009-05-12 14:55 UTC by Jiri Sedlacek
Modified: 2009-05-20 14:18 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 Jiri Sedlacek 2009-05-12 14:55:21 UTC
Product Version: NetBeans IDE Dev (Build 090511)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

Steps:

 1/ New Project | Maven | Maven Project | Maven Quickstart Archetype (all defaults)
 2/ Create new class with main(String[]) method
 3/ Right-click the class, invoke Profile File, start profiling (all defaults)
 4/ Profiling terminates without running the class code, no snapshot offered on exit


Console output:

WARNING: You are running embedded Maven builds, some build may fail due to incompatibilities with latest Maven release.
         To set Maven instance to use for building, click here.
Scanning for projects...
[#process-resources]
[resources:resources]
Using default encoding to copy filtered resources.
[#compile]
[compiler:compile]
Nothing to compile - all classes are up to date
[exec:exec]
Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 9)
Profiler Agent: Established local connection with the tool
Profiler Agent: Connection with agent closed
Profiler Agent: Connection with agent closed
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -client          to select the "client" VM
    -server          to select the "server" VM
    -hotspot          is a synonym for the "client" VM  [deprecated]
                  The default VM is client.
                  
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
Profiler Agent: Initializing...
Profiler Agent: Options: >E:/Sources/NetBeans/profiler-main/nbbuild/netbeans/profiler3/lib,5140,10<
Profiler Agent: Initialized succesfully
------------------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------------------
Total time: 4 seconds
Finished at: Tue May 12 15:53:38 CEST 2009
Final Memory: 63M/112M
------------------------------------------------------------------------
Comment 1 J Bachorik 2009-05-15 15:40:10 UTC
fixed - http://hg.netbeans.org/profiler-main/rev/1f4e25ad8326
Comment 2 Quality Engineering 2009-05-20 07:22:28 UTC
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1f4e25ad8326
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #164957 - Profile File doesn't work for Maven project
Comment 3 Jiri Sedlacek 2009-05-20 13:13:09 UTC
Verification blocked by a regression described in Issue 165593.
Comment 4 Jiri Sedlacek 2009-05-20 14:18:32 UTC
v.