{"action":"created","issue":{"url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/130","repository_url":"https://api.github.com/repos/CrossRef/rest-api-doc","labels_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/130/comments","events_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/130/events","html_url":"https://github.com/CrossRef/rest-api-doc/issues/130","id":159000233,"number":130,"title":"intermittent unexpected error when looking up citation for doi","user":{"login":"jhpoelen","id":1084872,"avatar_url":"https://avatars.githubusercontent.com/u/1084872?v=3","gravatar_id":"","url":"https://api.github.com/users/jhpoelen","html_url":"https://github.com/jhpoelen","followers_url":"https://api.github.com/users/jhpoelen/followers","following_url":"https://api.github.com/users/jhpoelen/following{/other_user}","gists_url":"https://api.github.com/users/jhpoelen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhpoelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhpoelen/subscriptions","organizations_url":"https://api.github.com/users/jhpoelen/orgs","repos_url":"https://api.github.com/users/jhpoelen/repos","events_url":"https://api.github.com/users/jhpoelen/events{/privacy}","received_events_url":"https://api.github.com/users/jhpoelen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-07T19:06:27Z","updated_at":"2016-07-26T09:48:46Z","closed_at":null,"body":"When looking up citations for doi , unexpected errors are observed. See attached logfile for details. Possible regression of #93 .\r\n\r\n2016-06-07 20:15:35,515 [main] WARN  org.eol.globi.service.DOIResolverImpl - failed to retrieve citation using [http://dx.doi.org/10.1093/plankt/2.2.129]: code [500]:[Internal Server Error]; content [<!DOCTYPE html>\r\n<html><head><title>Ring: Stacktrace</title><style type=\"text/css\">/*\r\nCopyright (c) 2008, Yahoo! Inc. All rights reserved.\r\nCode licensed under the BSD License:\r\nhttp://developer.yahoo.net/yui/license.txt\r\nversion: 2.6.0\r\n*/\r\nhtml{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}del,ins{text-decoration:none;}\r\n\r\nh3.info {\r\n font-size: 1.6em; \r\n margin-left: 1em;\r\n padding-top: .5em;\r\n padding-bottom: .5em;\r\n}\r\n\r\ntable.trace {\r\n  font-size: 1.1em;\r\n  margin-left: 1em;\r\n  background: lightgrey;\r\n}\r\n\r\ntable.trace tr {\r\n  line-height: 1.4em;\r\n}\r\n\r\ntable.trace td.method {\r\n  padding-left: .5em;\r\n  text-aligh: left;\r\n}\r\n\r\ntable.trace td.source {\r\n  text-align: right;\r\n}\r\n</style></head><body><div id=\"exception\"><h3 class=\"info\">java.lang.RuntimeException: Invalid bundled javascript file</h3><table class=\"trace\"><tbody><tr><td class=\"source\">CSL.java:168</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr><tr><td class=\"source\">CSL.java:130</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr><tr><td class=\"source\">CSL.java:94</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr><tr><td class=\"source\">(Unknown Source)</td><td class=\"method\">sun.reflect.GeneratedConstructorAccessor15.newInstance</td></tr><tr><td class=\"source\">DelegatingConstructorAccessorImpl.java:45</td><td class=\"method\">sun.reflect.DelegatingConstructorAccessorImpl.newInstance</td></tr><tr><td class=\"source\">Constructor.java:422</td><td class=\"method\">java.lang.reflect.Constructor.newInstance</td></tr><tr><td class=\"source\">Reflector.java:180</td><td class=\"method\">clojure.lang.Reflector.invokeConstructor</td></tr><tr><td class=\"source\">citation.clj:77</td><td class=\"method\">cayenne.formats.citation/-&gt;citation</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">transform.clj:46</td><td class=\"method\">cayenne.api.transform/eval13603[fn]</td></tr><tr><td class=\"source\">MultiFn.java:231</td><td class=\"method\">clojure.lang.MultiFn.invoke</td></tr><tr><td class=\"source\">routes.clj:266</td><td class=\"method\">cayenne.api.v1.routes/work-transform-resource[fn]</td></tr><tr><td class=\"source\">core.clj:190</td><td class=\"method\">liberator.core/run-handler</td></tr><tr><td class=\"source\">core.clj:244</td><td class=\"method\">liberator.core/handle-ok</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:250</td><td class=\"method\">liberator.core/multiple-representations?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:317</td><td class=\"method\">liberator.core/put-to-existing?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:320</td><td class=\"method\">liberator.core/post-to-existing?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:329</td><td class=\"method\">liberator.core/method-patch?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:332</td><td class=\"method\">liberator.core/method-delete?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:352</td><td class=\"method\">liberator.core/if-modified-since-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:369</td><td class=\"method\">liberator.core/if-none-match-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:389</td><td class=\"method\">liberator.core/if-unmodified-since-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:403</td><td class=\"method\">liberator.core/if-match-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:406</td><td class=\"method\">liberator.core/exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:409</td><td class=\"method\">liberator.core/processable?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:413</td><td class=\"method\">liberator.core/encoding-available?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:428</td><td class=\"method\">liberator.core/accept-encoding-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:441</td><td class=\"method\">liberator.core/accept-charset-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:455</td><td class=\"method\">liberator.core/accept-language-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:465</td><td class=\"method\">liberator.core/media-type-available?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:468</td><td class=\"method\">liberator.core/accept-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:485</td><td class=\"method\">liberator.core/is-options?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:488</td><td class=\"method\">liberator.core/valid-entity-length?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:491</td><td class=\"method\">liberator.core/known-content-type?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:493</td><td class=\"method\">liberator.core/valid-content-header?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:496</td><td class=\"method\">liberator.core/allowed?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:499</td><td class=\"method\">liberator.core/authorized?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:502</td><td class=\"method\">liberator.core/malformed?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:505</td><td class=\"method\">liberator.core/method-allowed?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:508</td><td class=\"method\">liberator.core/uri-too-long?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:511</td><td class=\"method\">liberator.core/known-method?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:514</td><td class=\"method\">liberator.core/service-available?</td></tr><tr><td class=\"source\">core.clj:601</td><td class=\"method\">liberator.core/run-resource</td></tr><tr><td class=\"source\">routes.clj:255</td><td class=\"method\">cayenne.api.v1.routes/work-transform-resource[fn]</td></tr><tr><td class=\"source\">response.clj:27</td><td class=\"method\">compojure.response/eval16731[fn]</td></tr><tr><td class=\"source\">response.clj:10</td><td class=\"method\">compojure.response/eval16692[fn]</td></tr><tr><td class=\"source\">core.clj:93</td><td class=\"method\">compojure.core/make-route[fn]</td></tr><tr><td class=\"source\">core.clj:39</td><td class=\"method\">compojure.core/if-route[fn]</td></tr><tr><td class=\"source\">core.clj:24</td><td class=\"method\">compojure.core/if-method[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">core.clj:111</td><td class=\"method\">compojure.core/routes[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:423</td><td class=\"method\">clojure.lang.RestFn.invoke</td></tr><tr><td class=\"source\">route.clj:45</td><td class=\"method\">cayenne.api.route/create-unprotected-api-routes[fn]</td></tr><tr><td class=\"source\">core.clj:164</td><td class=\"method\">compojure.core/wrap-context[fn]</td></tr><tr><td class=\"source\">core.clj:39</td><td class=\"method\">compojure.core/if-route[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">core.clj:111</td><td class=\"method\">compojure.core/routes[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">core.clj:111</td><td class=\"method\">compojure.core/routes[fn]</td></tr><tr><td class=\"source\">logstash.clj:110</td><td class=\"method\">ring.middleware.logstash/wrap-logstash[fn]</td></tr><tr><td class=\"source\">keyword_params.clj:27</td><td class=\"method\">ring.middleware.keyword-params/wrap-keyword-params[fn]</td></tr><tr><td class=\"source\">nested_params.clj:65</td><td class=\"method\">ring.middleware.nested-params/wrap-nested-params[fn]</td></tr><tr><td class=\"source\">params.clj:55</td><td class=\"method\">ring.middleware.params/wrap-params[fn]</td></tr><tr><td class=\"source\">route.clj:86</td><td class=\"method\">cayenne.api.route/wrap-cors[fn]</td></tr><tr><td class=\"source\">expose.clj:94</td><td class=\"method\">metrics.ring.expose/expose-metrics-as-json[fn]</td></tr><tr><td class=\"source\">instrument.clj:44</td><td class=\"method\">metrics.ring.instrument/instrument[fn]</td></tr><tr><td class=\"source\">(Unknown Source)</td><td class=\"method\">metrics.ring.instrument.proxy$java.lang.Object$Callable$7da976d4.call</td></tr><tr><td class=\"source\">Timer.java:91</td><td class=\"method\">com.yammer.metrics.core.Timer.time</td></tr><tr><td class=\"source\">instrument.clj:43</td><td class=\"method\">metrics.ring.instrument/instrument[fn]</td></tr><tr><td class=\"source\">ring.clj:18</td><td class=\"method\">heartbeat.ring/wrap-heartbeat[fn]</td></tr><tr><td class=\"source\">stacktrace.clj:79</td><td class=\"method\">ring.middleware.stacktrace/wrap-stacktrace-web[fn]</td></tr><tr><td class=\"source\">conneg.clj:51</td><td class=\"method\">cayenne.api.conneg/wrap-accept[fn]</td></tr><tr><td class=\"source\">RingHandler.java:91</td><td class=\"method\">org.httpkit.server.HttpHandler.run</td></tr><tr><td class=\"source\">Executors.java:511</td><td class=\"method\">java.util.concurrent.Executors$RunnableAdapter.call</td></tr><tr><td class=\"source\">FutureTask.java:266</td><td class=\"method\">java.util.concurrent.FutureTask.run</td></tr><tr><td class=\"source\">ThreadPoolExecutor.java:1142</td><td class=\"method\">java.util.concurrent.ThreadPoolExecutor.runWorker</td></tr><tr><td class=\"source\">ThreadPoolExecutor.java:617</td><td class=\"method\">java.util.concurrent.ThreadPoolExecutor$Worker.run</td></tr><tr><td class=\"source\">Thread.java:745</td><td class=\"method\">java.lang.Thread.run</td></tr></tbody></table></div><div id=\"causes\"><h3 class=\"info\">Caused by: de.undercouch.citeproc.script.ScriptRunnerException Could not evaluate code</h3><table class=\"trace\"><tbody><tr><td class=\"source\">JREScriptRunner.java:60</td><td class=\"method\">de.undercouch.citeproc.script.JREScriptRunner.eval</td></tr><tr><td class=\"source\">AbstractScriptRunner.java:32</td><td class=\"method\">de.undercouch.citeproc.script.AbstractScriptRunner.loadScript</td></tr><tr><td class=\"source\">CSL.java:162</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr></tbody></table></div><div id=\"causes\"><h3 class=\"info\">Caused by: javax.script.ScriptException &lt;eval&gt;:59:4 Expected an operand but found default\r\n    default xml namespace = &quot;http://purl.org/net/xbiblio/csl&quot;; with({});\r\n    ^ in &lt;eval&gt; at line number 59 at column number 4</h3><table class=\"trace\"><tbody><tr><td class=\"source\">NashornScriptEngine.java:467</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException</td></tr><tr><td class=\"source\">NashornScriptEngine.java:534</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl</td></tr><tr><td class=\"source\">NashornScriptEngine.java:521</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl</td></tr><tr><td class=\"source\">NashornScriptEngine.java:399</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl</td></tr><tr><td class=\"source\">NashornScriptEngine.java:150</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.eval</td></tr><tr><td class=\"source\">AbstractScriptEngine.java:249</td><td class=\"method\">javax.script.AbstractScriptEngine.eval</td></tr><tr><td class=\"source\">JREScriptRunner.java:58</td><td class=\"method\">de.undercouch.citeproc.script.JREScriptRunner.eval</td></tr></tbody></table></div><div id=\"causes\"><h3 class=\"info\">Caused by: jdk.nashorn.internal.runtime.ParserException &lt;eval&gt;:59:4 Expected an operand but found default\r\n    default xml namespace = &quot;http://purl.org/net/xbiblio/csl&quot;; with({});\r\n    ^</h3><table class=\"trace\"><tbody><tr><td class=\"source\">AbstractParser.java:292</td><td class=\"method\">jdk.nashorn.internal.parser.AbstractParser.error</td></tr><tr><td class=\"source\">AbstractParser.java:277</td><td class=\"method\">jdk.nashorn.internal.parser.AbstractParser.error</td></tr><tr><td class=\"source\">Parser.java:3179</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.unaryExpression</td></tr><tr><td class=\"source\">Parser.java:3279</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expression</td></tr><tr><td class=\"source\">Parser.java:1152</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expressionStatement</td></tr><tr><td class=\"source\">Parser.java:969</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.statement</td></tr><tr><td class=\"source\">Parser.java:775</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.sourceElements</td></tr><tr><td class=\"source\">Parser.java:2898</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.functionBody</td></tr><tr><td class=\"source\">Parser.java:2665</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.functionExpression</td></tr><tr><td class=\"source\">Parser.java:2508</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.memberExpression</td></tr><tr><td class=\"source\">Parser.java:2374</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.leftHandSideExpression</td></tr><tr><td class=\"source\">Parser.java:3144</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.unaryExpression</td></tr><tr><td class=\"source\">Parser.java:3322</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expression</td></tr><tr><td class=\"source\">Parser.java:3279</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expression</td></tr><tr><td class=\"source\">Parser.java:1152</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expressionStatement</td></tr><tr><td class=\"source\">Parser.java:969</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.statement</td></tr><tr><td class=\"source\">Parser.java:775</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.sourceElements</td></tr><tr><td class=\"source\">Parser.java:711</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.program</td></tr><tr><td class=\"source\">Parser.java:284</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.parse</td></tr><tr><td class=\"source\">Parser.java:250</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.parse</td></tr><tr><td class=\"source\">Context.java:1281</td><td class=\"method\">jdk.nashorn.internal.runtime.Context.compile</td></tr><tr><td class=\"source\">Context.java:1248</td><td class=\"method\">jdk.nashorn.internal.runtime.Context.compileScript</td></tr><tr><td class=\"source\">Context.java:629</td><td class=\"method\">jdk.nashorn.internal.runtime.Context.compileScript</td></tr><tr><td class=\"source\">NashornScriptEngine.java:532</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl</td></tr></tbody></table></div></body></html>]\r\n2016-06-07 20:15:42,151 [main] WARN  org.eol.globi.service.DOIResolverImpl - failed to retrieve citation using [http://dx.doi.org/10.1006/jmsc.1995.0084]: code [500]:[Internal Server Error]; content [<!DOCTYPE html>\r\n<html><head><title>Ring: Stacktrace</title><style type=\"text/css\">/*\r\nCopyright (c) 2008, Yahoo! Inc. All rights reserved.\r\nCode licensed under the BSD License:\r\nhttp://developer.yahoo.net/yui/license.txt\r\nversion: 2.6.0\r\n*/\r\nhtml{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}del,ins{text-decoration:none;}\r\n\r\nh3.info {\r\n font-size: 1.6em; \r\n margin-left: 1em;\r\n padding-top: .5em;\r\n padding-bottom: .5em;\r\n}\r\n\r\ntable.trace {\r\n  font-size: 1.1em;\r\n  margin-left: 1em;\r\n  background: lightgrey;\r\n}\r\n\r\ntable.trace tr {\r\n  line-height: 1.4em;\r\n}\r\n\r\ntable.trace td.method {\r\n  padding-left: .5em;\r\n  text-aligh: left;\r\n}\r\n\r\ntable.trace td.source {\r\n  text-align: right;\r\n}\r\n</style></head><body><div id=\"exception\"><h3 class=\"info\">java.lang.RuntimeException: Invalid bundled javascript file</h3><table class=\"trace\"><tbody><tr><td class=\"source\">CSL.java:168</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr><tr><td class=\"source\">CSL.java:130</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr><tr><td class=\"source\">CSL.java:94</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr><tr><td class=\"source\">(Unknown Source)</td><td class=\"method\">sun.reflect.GeneratedConstructorAccessor15.newInstance</td></tr><tr><td class=\"source\">DelegatingConstructorAccessorImpl.java:45</td><td class=\"method\">sun.reflect.DelegatingConstructorAccessorImpl.newInstance</td></tr><tr><td class=\"source\">Constructor.java:422</td><td class=\"method\">java.lang.reflect.Constructor.newInstance</td></tr><tr><td class=\"source\">Reflector.java:180</td><td class=\"method\">clojure.lang.Reflector.invokeConstructor</td></tr><tr><td class=\"source\">citation.clj:77</td><td class=\"method\">cayenne.formats.citation/-&gt;citation</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">transform.clj:46</td><td class=\"method\">cayenne.api.transform/eval13603[fn]</td></tr><tr><td class=\"source\">MultiFn.java:231</td><td class=\"method\">clojure.lang.MultiFn.invoke</td></tr><tr><td class=\"source\">routes.clj:266</td><td class=\"method\">cayenne.api.v1.routes/work-transform-resource[fn]</td></tr><tr><td class=\"source\">core.clj:190</td><td class=\"method\">liberator.core/run-handler</td></tr><tr><td class=\"source\">core.clj:244</td><td class=\"method\">liberator.core/handle-ok</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:250</td><td class=\"method\">liberator.core/multiple-representations?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:317</td><td class=\"method\">liberator.core/put-to-existing?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:320</td><td class=\"method\">liberator.core/post-to-existing?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:329</td><td class=\"method\">liberator.core/method-patch?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:332</td><td class=\"method\">liberator.core/method-delete?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:352</td><td class=\"method\">liberator.core/if-modified-since-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:369</td><td class=\"method\">liberator.core/if-none-match-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:389</td><td class=\"method\">liberator.core/if-unmodified-since-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:403</td><td class=\"method\">liberator.core/if-match-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:406</td><td class=\"method\">liberator.core/exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:409</td><td class=\"method\">liberator.core/processable?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:413</td><td class=\"method\">liberator.core/encoding-available?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:428</td><td class=\"method\">liberator.core/accept-encoding-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:441</td><td class=\"method\">liberator.core/accept-charset-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:455</td><td class=\"method\">liberator.core/accept-language-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:465</td><td class=\"method\">liberator.core/media-type-available?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:468</td><td class=\"method\">liberator.core/accept-exists?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:485</td><td class=\"method\">liberator.core/is-options?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:488</td><td class=\"method\">liberator.core/valid-entity-length?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:491</td><td class=\"method\">liberator.core/known-content-type?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:493</td><td class=\"method\">liberator.core/valid-content-header?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:496</td><td class=\"method\">liberator.core/allowed?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:499</td><td class=\"method\">liberator.core/authorized?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:502</td><td class=\"method\">liberator.core/malformed?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:505</td><td class=\"method\">liberator.core/method-allowed?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:508</td><td class=\"method\">liberator.core/uri-too-long?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:511</td><td class=\"method\">liberator.core/known-method?</td></tr><tr><td class=\"source\">core.clj:103</td><td class=\"method\">liberator.core/decide</td></tr><tr><td class=\"source\">core.clj:514</td><td class=\"method\">liberator.core/service-available?</td></tr><tr><td class=\"source\">core.clj:601</td><td class=\"method\">liberator.core/run-resource</td></tr><tr><td class=\"source\">routes.clj:255</td><td class=\"method\">cayenne.api.v1.routes/work-transform-resource[fn]</td></tr><tr><td class=\"source\">response.clj:27</td><td class=\"method\">compojure.response/eval16731[fn]</td></tr><tr><td class=\"source\">response.clj:10</td><td class=\"method\">compojure.response/eval16692[fn]</td></tr><tr><td class=\"source\">core.clj:93</td><td class=\"method\">compojure.core/make-route[fn]</td></tr><tr><td class=\"source\">core.clj:39</td><td class=\"method\">compojure.core/if-route[fn]</td></tr><tr><td class=\"source\">core.clj:24</td><td class=\"method\">compojure.core/if-method[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">core.clj:111</td><td class=\"method\">compojure.core/routes[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:423</td><td class=\"method\">clojure.lang.RestFn.invoke</td></tr><tr><td class=\"source\">route.clj:45</td><td class=\"method\">cayenne.api.route/create-unprotected-api-routes[fn]</td></tr><tr><td class=\"source\">core.clj:164</td><td class=\"method\">compojure.core/wrap-context[fn]</td></tr><tr><td class=\"source\">core.clj:39</td><td class=\"method\">compojure.core/if-route[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">core.clj:111</td><td class=\"method\">compojure.core/routes[fn]</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing[fn]</td></tr><tr><td class=\"source\">core.clj:2515</td><td class=\"method\">clojure.core/some</td></tr><tr><td class=\"source\">core.clj:106</td><td class=\"method\">compojure.core/routing</td></tr><tr><td class=\"source\">RestFn.java:139</td><td class=\"method\">clojure.lang.RestFn.applyTo</td></tr><tr><td class=\"source\">core.clj:626</td><td class=\"method\">clojure.core/apply</td></tr><tr><td class=\"source\">core.clj:111</td><td class=\"method\">compojure.core/routes[fn]</td></tr><tr><td class=\"source\">logstash.clj:110</td><td class=\"method\">ring.middleware.logstash/wrap-logstash[fn]</td></tr><tr><td class=\"source\">keyword_params.clj:27</td><td class=\"method\">ring.middleware.keyword-params/wrap-keyword-params[fn]</td></tr><tr><td class=\"source\">nested_params.clj:65</td><td class=\"method\">ring.middleware.nested-params/wrap-nested-params[fn]</td></tr><tr><td class=\"source\">params.clj:55</td><td class=\"method\">ring.middleware.params/wrap-params[fn]</td></tr><tr><td class=\"source\">route.clj:86</td><td class=\"method\">cayenne.api.route/wrap-cors[fn]</td></tr><tr><td class=\"source\">expose.clj:94</td><td class=\"method\">metrics.ring.expose/expose-metrics-as-json[fn]</td></tr><tr><td class=\"source\">instrument.clj:44</td><td class=\"method\">metrics.ring.instrument/instrument[fn]</td></tr><tr><td class=\"source\">(Unknown Source)</td><td class=\"method\">metrics.ring.instrument.proxy$java.lang.Object$Callable$7da976d4.call</td></tr><tr><td class=\"source\">Timer.java:91</td><td class=\"method\">com.yammer.metrics.core.Timer.time</td></tr><tr><td class=\"source\">instrument.clj:43</td><td class=\"method\">metrics.ring.instrument/instrument[fn]</td></tr><tr><td class=\"source\">ring.clj:18</td><td class=\"method\">heartbeat.ring/wrap-heartbeat[fn]</td></tr><tr><td class=\"source\">stacktrace.clj:79</td><td class=\"method\">ring.middleware.stacktrace/wrap-stacktrace-web[fn]</td></tr><tr><td class=\"source\">conneg.clj:51</td><td class=\"method\">cayenne.api.conneg/wrap-accept[fn]</td></tr><tr><td class=\"source\">RingHandler.java:91</td><td class=\"method\">org.httpkit.server.HttpHandler.run</td></tr><tr><td class=\"source\">Executors.java:511</td><td class=\"method\">java.util.concurrent.Executors$RunnableAdapter.call</td></tr><tr><td class=\"source\">FutureTask.java:266</td><td class=\"method\">java.util.concurrent.FutureTask.run</td></tr><tr><td class=\"source\">ThreadPoolExecutor.java:1142</td><td class=\"method\">java.util.concurrent.ThreadPoolExecutor.runWorker</td></tr><tr><td class=\"source\">ThreadPoolExecutor.java:617</td><td class=\"method\">java.util.concurrent.ThreadPoolExecutor$Worker.run</td></tr><tr><td class=\"source\">Thread.java:745</td><td class=\"method\">java.lang.Thread.run</td></tr></tbody></table></div><div id=\"causes\"><h3 class=\"info\">Caused by: de.undercouch.citeproc.script.ScriptRunnerException Could not evaluate code</h3><table class=\"trace\"><tbody><tr><td class=\"source\">JREScriptRunner.java:60</td><td class=\"method\">de.undercouch.citeproc.script.JREScriptRunner.eval</td></tr><tr><td class=\"source\">AbstractScriptRunner.java:32</td><td class=\"method\">de.undercouch.citeproc.script.AbstractScriptRunner.loadScript</td></tr><tr><td class=\"source\">CSL.java:162</td><td class=\"method\">de.undercouch.citeproc.CSL.&lt;init&gt;</td></tr></tbody></table></div><div id=\"causes\"><h3 class=\"info\">Caused by: javax.script.ScriptException &lt;eval&gt;:59:4 Expected an operand but found default\r\n    default xml namespace = &quot;http://purl.org/net/xbiblio/csl&quot;; with({});\r\n    ^ in &lt;eval&gt; at line number 59 at column number 4</h3><table class=\"trace\"><tbody><tr><td class=\"source\">NashornScriptEngine.java:467</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException</td></tr><tr><td class=\"source\">NashornScriptEngine.java:534</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl</td></tr><tr><td class=\"source\">NashornScriptEngine.java:521</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl</td></tr><tr><td class=\"source\">NashornScriptEngine.java:399</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl</td></tr><tr><td class=\"source\">NashornScriptEngine.java:150</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.eval</td></tr><tr><td class=\"source\">AbstractScriptEngine.java:249</td><td class=\"method\">javax.script.AbstractScriptEngine.eval</td></tr><tr><td class=\"source\">JREScriptRunner.java:58</td><td class=\"method\">de.undercouch.citeproc.script.JREScriptRunner.eval</td></tr></tbody></table></div><div id=\"causes\"><h3 class=\"info\">Caused by: jdk.nashorn.internal.runtime.ParserException &lt;eval&gt;:59:4 Expected an operand but found default\r\n    default xml namespace = &quot;http://purl.org/net/xbiblio/csl&quot;; with({});\r\n    ^</h3><table class=\"trace\"><tbody><tr><td class=\"source\">AbstractParser.java:292</td><td class=\"method\">jdk.nashorn.internal.parser.AbstractParser.error</td></tr><tr><td class=\"source\">AbstractParser.java:277</td><td class=\"method\">jdk.nashorn.internal.parser.AbstractParser.error</td></tr><tr><td class=\"source\">Parser.java:3179</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.unaryExpression</td></tr><tr><td class=\"source\">Parser.java:3279</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expression</td></tr><tr><td class=\"source\">Parser.java:1152</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expressionStatement</td></tr><tr><td class=\"source\">Parser.java:969</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.statement</td></tr><tr><td class=\"source\">Parser.java:775</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.sourceElements</td></tr><tr><td class=\"source\">Parser.java:2898</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.functionBody</td></tr><tr><td class=\"source\">Parser.java:2665</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.functionExpression</td></tr><tr><td class=\"source\">Parser.java:2508</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.memberExpression</td></tr><tr><td class=\"source\">Parser.java:2374</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.leftHandSideExpression</td></tr><tr><td class=\"source\">Parser.java:3144</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.unaryExpression</td></tr><tr><td class=\"source\">Parser.java:3322</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expression</td></tr><tr><td class=\"source\">Parser.java:3279</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expression</td></tr><tr><td class=\"source\">Parser.java:1152</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.expressionStatement</td></tr><tr><td class=\"source\">Parser.java:969</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.statement</td></tr><tr><td class=\"source\">Parser.java:775</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.sourceElements</td></tr><tr><td class=\"source\">Parser.java:711</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.program</td></tr><tr><td class=\"source\">Parser.java:284</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.parse</td></tr><tr><td class=\"source\">Parser.java:250</td><td class=\"method\">jdk.nashorn.internal.parser.Parser.parse</td></tr><tr><td class=\"source\">Context.java:1281</td><td class=\"method\">jdk.nashorn.internal.runtime.Context.compile</td></tr><tr><td class=\"source\">Context.java:1248</td><td class=\"method\">jdk.nashorn.internal.runtime.Context.compileScript</td></tr><tr><td class=\"source\">Context.java:629</td><td class=\"method\">jdk.nashorn.internal.runtime.Context.compileScript</td></tr><tr><td class=\"source\">NashornScriptEngine.java:532</td><td class=\"method\">jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl</td></tr></tbody></table></div></body></html>]\r\n"},"comment":{"url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/comments/235221013","html_url":"https://github.com/CrossRef/rest-api-doc/issues/130#issuecomment-235221013","issue_url":"https://api.github.com/repos/CrossRef/rest-api-doc/issues/130","id":235221013,"user":{"login":"gbilder","id":63948,"avatar_url":"https://avatars.githubusercontent.com/u/63948?v=3","gravatar_id":"","url":"https://api.github.com/users/gbilder","html_url":"https://github.com/gbilder","followers_url":"https://api.github.com/users/gbilder/followers","following_url":"https://api.github.com/users/gbilder/following{/other_user}","gists_url":"https://api.github.com/users/gbilder/gists{/gist_id}","starred_url":"https://api.github.com/users/gbilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbilder/subscriptions","organizations_url":"https://api.github.com/users/gbilder/orgs","repos_url":"https://api.github.com/users/gbilder/repos","events_url":"https://api.github.com/users/gbilder/events{/privacy}","received_events_url":"https://api.github.com/users/gbilder/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T09:48:46Z","updated_at":"2016-07-26T09:48:46Z","body":"I can replicate if I execute following CURL command a few times. \r\n\r\ncurl -LH \"Accept: text/x-bibliography; style=council-of-science-editors; charset=UTF-8\" http://dx.doi.org/10.1017/s0266467499000760\r\n\r\nIt is intermittent and likely to do with one of our instances. Will investigate."}}
{"actor":{"display_login":"gbilder"}}