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 205333

Summary: profiler applet attach fails if NetBeans is installed to directory with spaces in the name
Product: profiler Reporter: gholmer <gholmer>
Component: AttachAssignee: J Bachorik <yardus>
Status: RESOLVED FIXED    
Severity: normal Keywords: SPACE_IN_PATH
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description gholmer 2011-11-21 01:16:46 UTC
Follow steps in profiler test suite TS71, section 10.3 (Local - Direct - Applet).

0) Click "change..." link for Attach Mode at bottom of "Attach Profiler" dialog.
1) Select target type Appler, attach method "Local", attach invocation "Direct".
2) Click Next button twice. On "Manual Integration" panel, select "Java SE 7.0".
3) In Step 2, "insert following string", attach will fail if NetBeans has been installed to a directory with spaces in the name, e.g. -agentpath:/mnt/common/NetBeans 7.1/profiler... must be -agentpath:"/mnt/common/NetBeans 7.1/profiler..."
Comment 1 J Bachorik 2012-03-30 15:11:03 UTC
fixed http://hg.netbeans.org/profiler-main/rev/954065f7c105
Comment 2 Quality Engineering 2012-04-03 11:15:39 UTC
Integrated into 'main-golden', will be available in build *201204030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/954065f7c105
User: Jaroslav Bachorik <yardus@netbeans.org>
Log: #205333: Enclosing path to profiler binaries in double quotes in case it contains space