You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "mike (JIRA)" <ax...@ws.apache.org> on 2005/10/20 18:12:47 UTC
[jira] Created: (AXIS-2264) org.apache.axis.client.Call implementation Bug => CurrentModificationException if an other VM is used (e.g. http://www.cacaojvm.org)
org.apache.axis.client.Call implementation Bug => CurrentModificationException if an other VM is used (e.g. http://www.cacaojvm.org)
------------------------------------------------------------------------------------------------------------------------------------
Key: AXIS-2264
URL: http://issues.apache.org/jira/browse/AXIS-2264
Project: Apache Axis
Type: Bug
Components: Basic Architecture
Versions: 1.2, 1.2.1
Environment: every environment using an other VM but Sun-JVM (e.g. http://www.cacaojvm.org)
Reporter: mike
org.apache.axis.client.Call (@Line 2534 ++)
CurrentModificationException as something gets removed and afterwards Iterator.next() is checked in the while-clause)
@LINE 2534 in org.apache.axis.client.Call
// added by scheu:
// If the return param is still not found, that means
// the returned value did not have the expected qname.
// The soap specification indicates that this should be
// accepted (and we also fail interop tests if we are strict here).
// Look through the outParms and find one that
// does not match one of the operation parameters.
if (findReturnParam) {
Iterator it = outParams.keySet().iterator();
////////////////////FIX !!
while (findReturnParam && it.hasNext()) { //Fixed due to CurrentModificationException [mike]
////////////////////END of FIX
// was => while (it.hasNext() && findReturnParam) { => CurrentModificationException
QName qname = (QName) it.next();
ParameterDesc paramDesc =
operation.getOutputParamByQName(qname);
if (paramDesc == null) {
// Doesn't match a paramter, so use this for the return
findReturnParam = false;
result = outParams.remove(qname);
}
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (AXIS-2264) org.apache.axis.client.Call implementation Bug => CurrentModificationException if an other VM is used (e.g. http://www.cacaojvm.org)
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2264?page=all ]
Davanum Srinivas resolved AXIS-2264:
------------------------------------
Resolution: Fixed
Fixed in latest SVN.
thanks,
dims
> org.apache.axis.client.Call implementation Bug => CurrentModificationException if an other VM is used (e.g. http://www.cacaojvm.org)
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS-2264
> URL: http://issues.apache.org/jira/browse/AXIS-2264
> Project: Apache Axis
> Type: Bug
> Components: Basic Architecture
> Versions: 1.2, 1.2.1
> Environment: every environment using an other VM but Sun-JVM (e.g. http://www.cacaojvm.org)
> Reporter: mike
>
> org.apache.axis.client.Call (@Line 2534 ++)
> CurrentModificationException as something gets removed and afterwards Iterator.next() is checked in the while-clause)
> @LINE 2534 in org.apache.axis.client.Call
> // added by scheu:
> // If the return param is still not found, that means
> // the returned value did not have the expected qname.
> // The soap specification indicates that this should be
> // accepted (and we also fail interop tests if we are strict here).
> // Look through the outParms and find one that
> // does not match one of the operation parameters.
> if (findReturnParam) {
> Iterator it = outParams.keySet().iterator();
> ////////////////////FIX !!
> while (findReturnParam && it.hasNext()) { //Fixed due to CurrentModificationException [mike]
> ////////////////////END of FIX
> // was => while (it.hasNext() && findReturnParam) { => CurrentModificationException
>
> QName qname = (QName) it.next();
> ParameterDesc paramDesc =
> operation.getOutputParamByQName(qname);
> if (paramDesc == null) {
> // Doesn't match a paramter, so use this for the return
> findReturnParam = false;
> result = outParams.remove(qname);
> }
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira