{"action":"opened","issue":{"url":"https://api.github.com/repos/gnieh/diffson/issues/75","repository_url":"https://api.github.com/repos/gnieh/diffson","labels_url":"https://api.github.com/repos/gnieh/diffson/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/gnieh/diffson/issues/75/comments","events_url":"https://api.github.com/repos/gnieh/diffson/issues/75/events","html_url":"https://github.com/gnieh/diffson/issues/75","id":319852992,"number":75,"title":"AbstractMethodError in 3.0.0","user":{"login":"ludovicc","id":104937,"avatar_url":"https://avatars2.githubusercontent.com/u/104937?v=4","gravatar_id":"","url":"https://api.github.com/users/ludovicc","html_url":"https://github.com/ludovicc","followers_url":"https://api.github.com/users/ludovicc/followers","following_url":"https://api.github.com/users/ludovicc/following{/other_user}","gists_url":"https://api.github.com/users/ludovicc/gists{/gist_id}","starred_url":"https://api.github.com/users/ludovicc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludovicc/subscriptions","organizations_url":"https://api.github.com/users/ludovicc/orgs","repos_url":"https://api.github.com/users/ludovicc/repos","events_url":"https://api.github.com/users/ludovicc/events{/privacy}","received_events_url":"https://api.github.com/users/ludovicc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T09:47:45Z","updated_at":"2018-05-03T09:47:45Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI have a script that throws an AbstractMethodError when using Diffson 3.0.0, yet it works perfectly with version 2.2.1\r\n\r\n```\r\n../meta-db-setup/apply-patch.amm variables.json my.patch.json                                   master \r\nCompiling /home/ludo/Projects/HBP/reference/meta-db-setup/apply-patch.amm\r\njava.lang.AbstractMethodError\r\n  jawn.CharBasedParser.parseString(CharBasedParser.scala:90)\r\n  jawn.CharBasedParser.parseString$(CharBasedParser.scala:87)\r\n  jawn.StringParser.parseString(StringParser.scala:15)\r\n  jawn.Parser.rparse(Parser.scala:428)\r\n  jawn.Parser.parse(Parser.scala:337)\r\n  jawn.SyncParser.parse(SyncParser.scala:24)\r\n  jawn.SupportParser.$anonfun$parseFromString$1(SupportParser.scala:15)\r\n  jawn.SupportParser.parseFromString(SupportParser.scala:15)\r\n  jawn.SupportParser.parseFromString$(SupportParser.scala:14)\r\n  io.circe.jawn.CirceSupportParser$.parseFromString(CirceSupportParser.scala:7)\r\n  io.circe.jawn.JawnParser.parse(JawnParser.scala:16)\r\n  gnieh.diffson.CirceInstance$provider$.parseJson(CirceInstance.scala:158)\r\n  gnieh.diffson.CirceInstance$provider$.parseJson(CirceInstance.scala:132)\r\n  gnieh.diffson.JsonPatchSupport$JsonPatch$.parse(JsonPatchSupport.scala:55)\r\n  ammonite.$file.$up.meta$minusdb$minussetup.apply$minuspatch$.main(apply-patch.amm:11)\r\n  ammonite.$file.$up.meta$minusdb$minussetup.apply$minuspatch$$routes$.$anonfun$apply$3(apply-patch.amm:23)\r\n  ammonite.main.Router$EntryPoint.invoke(Router.scala:135)\r\n\r\n```\r\n\r\nMy script:\r\n\r\n```\r\n#!/usr/bin/env amm\r\n\r\nimport $ivy.`org.gnieh::diffson-circe:2.2.1`, gnieh.diffson.circe._\r\nimport $ivy.`com.lihaoyi::ammonite-ops:1.0.0`, ammonite.ops._\r\n\r\n@main\r\ndef main(targetJsonFile: String = \"variables.json\", patchFile: String = \"my.patch.json\"): Unit = {\r\n\r\n  val mipVariables = read! pwd/RelPath(\"../mip-cde-meta-db-setup/variables.json\")\r\n  val rawPatch = read! pwd/patchFile\r\n  val patch = JsonPatch.parse(rawPatch)\r\n\r\n  val patchedVariables = patch(mipVariables)\r\n\r\n  write(pwd/targetJsonFile, patchedVariables.toString)\r\n}\r\n```\r\n\r\nTested with Ammonite 1.0.0 and Ammonite 1.1.0\r\n"}}
{"actor":{"display_login":"ludovicc"}}