faisalkarim
10 years agoOccasional Contributor
Test runner license issue
Hi,
After I upgraded to latest version of SoapUI Pro 5.1.1, I am having the following issue when I run the test from command line (related to license agreement). I tried uninstall SoapUI entirely and add license after installation. Still I see the issue. Any thoughts? Really urgent issue.
*************************************************************************************
END USER LICENSE AGREEMENT
Since it's your first time running the TestRunner since installing a new license,
you will need to accept the end user license agreement.
Please read it through carefully and review the conditions
*************************************************************************************
View license agreement now? [y/N]: - An error occurred [java.util.NoSuchElementException], see error log for details
- java.util.NoSuchElementException
java.util.NoSuchElementException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at com.eviware.soapui.CommandLineUtils.userConfirmsToYesNoPrompt(SourceFile:105)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.promptUserForLicenseAgreement(SourceFile:356)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.checkLicense(SourceFile:327)
at com.eviware.soapui.impl.protection.ProtectionLicense.checkLicense(SourceFile:149)
at com.eviware.soapui.LicenseHandling.a(SourceFile:91)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:67)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
java.util.NoSuchElementException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at com.eviware.soapui.CommandLineUtils.userConfirmsToYesNoPrompt(SourceFile:105)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.promptUserForLicenseAgreement(SourceFile:356)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.checkLicense(SourceFile:327)
at com.eviware.soapui.impl.protection.ProtectionLicense.checkLicense(SourceFile:149)
at com.eviware.soapui.LicenseHandling.a(SourceFile:91)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:67)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
- An error occurred [C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)], see error log for details
- java.io.FileNotFoundException: C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)
java.io.FileNotFoundException: C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.eviware.soapui.LicenseHandling.a(SourceFile:532)
at com.eviware.soapui.LicenseHandling.validateLicense(SourceFile:496)
at com.eviware.soapui.SoapUIProTestCaseRunner.testRunnerLicenseIsValid(SourceFile:116)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:77)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
java.io.FileNotFoundException: C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.eviware.soapui.LicenseHandling.a(SourceFile:532)
at com.eviware.soapui.LicenseHandling.validateLicense(SourceFile:496)
at com.eviware.soapui.SoapUIProTestCaseRunner.testRunnerLicenseIsValid(SourceFile:116)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:77)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
*************************************************************************************
SOAPUI PRO LICENSE IS CORRUPTED
Please follow the instructions at
http://www.soapui.org/Licenses/license-corrupted.html +
on how to install a valid license
Shutting down...
*************************************************************************************
After I upgraded to latest version of SoapUI Pro 5.1.1, I am having the following issue when I run the test from command line (related to license agreement). I tried uninstall SoapUI entirely and add license after installation. Still I see the issue. Any thoughts? Really urgent issue.
*************************************************************************************
END USER LICENSE AGREEMENT
Since it's your first time running the TestRunner since installing a new license,
you will need to accept the end user license agreement.
Please read it through carefully and review the conditions
*************************************************************************************
View license agreement now? [y/N]: - An error occurred [java.util.NoSuchElementException], see error log for details
- java.util.NoSuchElementException
java.util.NoSuchElementException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at com.eviware.soapui.CommandLineUtils.userConfirmsToYesNoPrompt(SourceFile:105)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.promptUserForLicenseAgreement(SourceFile:356)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.checkLicense(SourceFile:327)
at com.eviware.soapui.impl.protection.ProtectionLicense.checkLicense(SourceFile:149)
at com.eviware.soapui.LicenseHandling.a(SourceFile:91)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:67)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
java.util.NoSuchElementException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at com.eviware.soapui.CommandLineUtils.userConfirmsToYesNoPrompt(SourceFile:105)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.promptUserForLicenseAgreement(SourceFile:356)
at com.eviware.soapui.impl.protection.SoapuiProtectionSupport.checkLicense(SourceFile:327)
at com.eviware.soapui.impl.protection.ProtectionLicense.checkLicense(SourceFile:149)
at com.eviware.soapui.LicenseHandling.a(SourceFile:91)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:67)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
- An error occurred [C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)], see error log for details
- java.io.FileNotFoundException: C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)
java.io.FileNotFoundException: C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.eviware.soapui.LicenseHandling.a(SourceFile:532)
at com.eviware.soapui.LicenseHandling.validateLicense(SourceFile:496)
at com.eviware.soapui.SoapUIProTestCaseRunner.testRunnerLicenseIsValid(SourceFile:116)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:77)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
java.io.FileNotFoundException: C:\Users\msautotestuser\.soapui\soapui.lic (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.eviware.soapui.LicenseHandling.a(SourceFile:532)
at com.eviware.soapui.LicenseHandling.validateLicense(SourceFile:496)
at com.eviware.soapui.SoapUIProTestCaseRunner.testRunnerLicenseIsValid(SourceFile:116)
at com.eviware.soapui.SoapUIProTestCaseRunner.init(SourceFile:77)
at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:62)
*************************************************************************************
SOAPUI PRO LICENSE IS CORRUPTED
Please follow the instructions at
http://www.soapui.org/Licenses/license-corrupted.html +
on how to install a valid license
Shutting down...
*************************************************************************************