Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004535 [Resin] major always 05-06-11 10:47 07-06-11 17:06
Reporter bgoykhman View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.10
Summary 0004535: Calling Amazon EC2 Cloud API produces IllegalArgumentException
Description When I call any EC2 API method using Amazon SDK, it always fails with the same error:

java.lang.IllegalArgumentException: property "javax.xml.stream.isCoalescing"
not supported

apparently because of this call inside Amazon's com.amazonaws.http.StaxResponseHandler class:

xmlInputFactory.setProperty(XMLInputFactory.IS_COALESCING, true);
Additional Information
Attached Files

- Relationships

- Notes
(0005229)
bgoykhman
05-06-11 11:21

IllegalArgumentException comes out of com.caucho.xml.stream.XMLInputFactoryImpl.setProperty(name, value) method, which looks like only allows java.xml.stream.allocator and java.xml.stream.isNamespaceAware properties and throws the above exception for anything else.
 
(0005366)
ferg
07-06-11 17:06

removed META-INF/services/java.xml.stream.XMLInputFactory since the JDK's input factory should be preferred.
 

- Issue History
Date Modified Username Field Change
05-06-11 10:47 bgoykhman New Issue
05-06-11 11:21 bgoykhman Note Added: 0005229
07-06-11 17:06 ferg Note Added: 0005366
07-06-11 17:06 ferg Assigned To  => ferg
07-06-11 17:06 ferg Status new => closed
07-06-11 17:06 ferg Resolution open => fixed
07-06-11 17:06 ferg Fixed in Version  => 3.1.11


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker