{"action":"closed","issue":{"url":"https://api.github.com/repos/brendano/stanford_corenlp_pywrapper/issues/8","labels_url":"https://api.github.com/repos/brendano/stanford_corenlp_pywrapper/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/brendano/stanford_corenlp_pywrapper/issues/8/comments","events_url":"https://api.github.com/repos/brendano/stanford_corenlp_pywrapper/issues/8/events","html_url":"https://github.com/brendano/stanford_corenlp_pywrapper/issues/8","id":43189312,"number":8,"title":"NoSuchMethodError when parsing","user":{"login":"Romainpaulus","id":2269709,"avatar_url":"https://avatars.githubusercontent.com/u/2269709?v=3","gravatar_id":"","url":"https://api.github.com/users/Romainpaulus","html_url":"https://github.com/Romainpaulus","followers_url":"https://api.github.com/users/Romainpaulus/followers","following_url":"https://api.github.com/users/Romainpaulus/following{/other_user}","gists_url":"https://api.github.com/users/Romainpaulus/gists{/gist_id}","starred_url":"https://api.github.com/users/Romainpaulus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romainpaulus/subscriptions","organizations_url":"https://api.github.com/users/Romainpaulus/orgs","repos_url":"https://api.github.com/users/Romainpaulus/repos","events_url":"https://api.github.com/users/Romainpaulus/events{/privacy}","received_events_url":"https://api.github.com/users/Romainpaulus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-18T23:20:21Z","updated_at":"2015-05-10T17:15:24Z","closed_at":"2015-05-10T17:15:24Z","body":"I am following the README instructions with the Stanford CoreNLP version 3.4. The sockwarp instantiation works well and doesn't give any error, but the command `p.parse_doc(\"hello world. how are you?\")` crashes with the following error:\r\n\r\n```\r\nException in thread \"main\" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(Z)V\r\n\tat com.google.common.collect.Lists.computeArrayListCapacity(Lists.java:105)\r\n\tat com.google.common.collect.Lists.newArrayList(Lists.java:98)\r\n\tat corenlp.Parse.addTokenBasics(Parse.java:143)\r\n\tat corenlp.Parse.processTextDocument(Parse.java:247)\r\n\tat corenlp.PipeCommandRunner.runCommand(PipeCommandRunner.java:128)\r\n\tat corenlp.PipeCommandRunner.socketServerLoop(PipeCommandRunner.java:172)\r\n\tat corenlp.PipeCommandRunner.main(PipeCommandRunner.java:96)\r\n---------------------------------------------------------------------------\r\nerror                                     Traceback (most recent call last)\r\n<ipython-input-4-6b98ff410d82> in <module>()\r\n----> 1 p.parse_doc(\"hello world. how are you?\")\r\n\r\nstanford_corenlp_pywrapper-0.1.0-py2.7.egg/stanford_corenlp_pywrapper/sockwrap.pyc in parse_doc(self, text, timeout)\r\n    131     def parse_doc(self, text, timeout=PARSEDOC_TIMEOUT_SEC):\r\n    132         cmd = \"PARSEDOC\\t%s\" % json.dumps(text)\r\n--> 133         return self.send_command_and_parse_result(cmd, timeout)\r\n    134 \r\n    135     def get_socket(self):\r\n\r\nstanford_corenlp_pywrapper-0.1.0-py2.7.egg/stanford_corenlp_pywrapper/sockwrap.pyc in send_command_and_parse_result(self, cmd, timeout)\r\n    142         try:\r\n    143             self.ensure_proc_is_running()\r\n--> 144             data = self.send_command_and_get_string_result(cmd, timeout)\r\n    145             decoded = None\r\n    146             try:\r\n\r\nstanford_corenlp_pywrapper-0.1.0-py2.7.egg/stanford_corenlp_pywrapper/sockwrap.pyc in send_command_and_get_string_result(self, cmd, timeout)\r\n    165         # java \"long\" is 8 bytes, which python struct calls \"long long\".\r\n    166         # java default byte ordering is big-endian.\r\n--> 167         size_info = struct.unpack('>Q', size_info_str)[0]\r\n    168         data = sock.recv(size_info)\r\n    169         return data\r\n\r\nerror: unpack requires a string argument of length 8\r\n```"}}