Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63812

Unable to generate report for official ZAP plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • zap-plugin
    • None
    • Jenkins version 2.258
      official zap proxy plugin 1.1.0
      Debian 9
      Mozilla Firefox
      java build 11.0.6

    Description

      Unable to generate report using official zap proxy plugin.

      Please find the error as mentioned below.

       

       

      Attachments

        Activity

          parthaexcell partha dutta added a comment -

          Is there any update on this, i am facing same error:

          [ZAP Jenkins Plugin] GENERATE REPORT(S) [ TRUE ]
          39757 [ZAP-ProxyThread-19] ERROR org.zaproxy.zap.extension.api.CoreAPI - no_implementor
          org.zaproxy.zap.extension.api.ApiException: no_implementor
          	at org.zaproxy.zap.extension.api.CoreAPI.generateReport(CoreAPI.java:1631) [zap-2.11.1.jar:2.11.1]
          	at org.zaproxy.zap.extension.api.CoreAPI.handleApiOther(CoreAPI.java:1409) [zap-2.11.1.jar:2.11.1]
          	at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:551) [zap-2.11.1.jar:2.11.1]
          	at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:497) [zap-2.11.1.jar:2.11.1]
          	at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:333) [zap-2.11.1.jar:2.11.1]
          	at java.lang.Thread.run(Thread.java:832) [?:?]
          39757 [ZAP-ProxyThread-19] ERROR org.zaproxy.zap.extension.api.API - API 'other' endpoint didn't handle exception:
          org.zaproxy.zap.extension.api.ApiException: internal_error
          	at org.zaproxy.zap.extension.api.CoreAPI.generateReport(CoreAPI.java:1687) ~[zap-2.11.1.jar:2.11.1]
          	at org.zaproxy.zap.extension.api.CoreAPI.handleApiOther(CoreAPI.java:1409) ~[zap-2.11.1.jar:2.11.1]
          	at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:551) [zap-2.11.1.jar:2.11.1]
          	at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:497) [zap-2.11.1.jar:2.11.1]
          	at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:333) [zap-2.11.1.jar:2.11.1]
          	at java.lang.Thread.run(Thread.java:832) [?:?]
          ERROR: org.zaproxy.clientapi.core.ClientApiException: java.lang.NullPointerException
          	at org.zaproxy.clientapi.core.ClientApi.callApiOther(ClientApi.java:367)
          	at org.zaproxy.clientapi.gen.Core.xmlreport(Core.java:445)
          	at org.jenkinsci.plugins.zap.report.ZAPReportXML.generateReport(ZAPReportXML.java:48)
          	at org.jenkinsci.plugins.zap.ZAPDriver.saveReport(ZAPDriver.java:847)
          	at org.jenkinsci.plugins.zap.ZAPDriver.executeZAP(ZAPDriver.java:1211)
          	at org.jenkinsci.plugins.zap.ZAPBuilder$ZAPDriverCallable.invoke(ZAPBuilder.java:448)
          	at org.jenkinsci.plugins.zap.ZAPBuilder$ZAPDriverCallable.invoke(ZAPBuilder.java:436)
          	at hudson.FilePath.act(FilePath.java:1163)
          	at hudson.FilePath.act(FilePath.java:1146)
          	at org.jenkinsci.plugins.zap.ZAPBuilder.perform(ZAPBuilder.java:292)
          	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
          	at hudson.model.Build$BuildExecution.build(Build.java:197)
          	at hudson.model.Build$BuildExecution.doRun(Build.java:163) 

           

          parthaexcell partha dutta added a comment - Is there any update on this, i am facing same error: [ZAP Jenkins Plugin] GENERATE REPORT(S) [ TRUE ] 39757 [ZAP-ProxyThread-19] ERROR org.zaproxy.zap.extension.api.CoreAPI - no_implementor org.zaproxy.zap.extension.api.ApiException: no_implementor at org.zaproxy.zap.extension.api.CoreAPI.generateReport(CoreAPI.java:1631) [zap-2.11.1.jar:2.11.1] at org.zaproxy.zap.extension.api.CoreAPI.handleApiOther(CoreAPI.java:1409) [zap-2.11.1.jar:2.11.1] at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:551) [zap-2.11.1.jar:2.11.1] at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:497) [zap-2.11.1.jar:2.11.1] at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:333) [zap-2.11.1.jar:2.11.1] at java.lang. Thread .run( Thread .java:832) [?:?] 39757 [ZAP-ProxyThread-19] ERROR org.zaproxy.zap.extension.api.API - API 'other' endpoint didn't handle exception: org.zaproxy.zap.extension.api.ApiException: internal_error at org.zaproxy.zap.extension.api.CoreAPI.generateReport(CoreAPI.java:1687) ~[zap-2.11.1.jar:2.11.1] at org.zaproxy.zap.extension.api.CoreAPI.handleApiOther(CoreAPI.java:1409) ~[zap-2.11.1.jar:2.11.1] at org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:551) [zap-2.11.1.jar:2.11.1] at org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:497) [zap-2.11.1.jar:2.11.1] at org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:333) [zap-2.11.1.jar:2.11.1] at java.lang. Thread .run( Thread .java:832) [?:?] ERROR: org.zaproxy.clientapi.core.ClientApiException: java.lang.NullPointerException at org.zaproxy.clientapi.core.ClientApi.callApiOther(ClientApi.java:367) at org.zaproxy.clientapi.gen.Core.xmlreport(Core.java:445) at org.jenkinsci.plugins.zap.report.ZAPReportXML.generateReport(ZAPReportXML.java:48) at org.jenkinsci.plugins.zap.ZAPDriver.saveReport(ZAPDriver.java:847) at org.jenkinsci.plugins.zap.ZAPDriver.executeZAP(ZAPDriver.java:1211) at org.jenkinsci.plugins.zap.ZAPBuilder$ZAPDriverCallable.invoke(ZAPBuilder.java:448) at org.jenkinsci.plugins.zap.ZAPBuilder$ZAPDriverCallable.invoke(ZAPBuilder.java:436) at hudson.FilePath.act(FilePath.java:1163) at hudson.FilePath.act(FilePath.java:1146) at org.jenkinsci.plugins.zap.ZAPBuilder.perform(ZAPBuilder.java:292) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.Build$BuildExecution.build(Build.java:197) at hudson.model.Build$BuildExecution.doRun(Build.java:163)  

          People

            jordangs Goran Sarenkapa
            nutmag nutmag abc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: