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 155073 - IllegalArgumentException: Parameter file was not normalized. Was C:\DOKUME~1\tim\LOKALE~1\Temp\preview2684182821039751900.py instead of C:\Dokumente und Einstellungen\tim\Lokale Einstellungen\Temp\pre
Summary: IllegalArgumentException: Parameter file was not normalized. Was C:\DOKUME~1\...
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Ralph Ruijs
URL: http://statistics.netbeans.org/except...
Keywords:
: 155272 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-09 20:27 UTC by Tim Lebedkov
Modified: 2015-05-18 04:27 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144156


Attachments
stacktrace (1.21 KB, text/plain)
2009-01-11 08:52 UTC, itsadok
Details
stacktrace (1.21 KB, text/plain)
2009-01-11 09:01 UTC, itsadok
Details
stacktrace (1.23 KB, text/plain)
2009-04-07 13:00 UTC, rudysplif
Details
stacktrace (1.19 KB, text/plain)
2010-01-12 16:01 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2008-12-09 20:27:00 UTC
Build: NetBeans IDE Dev (Build 20081209183433)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
lebedkov: opening project properties



Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:\DOKUME~1\tim\LOKALE~1\Temp\preview2684182821039751900.py instead of C:\Dokumente und Einstellungen\tim\Lokale Einstellungen\Temp\preview2684182821039751900.py
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:650)
        at org.netbeans.modules.python.editor.options.FmtOptions$CategorySupport.refreshPreview(FmtOptions.java:615)
        at org.netbeans.modules.options.indentation.FormattingPanel$3.run(FormattingPanel.java:200)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
Comment 1 Exceptions Reporter 2008-12-24 10:40:57 UTC
This issue has already 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144156
Comment 2 itsadok 2009-01-11 08:52:27 UTC
Build: NetBeans IDE Dev (Build 20090106142255)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 
click "formatting" under project properties

Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:\DOCUME~1\itsadok\LOCALS~1\Temp\preview18133.py instead of C:\Documents and Settings\itsadok\Local Settings\Temp\preview18133.py
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:641)
        at org.netbeans.modules.python.editor.options.FmtOptions$CategorySupport.refreshPreview(FmtOptions.java:615)
        at org.netbeans.modules.options.indentation.FormattingPanel$3.run(FormattingPanel.java:200)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
Comment 3 itsadok 2009-01-11 08:52:32 UTC
Created attachment 75663 [details]
stacktrace
Comment 4 itsadok 2009-01-11 09:01:31 UTC
Build: NetBeans IDE Dev (Build 20090106142255)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 
clicked the "editor" heading in the Options dialog

Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:\DOCUME~1\itsadok\LOCALS~1\Temp\preview18135.py instead of C:\Documents and Settings\itsadok\Local Settings\Temp\preview18135.py
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:641)
        at org.netbeans.modules.python.editor.options.FmtOptions$CategorySupport.refreshPreview(FmtOptions.java:615)
        at org.netbeans.modules.options.indentation.FormattingPanel$3.run(FormattingPanel.java:200)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
Comment 5 itsadok 2009-01-11 09:01:41 UTC
Created attachment 75664 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-03-26 16:01:31 UTC
This issue has already 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144156
Comment 7 rudysplif 2009-04-07 13:00:03 UTC
Build: NetBeans IDE Dev (Build 200904020200)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments: 
right-click on the active project, select properties, then clicked on 'Formatting'.  That's when this error came up.

Stacktrace: 
java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:\DOCUME~1\Dan\LOCALS~1\Temp\preview1153754838304180977.py instead of C:\Documents and Settings\Dan\Local Settings\Temp\preview1153754838304180977.py
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:864)
        at org.netbeans.modules.python.editor.options.FmtOptions$CategorySupport.refreshPreview(FmtOptions.java:615)
        at org.netbeans.modules.options.indentation.FormattingPanel$3.run(FormattingPanel.java:200)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
Comment 8 rudysplif 2009-04-07 13:00:14 UTC
Created attachment 79620 [details]
stacktrace
Comment 9 Exceptions Reporter 2009-10-29 13:10:57 UTC
This issue already has 51 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=144156
Comment 10 _ tboudreau 2010-01-12 16:01:44 UTC
Created attachment 93235 [details]
stacktrace

Went to Formatting tab of project properties on the Python sample project JySwing
Comment 11 Ralph Ruijs 2015-05-07 17:21:26 UTC
changeset:   523ffd03600a
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Thu May 07 19:09:27 2015 +0200
summary:     #155073 - Normalize temp file
Comment 12 Lou Dasaro 2015-05-18 04:27:37 UTC
*** Bug 155272 has been marked as a duplicate of this bug. ***