Skip to content

Instantly share code, notes, and snippets.

@eslick
Created March 30, 2014 20:46
Show Gist options
  • Save eslick/9879467 to your computer and use it in GitHub Desktop.
Save eslick/9879467 to your computer and use it in GitHub Desktop.
Datomic + DDB Interaction stack trace; caused by JDK limitation in XML expansion
16:57:27.147 ERROR com.amazonaws.http.AmazonHttpClient - Unable to unmarshall response (ParseError at [row,col]:[1,1]
Message: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.)
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.setInputSource(XMLStreamReaderImpl.java:219) ~[na:1.6.0_27]
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.<init>(XMLStreamReaderImpl.java:189) ~[na:1.6.0_27]
at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:277) ~[na:1.6.0_27]
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:129) ~[na:1.6.0_27]
at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLEventReader(XMLInputFactoryImpl.java:78) ~[na:1.6.0_27]
at com.amazonaws.http.StaxResponseHandler.handle(StaxResponseHandler.java:85) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.http.StaxResponseHandler.handle(StaxResponseHandler.java:41) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:457) [aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:269) [aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:169) [aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.invoke(AWSSecurityTokenServiceClient.java:345) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.services.securitytoken.AWSSecurityTokenServiceClient.getSessionToken(AWSSecurityTokenServiceClient.java:220) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.auth.STSSessionCredentialsProvider.startSession(STSSessionCredentialsProvider.java:96) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.auth.STSSessionCredentialsProvider.getCredentials(STSSessionCredentialsProvider.java:80) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.services.dynamodb.AmazonDynamoDBClient.invoke(AmazonDynamoDBClient.java:662) ~[aws-java-sdk-1.3.0.jar:na]
at com.amazonaws.services.dynamodb.AmazonDynamoDBClient.getItem(AmazonDynamoDBClient.java:569) ~[aws-java-sdk-1.3.0.jar:na]
at datomic.ddb$get_item_STAR_.invoke(ddb.clj:23) ~[datomic-pro-0.8.3814.jar:na]
at datomic.ddb$get_item.invoke(ddb.clj:88) ~[datomic-pro-0.8.3814.jar:na]
at datomic.kv_dynamo.KVDynamo.get(kv_dynamo.clj:46) ~[datomic-pro-0.8.3814.jar:na]
at datomic.kv_cluster.KVCluster$fn__1135$fn__1137$fn__1138.invoke(kv_cluster.clj:202) ~[datomic-pro-0.8.3814.jar:na]
at datomic.kv_cluster$retry_fn$fn__1056.invoke(kv_cluster.clj:79) ~[datomic-pro-0.8.3814.jar:na]
at datomic.kv_cluster$retry_fn.invoke(kv_cluster.clj:79) ~[datomic-pro-0.8.3814.jar:na]
at clojure.lang.AFn.applyToHelper(AFn.java:178) ~[clojure-1.4.0.jar:na]
at clojure.lang.AFn.applyTo(AFn.java:151) ~[clojure-1.4.0.jar:na]
at clojure.core$apply.invoke(core.clj:607) ~[clojure-1.4.0.jar:na]
at clojure.core$partial$fn__4074.doInvoke(core.clj:2347) ~[clojure-1.4.0.jar:na]
at clojure.lang.RestFn.invoke(RestFn.java:421) ~[clojure-1.4.0.jar:na]
at datomic.kv_cluster.KVCluster$fn__1135$fn__1137.invoke(kv_cluster.clj:202) ~[datomic-pro-0.8.3814.jar:na]
at datomic.kv_cluster.KVCluster$fn__1135.invoke(kv_cluster.clj:200) ~[datomic-pro-0.8.3814.jar:na]
at clojure.core$binding_conveyor_fn$fn__3989.invoke(core.clj:1819) ~[clojure-1.4.0.jar:na]
at clojure.lang.AFn.call(AFn.java:18) ~[clojure-1.4.0.jar:na]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.6.0_27]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.6.0_27]
at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment