EmilyS
14 years agoOccasional Contributor
Home folder changed by itself? Now loadui won't run.
Hi,
I'm seeing some very strange behavior with loadui. I a month or so ago I installed loadui on a Team City build agent, and it's been running smoothly ever since (it runs several times per day). I have it running without any special system settings, and by default it uses "C:\Documents and Settings\Default User\.loadui" as its home folder. I've put all the necessary config files in this directory, so there are no issues.
Today, the tests suddenly started failing with the following error:
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\antony\.loadui\keystore.jks (The system cannot find the file specified)
Antony is another developer at our company, and he had briefly logged into the build agent these tests are running on earlier this morning. He did install an updated version of Flash on the machine, but didn't make any changes related to loadui.
Somehow, loadui now thinks it's supposed to use Antony's documents and settings folder as its home directory, and I can't figure out why or how to get it back to using the Default User directory like it was previously. I've tried rebooting the build agent machine, but that didn't help.
I've also tried to force loadui to use the Default User home directory by passing in system properties on the command line:
"-Dloadui.ssl.trustStore=C:\Documents and Settings\Default User\.loadui\keystore.jks" "-Dloadui.ssl.keyStore=C:\Documents and Settings\Default User\.loadui\keystore.jks" "-Dloadui.home=C:\Documents and Settings\Default User\.loadui" --local -p %teamcity.build.workingDir%\LockerLoadTests.xml --reports %teamcity.build.workingDir%\output --format HTML --statistics
However, this results in a completely different error:
[15:15:51]: 15:15:51,083 INFO [CommandRunner] Loading default Workspace
[15:15:51]: 15:15:51,098 INFO [WorkspaceProviderImpl] Loading workspace from file: C:\Documents and Settings\Default User\.loadui\workspace.xml
[15:15:51]: 15:15:51,364 INFO [WorkspaceItemImpl] Workspace 'WorkspaceItemImpl[label=null]' loaded successfully
[15:15:51]: 15:15:51,427 INFO [CommandRunner] Loading Project: C:\BuildAgent\work\f1138bd24ae22e5a\LockerLoadTests.xml
[15:15:51]: 15:15:51,505 ERROR [CommandRunner] An error occured when executing the script
[15:15:51]: java.lang.IllegalArgumentException: No Bean found for class: interface com.eviware.loadui.api.statistics.StatisticsAggregator
[15:15:51]: at com.eviware.loadui.util.BeanInjector.doGetBean(BeanInjector.java:68)
[15:15:51]: at com.eviware.loadui.util.BeanInjector.getBean(BeanInjector.java:45)
[15:15:51]: at com.eviware.loadui.impl.statistics.AbstractStatisticsWriter.<init>(AbstractStatisticsWriter.java:71)
[15:15:51]: at com.eviware.loadui.impl.statistics.CounterStatisticsWriter.<init>(CounterStatisticsWriter.java:39)
[15:15:51]: at com.eviware.loadui.impl.statistics.CounterStatisticsWriter$Factory.createStatisticsWriter(CounterStatisticsWriter.java:142)
Can you please help? At this point I'm completely unable to run loadui on the build server due to the above issues.
Thanks,
Emily
I'm seeing some very strange behavior with loadui. I a month or so ago I installed loadui on a Team City build agent, and it's been running smoothly ever since (it runs several times per day). I have it running without any special system settings, and by default it uses "C:\Documents and Settings\Default User\.loadui" as its home folder. I've put all the necessary config files in this directory, so there are no issues.
Today, the tests suddenly started failing with the following error:
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\antony\.loadui\keystore.jks (The system cannot find the file specified)
Antony is another developer at our company, and he had briefly logged into the build agent these tests are running on earlier this morning. He did install an updated version of Flash on the machine, but didn't make any changes related to loadui.
Somehow, loadui now thinks it's supposed to use Antony's documents and settings folder as its home directory, and I can't figure out why or how to get it back to using the Default User directory like it was previously. I've tried rebooting the build agent machine, but that didn't help.
I've also tried to force loadui to use the Default User home directory by passing in system properties on the command line:
"-Dloadui.ssl.trustStore=C:\Documents and Settings\Default User\.loadui\keystore.jks" "-Dloadui.ssl.keyStore=C:\Documents and Settings\Default User\.loadui\keystore.jks" "-Dloadui.home=C:\Documents and Settings\Default User\.loadui" --local -p %teamcity.build.workingDir%\LockerLoadTests.xml --reports %teamcity.build.workingDir%\output --format HTML --statistics
However, this results in a completely different error:
[15:15:51]: 15:15:51,083 INFO [CommandRunner] Loading default Workspace
[15:15:51]: 15:15:51,098 INFO [WorkspaceProviderImpl] Loading workspace from file: C:\Documents and Settings\Default User\.loadui\workspace.xml
[15:15:51]: 15:15:51,364 INFO [WorkspaceItemImpl] Workspace 'WorkspaceItemImpl[label=null]' loaded successfully
[15:15:51]: 15:15:51,427 INFO [CommandRunner] Loading Project: C:\BuildAgent\work\f1138bd24ae22e5a\LockerLoadTests.xml
[15:15:51]: 15:15:51,505 ERROR [CommandRunner] An error occured when executing the script
[15:15:51]: java.lang.IllegalArgumentException: No Bean found for class: interface com.eviware.loadui.api.statistics.StatisticsAggregator
[15:15:51]: at com.eviware.loadui.util.BeanInjector.doGetBean(BeanInjector.java:68)
[15:15:51]: at com.eviware.loadui.util.BeanInjector.getBean(BeanInjector.java:45)
[15:15:51]: at com.eviware.loadui.impl.statistics.AbstractStatisticsWriter.<init>(AbstractStatisticsWriter.java:71)
[15:15:51]: at com.eviware.loadui.impl.statistics.CounterStatisticsWriter.<init>(CounterStatisticsWriter.java:39)
[15:15:51]: at com.eviware.loadui.impl.statistics.CounterStatisticsWriter$Factory.createStatisticsWriter(CounterStatisticsWriter.java:142)
Can you please help? At this point I'm completely unable to run loadui on the build server due to the above issues.
Thanks,
Emily