Bug 57557 - TransformerException when executing 'junitreport' for tests run on IE11
Summary: TransformerException when executing 'junitreport' for tests run on IE11
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.9.4
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2015-02-10 15:26 UTC by ioana.balas
Modified: 2018-06-18 21:46 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description ioana.balas 2015-02-10 15:26:01 UTC
IE11 has the following user agent:

When the XML corresponding to the JUnit tests is created, it is created under the name TEST-Mozillaa50_(Windows_NT_61a_WOW64a_Tridenta70a_rva110)_like_Gecko__Windows.xml and the test suite name is Mozilla\50_(Windows_NT_61;_WOW64;_Trident\70;_rv:110)_like_Gecko__Windows.

Since these two strings do not match, the generation of the report blows up with the following exception:
ERROR: Errors while applying transformations: Fatal error during transformation
Error running tests.
Caused by: javax.xml.transform.TransformerException: <PATH>\html\Mozilla\50_(Windows_NT_61;_WOW64;_Trident\70;_rv:110)_like_Gecko__Windows\package-frame.html (The filename, directory name, or volume label syntax is incorrect)
Comment 1 Gintas Grigelionis 2018-06-18 21:46:15 UTC
How are the test case names set? It looks like a limitation of Windows filesystem (see "naming conventions" in https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx)