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 155676 - IllegalArgumentException on Insert Profiling Point
Summary: IllegalArgumentException on Insert Profiling Point
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 15:43 UTC by mariadavydova
Modified: 2009-06-10 11:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log (163.53 KB, text/plain)
2008-12-17 15:45 UTC, mariadavydova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mariadavydova 2008-12-17 15:43:24 UTC
Build 200812170242
Profile Sample Paint Application.
Choose some invalid line and try to insert Profiling Point.
IllegalArgumentException has occurred.

java.lang.IllegalArgumentException: Parameter file was not normalized. Was  instead of C:\Program Files\NetBeans 7.0M1
	at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:650)
	at org.netbeans.modules.profiler.ppoints.Utils.getDocumentOffset(Utils.java:553)
	at org.netbeans.modules.profiler.ppoints.Utils.getMethodName(Utils.java:390)
[catch] at org.netbeans.modules.profiler.ppoints.Utils.isValidLocation(Utils.java:682)
	at org.netbeans.modules.profiler.ppoints.Utils.checkLocation(Utils.java:704)
	at org.netbeans.modules.profiler.ppoints.ResetResultsProfilingPoint.setValues(ResetResultsProfilingPoint.java:387)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointWizard$WizardPanel2.hiding(ProfilingPointWizard.java:162)
	at org.netbeans.modules.profiler.ppoints.ProfilingPointWizard.previousPanel(ProfilingPointWizard.java:423)
	at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2007)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 1 mariadavydova 2008-12-17 15:45:55 UTC
Created attachment 75098 [details]
log
Comment 2 Petr Cyhelsky 2008-12-17 16:01:06 UTC
Which version of windows / jdk are you using?
Comment 3 mariadavydova 2008-12-17 16:05:13 UTC
1.6.0_11
Comment 4 mariadavydova 2008-12-17 16:06:08 UTC
Windows XP version 5.1 running on x86
Comment 5 Petr Cyhelsky 2008-12-17 18:47:59 UTC
I can't reproduce it, please give exact steps to reproduce(including file and line on which it happens)
Comment 6 mariadavydova 2008-12-18 13:22:27 UTC
The steps is as I write below,
It stable reproduced on my system.
As addition step, I don't enter any reset result file location and close the window.
Exception occurred and then after window closed it show Invalid location of Reset Result warning.
Comment 7 Jiri Sedlacek 2009-04-15 13:39:15 UTC
Fixed in profiler-main.


changeset:   126705:71c85c00bc57
user:        Jiri Sedlacek <jis@netbeans.org>
date:        Wed Apr 15 14:36:58 2009 +0200
summary:     Bugfix #155676 - make sure FileUtil.toFileObject uses normalized file
Comment 8 Quality Engineering 2009-04-16 07:58:51 UTC
Integrated into 'main-golden', will be available in build *200904160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/71c85c00bc57
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #155676 - make sure FileUtil.toFileObject uses normalized file
Comment 9 matusdekanek 2009-06-10 11:59:19 UTC
seems working, marking verified