StringIndexOutOfBoundsException error when trying to build a project Follow
Hi all,
I am trying to install, configure and run (build) teamcity for a maven project I have.
I have installed the TC version 7.1.3 (which is the latest I have available at work) in my win 7 machine running JDK 1.7.0_17. I have configured it to get my project from my SVN repository. But when I try to run it it fails. Looking into the Build Log tab in my localhost page it shows the following error...
Error occurred during initialization of VM
java.lang.ExceptionInInitializerError
at java.lang.Runtime.loadLibrary0(Runtime.java:841)
at java.lang.System.loadLibrary(System.java:1084)
at java.lang.System.initializeSystemClass(System.java:1145)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:658)
at java.io.Win32FileSystem.<init>(Win32FileSystem.java:40)
at java.io.WinNTFileSystem.<init>(WinNTFileSystem.java:37)
at java.io.FileSystem.getFileSystem(Native Method)
at java.io.File.<clinit>(File.java:156)
at java.lang.Runtime.loadLibrary0(Runtime.java:841)
at java.lang.System.loadLibrary(System.java:1084)
at java.lang.System.initializeSystemClass(System.java:1145)
Any ideas please?
Thanks
Please sign in to leave a comment.
Hi
Could you please post a full build log.
From that cut it's not clear where the exeption come from. It may be TeamCity, Maven, or your test code.
Thanks
Looks like this issue: http://youtrack.jetbrains.com/issue/TW-25070 which is fixed in 7.1.4.