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 88925 - IllegalArgumentException is thrown if user variable contains white spaces
Summary: IllegalArgumentException is thrown if user variable contains white spaces
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 13:27 UTC by Peter Pis
Modified: 2006-11-13 08:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalArgumentException (2.87 KB, text/plain)
2006-11-08 13:28 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2006-11-08 13:27:20 UTC
NetBeans IDE Dev (Build 200610231500)
1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

If user variable contains white spaces then profiler can't be used. In case of
"tmp" user variable contains them then profiler throws 

SEVERE [global]
java.lang.IllegalArgumentException: Parameter file was not normalized. Was
C:\DOCUME~1\peter\LOCALS~
1\Temp instead of C:\Documents and Settings\peter\Local Settings\Temp
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:509)
        at
org.netbeans.modules.profiler.heapwalk.HeapDumpWatch.monitor(HeapDumpWatch.java:73)
        at
org.netbeans.modules.profiler.utils.ProjectUtilities.runTarget(ProjectUtilities.java:226)

Steps:
1. Select project root and invoke "Profile Project" from pupop menu.
2. Choose "Monitor Application" and push "Run" button.
Comment 1 Peter Pis 2006-11-08 13:28:02 UTC
Created attachment 35889 [details]
IllegalArgumentException
Comment 2 Tomas Hurka 2006-11-08 14:21:19 UTC
Fixed in trunk.
Comment 3 Peter Pis 2006-11-13 08:06:04 UTC
Verified in NB Build 200610231500, Profiler (Build 061110).