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.
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)
Created attachment 75098 [details] log
Which version of windows / jdk are you using?
1.6.0_11
Windows XP version 5.1 running on x86
I can't reproduce it, please give exact steps to reproduce(including file and line on which it happens)
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.
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
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
seems working, marking verified