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 82753 - TemplatePanelTest failing on windows
Summary: TemplatePanelTest failing on windows
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Favorites (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2006-08-15 16:35 UTC by Tomas Danek
Modified: 2008-12-22 22:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2006-08-15 16:35:55 UTC
trunk build 20060815

Testcase:
testDuplicateTemplate(org.netbeans.modules.favorites.templates.TemplatesPanelTest):
Caused an ERROR
Parameter file was not normalized. Was
C:\DOCUME~1\TOMASM~1\LOCALS~1\Temp\popural16506java instead of C:\Documents and
Settings\Tomas Musil\Local Settings\Temp\popural16506java
java.lang.IllegalArgumentException: Parameter file was not normalized. Was
C:\DOCUME~1\TOMASM~1\LOCALS~1\Temp\popural16506java instead of C:\Documents and
Settings\Tomas Musil\Local Settings\Temp\popural16506java
        at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:418)
        at
org.netbeans.modules.favorites.templates.TemplatesPanel.createTemplateFromFile(TemplatesPanel.java:553)
        at
org.netbeans.modules.favorites.templates.TemplatesPanelTest.testDuplicateTemplate(TemplatesPanelTest.java:90)
        at org.netbeans.junit.NbTestCase.access$100(NbTestCase.java:60)
        at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:240)
        at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:180)
        at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:256)
        at org.netbeans.junit.NbTestCase.run(NbTestCase.java:160)
....
....

100% reproducible
Comment 1 Jiri Rechtacek 2006-08-15 20:29:04 UTC
Checking in TemplatesPanel.java;
/shared/data/ccvs/repository/core/favorites/src/org/netbeans/modules/favorites/templates/TemplatesPanel.java,v
 <--  TemplatesPanel.java
new revision: 1.9; previous revision: 1.8
done
Comment 2 Tomas Danek 2006-08-23 12:56:08 UTC
passing now. verified.