Forum Discussion
After switching to 5.1.2 version, I no longer see the exception from the same test case.
However, I am now getting File Not Found exception when launching TestRunner from GUI.
I tried to install 5.1.2 under C:\Program Files and C:\Program Files (x86) and got same exception.
Note that I have replaced project-specific info by XXX for privacy reasons. TestRunner did run to
the end successfully, even with this exception. Can not write groovy log file ?
Running SoapUI TestRunner for [XXXTest]
directory: C:\Program Files\SoapUI-5.1.2\bin\.
command: cmd.exe /C testrunner.bat -s"XXX TestSuite" -c"Update XXX 2" -r -a -j -f"C:\Developer\Projects\XXX Branch\Test\XXX Test Suite\SoapUIReports" -I "C:\Developer\Projects\XXXBranch\Test\XXX Test Suite\XXX-soapui-project.xml"
Configuring log4j from [C:\Program Files\SoapUI-5.1.2\bin\soapui-log4j.xml]
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: global-groovy.log (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163)
at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425)
at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345)
at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712)
at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604)
at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861)
at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88)
at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57)
at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853)
at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584)
at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:471)
at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:120)
at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:110)
at com.eviware.soapui.DefaultSoapUICore.createDefault(DefaultSoapUICore.java:89)
at com.eviware.soapui.SoapUI.getSettings(SoapUI.java:1469)
at com.eviware.soapui.analytics.AnalyticsHelper.analyticsDisabled(AnalyticsHelper.java:18)
at com.eviware.soapui.analytics.AnalyticsHelper.InitializeAnalytics(AnalyticsHelper.java:42)
at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:117)
14:22:25,095 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\XXX\soapui-settings.xml]
14:22:25,149 INFO [HttpClientSupport$Helper] Initializing KeyStore
SoapUI 5.1.2 TestCase Runner
14:22:29,852 INFO [WsdlProject] Loaded project from [file:/C:/Developer/Projects/XXXBranch/Test/XXXTest%20Suite/XXXTest-soapui-project.xml]
I have same problem.
I am using SoapUI 5.2.1, test is being run by calling testrunner.bat using Groovy scripts.
Here is my logs:
log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: global-groovy.log (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:220) at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345) at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604) at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861) at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88) at org.apache.log4j.helpers.FileWatchdog.<init>(FileWatchdog.java:57) at org.apache.log4j.xml.XMLWatchdog.<init>(DOMConfigurator.java:853) at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584) at com.eviware.soapui.DefaultSoapUICore.initLog(DefaultSoapUICore.java:480) at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:124) at com.eviware.soapui.DefaultSoapUICore.<init>(DefaultSoapUICore.java:114) at com.eviware.soapui.DefaultSoapUICore.createDefault(DefaultSoapUICore.java:93) at com.eviware.soapui.SoapUI.getSettings(SoapUI.java:1566) at com.eviware.soapui.analytics.AnalyticsHelper.analyticsDisabled(AnalyticsHelper.java:18) at com.eviware.soapui.analytics.AnalyticsHelper.InitializeAnalytics(AnalyticsHelper.java:42) at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:118)
- jrahman9 years agoContributor
Can anyone help us about this execptions ?
- nmrao9 years agoChampion Level 3A wild guess, that is something related to your windows accounts which is not letting you write, but not sure.
Other, post the reproducible steps.- charlesfradley9 years agoContributor
I have this problem also:
steps to reproduce:
just run testrunner.bat by itself with no arguments....
C:\Program Files\SmartBear\SoapUI-5.2.1\bin>testrunner.bat
Configuring log4j from [C:\Program Files\SmartBear\SoapUI-5.2.1\bin\soapui-log4j.xml]
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: global-groovy.log (Access is denied)
Related Content
- 4 years ago
- 8 years ago
Recent Discussions
- 15 years ago