java.lang.NoSuchMethodError: org.apache.http.entity.mime.FormBodyPart.getBody()Lorg/apache/http/entity/mime/content/ContentBody;

Google Groups | Sivakumar Prakhash | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Including httpclient-osgi jar with JBroFuzz jar in ZAP

    Google Groups | 5 months ago | Sivakumar Prakhash
    java.lang.NoSuchMethodError: org.apache.http.entity.mime.FormBodyPart.getBody()Lorg/apache/http/entity/mime/content/ContentBody;
  2. 0

    Android Httpclient [NoSuchMethodError:org.apache.http.entity.ContentType.create]

    Stack Overflow | 2 years ago | nmkkannan
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    Cloudinary fileupload fiaied when using it with java method Cloudinary.uploaer().upload

    Stack Overflow | 1 year ago | aungnyeinmin
    java.lang.NoSuchMethodError: org.apache.http.entity.ContentType.create(Ljava/lang/String;[Lorg/apache/http/NameValuePair;)Lorg/apache/http/entity/ContentType;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Websend - Bukkit

    bukkit.org | 8 months ago
    java.lang.NoSuchMethodError: org.apache.http.entity.ContentType.create(Ljava/lang/String;[Lorg/apache/http/NameValuePair;)Lorg/apache/http/entity/ContentType;

  1. guizmaii 1 times, last 2 months ago
4 unregistered visitors

Root Cause Analysis

  1. java.lang.NoSuchMethodError

    org.apache.http.entity.mime.FormBodyPart.getBody()Lorg/apache/http/entity/mime/content/ContentBody;

    at org.apache.http.entity.mime.AbstractMultipartForm.getTotalLength()
  2. Apache HttpClient Mime
    MultipartEntityBuilder.build
    1. org.apache.http.entity.mime.AbstractMultipartForm.getTotalLength(AbstractMultipartForm.java:192)
    2. org.apache.http.entity.mime.MultipartEntityBuilder.buildEntity(MultipartEntityBuilder.java:200)
    3. org.apache.http.entity.mime.MultipartEntityBuilder.build(MultipartEntityBuilder.java:204)
    3 frames
  3. org.zaproxy.zap
    API.handleApiRequest
    1. org.zaproxy.zap.extension.zapwso2jiraplugin.JiraRestClient.invokePutMethodWithFile(JiraRestClient.java:133)
    2. org.zaproxy.zap.extension.zapwso2jiraplugin.JiraIssueCreatorExtension.createJiraIssues(JiraIssueCreatorExtension.java:173)
    3. org.zaproxy.zap.extension.zapwso2jiraplugin.JiraIssueCreatorAPI.handleApiAction(JiraIssueCreatorAPI.java:63)
    4. org.zaproxy.zap.extension.api.API.handleApiRequest(API.java:321)
    4 frames
  4. org.parosproxy.paros
    ProxyThread.run
    1. org.parosproxy.paros.core.proxy.ProxyThread.processHttp(ProxyThread.java:357)
    2. org.parosproxy.paros.core.proxy.ProxyThread.run(ProxyThread.java:248)
    2 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame