br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The following error is reported when using the Jenkins TestLink plugin v2.2 with TestLink 1.9.2: Updating 1 test case(s) execution status. Updating automated test case DefaultInitialization with execution status Passed. FATAL: Failed to update TestLink test results: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided. br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided at br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:119) at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:92) at br.eti.kinoshita.testlinkjavaapi.TestCaseService.reportTCResult(TestCaseService.java:634) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.reportTCResult(TestLinkAPI.java:953) at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:166) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:538) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) ERROR: Failed to update TestLink test results: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided. Finished: FAILURE From the response to tl.getTestCasesForTestPlan, the platform name is correctly returned in the member with name "platform_name". In the tl.reportTCResult call, a member called platformname is specified with a value of <ex:nil/>. The platform ID member has the same problem: platformid is specified with a value of <ex:nil/> where the information is provided in platform_id.
    via by Paul Gardner,
  • The following error is reported when using the Jenkins TestLink plugin v2.2 with TestLink 1.9.2: Updating 1 test case(s) execution status. Updating automated test case DefaultInitialization with execution status Passed. FATAL: Failed to update TestLink test results: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided. br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided at br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:119) at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:92) at br.eti.kinoshita.testlinkjavaapi.TestCaseService.reportTCResult(TestCaseService.java:634) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.reportTCResult(TestLinkAPI.java:953) at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:166) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:538) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) ERROR: Failed to update TestLink test results: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided. Finished: FAILURE From the response to tl.getTestCasesForTestPlan, the platform name is correctly returned in the member with name "platform_name". In the tl.reportTCResult call, a member called platformname is specified with a value of <ex:nil/>. The platform ID member has the same problem: platformid is specified with a value of <ex:nil/> where the information is provided in platform_id.
    via by Paul Gardner,
  • Build fails on uploading test results, vith this error. {code} Updating 2 test case(s) execution status. Updating automated test case Acceder par la liste with execution status Passed. Uploading test execution 34 attachment TEST-navigation_vers_les_massifs.xml. FATAL: Failed to update TestLink test results: (uploadAttachment) - Error inserting attachment on DB. br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (uploadAttachment) - Error inserting attachment on DB at br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:119) at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:92) at br.eti.kinoshita.testlinkjavaapi.MiscService.uploadAttachment(MiscService.java:255) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.uploadAttachment(TestLinkAPI.java:279) at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:184) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:538) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.Build$RunnerImpl.build(Build.java:175) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) ERROR: Failed to update TestLink test results: (uploadAttachment) - Error inserting attachment on DB. {code} On testlink side, I checked whether the files were missing, and... they are missing! I also checked whether the process owner was able to write into the directory, He has the rights. I only have a %UPLOAD_DIR%\executions\%build_number%\ empty directory. I suspect the problem to come from the Java TestLink API client or Testlink API Server?
    via by floreal,
  • Build fails on uploading test results, vith this error. {code} Updating 2 test case(s) execution status. Updating automated test case Acceder par la liste with execution status Passed. Uploading test execution 34 attachment TEST-navigation_vers_les_massifs.xml. FATAL: Failed to update TestLink test results: (uploadAttachment) - Error inserting attachment on DB. br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (uploadAttachment) - Error inserting attachment on DB at br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:119) at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:92) at br.eti.kinoshita.testlinkjavaapi.MiscService.uploadAttachment(MiscService.java:255) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.uploadAttachment(TestLinkAPI.java:279) at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:184) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:538) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644) at hudson.model.Build$RunnerImpl.build(Build.java:175) at hudson.model.Build$RunnerImpl.doRun(Build.java:137) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) ERROR: Failed to update TestLink test results: (uploadAttachment) - Error inserting attachment on DB. {code} On testlink side, I checked whether the files were missing, and... they are missing! I also checked whether the process owner was able to write into the directory, He has the rights. I only have a %UPLOAD_DIR%\executions\%build_number%\ empty directory. I suspect the problem to come from the Java TestLink API client or Testlink API Server?
    via by floreal,
    • br.eti.kinoshita.testlinkjavaapi.TestLinkAPIException: (reportTCResult) - Parameter platformname OR platformid is required, but has not been provided at br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:119) at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:92) at br.eti.kinoshita.testlinkjavaapi.TestCaseService.reportTCResult(TestCaseService.java:634) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.reportTCResult(TestLinkAPI.java:953) at hudson.plugins.testlink.TestLinkService.updateTestCasesAndUploadAttachments(TestLinkService.java:166) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:538) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145)
    No Bugmate found.