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.
Product Version: NetBeans IDE Dev (Build 200909221401) Java: 1.6.0_12; Java HotSpot(TM) Client VM 11.2-b01 System: SunOS version 5.10 running on sparc; ISO646-US; en (nb) The IDE is installed and the profiler is calibrated. Java 1.6 is the default java platform. -create anagram game sample project and build it -invoke 'attach profiler' from main menu -in the profiler dialog, press the 'define' (settings) ling i`on the bottom of the dialog -continue trough the attach settings dialog (select anagram game project, java 1.6) -copy the commanline settings provided by the dialog and finish the settings dialog -on commandline : goto [anagram game project folder]/dist insert command: java [provided attach settings] -jar anagrams.jar -in the IDE press attach in the 'attach profiler' dialog The profiling did not start. This is the commandline output of the anagram game java -agentpath:/home/md230949/netbeans-dev-200909221401/profiler3/lib/deployed/jdk16/solaris-sparc/libprofilerinterface.so=/home/md230949/netbeans-dev-200909221401/profiler3/lib,5140 -jar anagrams.jar Profiler Agent: Initializing... Profiler Agent Error: Failed to obtain JVMTI capabilities, error code: 98 Assertion failed: res == JVMTI_ERROR_NONE, file ../src-jdk15/common_functions.c, line 122 Abort (core dumped) Maybe I am doing something wrong, in such case I would say that the right way is hidden too well from me...
Created attachment 88487 [details] messages.log
Raising priority. This might be a serious problem, I am not marking it as a stopper for now though.
You configured profiler to use JDK 6, but from the commandline you are starting Java 5 with profiler agent for JDK 6. This does not work. Closing as invalid.