{"issue":{"created_at":"2011-12-09T20:57:43Z","state":"open","updated_at":"2011-12-10T17:58:07Z","comments":3,"user":{"gravatar_id":"006c7cfdc5bb01dbecb37ec2425165f4","id":28521,"url":"https://api.github.com/users/candera","avatar_url":"https://secure.gravatar.com/avatar/006c7cfdc5bb01dbecb37ec2425165f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"candera"},"body":"# Background\r\n\r\nWhen I was trying to get jEdit and emacs to talk to each other, I was unsuccessful. After some digging, it looks like the jEdit plugin is getting errors back for every edit-file operation. \r\n\r\n# Steps to Reproduce\r\n\r\n* Start a server\r\n* Start jEdit\r\n* Choose \"Link File\" from the CCCP plugin menu\r\n* Type any character\r\n* Observe the entries in the log below\r\n\r\n# Error Log\r\n\r\n<pre>\r\nHandling chunk: (:swank-rpc (swank:init-connection (:protocol \"http\" :host \"localhost\" :port 8585)) 1)\r\nInitializing connection: http://localhost:8585\r\nHandling chunk: (:swank-rpc (swank:link-file \"abc\" \"/home/candera/projects/cccp/Untitled-1\") 2)\r\nLinking file: abc -> /home/candera/projects/cccp/Untitled-1\r\nHandling chunk: (:swank-rpc (swank:edit-file \"/home/candera/projects/cccp/Untitled-1\" (:retain 0 :insert \" \" :retain 0)) 3)\r\nSending chunk: (:return (:abort 201 \"Attempt to build ill-formed operation (ViolationCollector[1: ill-formed: retain item count not positive at original document position 0 / resulting document position 0]): __0; \") 3)\r\n</pre>","assignee":null,"id":2506837,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":18,"title":"'retain item count not positive'","html_url":"https://github.com/djspiewak/cccp/issues/18","closed_at":null,"url":"https://api.github.com/repos/djspiewak/cccp/issues/18","milestone":null},"action":"created","comment":{"created_at":"2011-12-10T17:58:07Z","updated_at":"2011-12-10T17:58:07Z","user":{"gravatar_id":"006c7cfdc5bb01dbecb37ec2425165f4","id":28521,"url":"https://api.github.com/users/candera","avatar_url":"https://secure.gravatar.com/avatar/006c7cfdc5bb01dbecb37ec2425165f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"candera"},"body":"Confirmed. I did an sbt clean and stage in the cccp-jedit-plugin project, checked the filetimes, restarted jEdit, and I get the same error.","id":3092032,"url":"https://api.github.com/repos/djspiewak/cccp/issues/comments/3092032"}}