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 77735 - Cannot profile local application on 64bit JDK on solaris
Summary: Cannot profile local application on 64bit JDK on solaris
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Solaris
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 77723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-12 16:49 UTC by ehucka
Modified: 2007-02-20 18:17 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 ehucka 2006-06-12 16:49:25 UTC
jdk 1.5.0_07v9, solaris 10 sparc

IDE started with -d64 flag.

Profiling ends always by:

Error occurred during initialization of VM
Could not find agent library in absolute path:
/space/temp/nb55/profiler1/lib/deployed/jdk15/solaris-sparcv9/libprofilerinterface.so
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)

The mentioned file is on the location, has cca 55KB and read-write permissions.
Comment 1 Tomas Hurka 2006-06-13 08:48:29 UTC
The root cause is that the default java platform detected by IDE is different than the one on which IDE runs 
itself. Remote profiling works fine. The problem occurs only on Solaris, where 64bit JDK installs into 32bit 
version, so one JDK home in fact contains two JDKs. Java Platform Manager should handle this situation 
and it should register two JDKs.



Comment 2 Tomas Hurka 2006-06-13 16:39:05 UTC
Lowering priority to P2. Number of affected users is very small. 
Comment 3 Tomas Hurka 2006-06-28 09:14:15 UTC
*** Issue 77723 has been marked as a duplicate of this issue. ***
Comment 4 Martin Schovanek 2006-07-03 14:40:53 UTC
This issue is considered as 'Next Q-build (12.06-16.06) stopper', please fix it
to Beta2 build.

Comment 5 ehucka 2006-07-10 15:36:02 UTC
The issue will not be fixed in beta2.
Comment 6 Tomas Hurka 2006-08-18 10:53:22 UTC
Fixed in trunk.
Note that for Solaris, you need to define 64bit platform using fix in issue #77805.
Comment 7 Tomas Hurka 2006-09-01 14:07:51 UTC
Fix merged to release55 branch.
Comment 8 ehucka 2006-09-11 15:54:10 UTC
verified
Comment 9 Alexander Kouznetsov 2007-02-20 10:26:18 UTC
Closing old issues
Comment 10 Alexander Kouznetsov 2007-02-20 18:17:34 UTC
Reverting to original Target Milestone value changed by mistake. Sorry for
inconvenience.