Silk 18 HF1, attempting to record a test on a Samsung Galaxy Tab A (2016) from Silk4Net. When I attempt to add a new Silk4Net Test and choose to record, the following occurs:
- The Open Agent successfully starts
- The "Configuring mobile device for testing" dialog is displayed
- Silk Screencast message is displayed on the device
- The application launches on the device
- after about a minute, the error "License check failed." is displayed in Visual Studio (2015).
Note 1: I get "Valid license found." when I go to Silk4Net->About
Note 2: I am able to record a web based test on the same device with no issues
The OpenAgent*.xmllog has the following errors which seem relevant:
<log4j:event logger="com.borland.fastxd.agent.core.license.LicenseService" timestamp="1508446259831" level="INFO" thread="Agent UI Thread">
<log4j:message><![CDATA[Internal license error: No policy available for this version of the product]]></log4j:message>
<log4j:locationInfo class="com.borland.fastxd.agent.core.license.LicenseService" method="getMessageForErrorCode" file="LicenseService.java" line="252"/>
</log4j:event><log4j:event logger="com.borland.silktest.commonui.CommonUIListenerAdapter" timestamp="1508446259836" level="ERROR" thread="Agent UI Thread">
<log4j:message><![CDATA[Error in FireEvent('MobileRecordingEvents_GetScreencastUrl')]]></log4j:message>
<log4j:throwable><![CDATA[com.borland.fastxd.common.exception.LicenseCheckException: License check failed.
at com.borland.fastxd.agent.core.license.LicenseService.handleResultErrors(LicenseService.java:154)
at com.borland.fastxd.agent.core.license.LicenseService.callLicenseProvider(LicenseService.java:197)
at com.borland.fastxd.agent.core.license.LicenseService.checkLicense(LicenseService.java:126)
at com.borland.fastxd.agent.core.license.LicenseChecker.checkLicense(LicenseChecker.java:201)
at com.borland.fastxd.agent.core.license.LicenseChecker.checkOutLicense(LicenseChecker.java:127)
at com.borland.fastxd.agent.core.license.LicenseChecker.checkOutMobileLicense(LicenseChecker.java:111)
at com.borland.fastxd.agent.core.license.LicenseChecker.checkMobileLicense(LicenseChecker.java:192)
at com.borland.fastxd.agent.core.license.LicenseChecker.checkLicenseByType(LicenseChecker.java:148)
at com.borland.fastxd.agent.core.Agent.checkTechDomainLicense(Agent.java:541)
at com.borland.fastxd.agent.core.Agent.checkLicenses(Agent.java:531)
at com.borland.fastxd.agent.core.Agent.invokeMethod(Agent.java:494)
at com.borland.silktest.recorder.agent.mobilerecording.RemoteRecordingDialog.getScreencastUrl(RemoteRecordingDialog.java:480)
at com.borland.silktest.recorder.agent.mobilerecording.RemoteRecordingDialog.onEvent(RemoteRecordingDialog.java:434)
at com.borland.silktest.commonui.CommonUIListenerAdapter.onEvent(CommonUIListenerAdapter.java:24)
at com.borland.silktest.commonui.NativeCommonUIProvider.createDialog(Native Method)
at com.borland.silktest.commonui.InProcessCommonUIProvider.createDialog(InProcessCommonUIProvider.java:41)
at com.borland.silktest.commonui.CommonUIProvider.createDialog(CommonUIProvider.java:68)
at com.borland.silktest.recorder.agent.mobilerecording.RemoteRecordingDialog.lambda$show$1(RemoteRecordingDialog.java:1067)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at com.borland.silktest.ui.SWTDisplay.syncExec(SWTDisplay.java:21)
at com.borland.silktest.recorder.agent.mobilerecording.RemoteRecordingDialog.show(RemoteRecordingDialog.java:1067)
at com.borland.silktest.recorder.agent.mobilerecording.RemoteRecordingDialog.show(RemoteRecordingDialog.java:1025)
at com.borland.silktest.recorder.agent.recording.RecordingWorkflow.startMobileRecording(RecordingWorkflow.java:107)
at com.borland.silktest.recorder.agent.recording.RecordingWorkflow.start(RecordingWorkflow.java:78)
at com.borland.silktest.recorder.agent.AbstractRecorder$2.run(AbstractRecorder.java:317)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at com.borland.silktest.ui.UIThread.run(UIThread.java:29)
]]></log4j:throwable>
<log4j:locationInfo class="com.borland.silktest.commonui.CommonUIListenerAdapter" method="logFireEventException" file="CommonUIListenerAdapter.java" line="40"/>
</log4j:event>