org.zaproxy.clientapi.core.ClientApiException: An error has occurred when loading the provided script

GitHub | mabdelmoez | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Authentication Script: Zest failure

    GitHub | 7 months ago | mabdelmoez
    org.zaproxy.clientapi.core.ClientApiException: An error has occurred when loading the provided script

    Root Cause Analysis

    1. org.zaproxy.clientapi.core.ClientApiException

      An error has occurred when loading the provided script

      at org.zaproxy.clientapi.core.ApiResponseFactory.getResponse()
    2. org.zaproxy.clientapi
      Authentication.setAuthenticationMethod
      1. org.zaproxy.clientapi.core.ApiResponseFactory.getResponse(ApiResponseFactory.java:32)
      2. org.zaproxy.clientapi.core.ClientApi.callApi(ClientApi.java:290)
      3. org.zaproxy.clientapi.gen.Authentication.setAuthenticationMethod(Authentication.java:85)
      3 frames
    3. fr.novia.zaproxyplugin
      ZAProxyBuilder$ZAProxyCallable.invoke
      1. fr.novia.zaproxyplugin.ZAProxy.setUpScriptBasedAuthenticationMethod(ZAProxy.java:1581)
      2. fr.novia.zaproxyplugin.ZAProxy.setUpAuthentication(ZAProxy.java:1684)
      3. fr.novia.zaproxyplugin.ZAProxy.executeZAP(ZAProxy.java:1230)
      4. fr.novia.zaproxyplugin.ZAProxyBuilder$ZAProxyCallable.invoke(ZAProxyBuilder.java:395)
      5. fr.novia.zaproxyplugin.ZAProxyBuilder$ZAProxyCallable.invoke(ZAProxyBuilder.java:381)
      5 frames
    4. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:1018)
      2. hudson.FilePath.act(FilePath.java:996)
      2 frames
    5. fr.novia.zaproxyplugin
      ZAProxyBuilder.perform
      1. fr.novia.zaproxyplugin.ZAProxyBuilder.perform(ZAProxyBuilder.java:200)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.Build$BuildExecution.build(Build.java:205)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:162)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      6. hudson.model.Run.execute(Run.java:1720)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:404)
      9 frames