Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-2662

java.util.ConcurrentModificationException when issuing a request via REST

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • nightly
    • None
    • None
    • WinXp/Ubuntu, jdk15, FireFox, IE6, tomcat 5.5.20

    Description

      I was working with servicelifecycle sample and entered the following url to register in the library.

      http://localhost:8080/axis2/services/Library/register?userName=foo&passWord=123

      The following exception was thrown.

      java.util.ConcurrentModificationException
      java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
      java.util.HashMap$KeyIterator.next(HashMap.java:823)
      org.apache.axis2.builder.BuilderUtil.buildsoapMessage(BuilderUtil.java:92)
      org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURLEncodedBuilder.java:100)
      org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:130)
      org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:98)
      org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processURLRequest(AxisServlet.java:776)
      org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:238)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

      Library.aar is attached here with.

      Attachments

        1. Library.aar
          11 kB
          Charitha Kankanambe

        Activity

          People

            Unassigned Unassigned
            charitha Charitha Kankanambe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: