{"action":"created","issue":{"url":"https://api.github.com/repos/dlwh/epic/issues/27","labels_url":"https://api.github.com/repos/dlwh/epic/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/dlwh/epic/issues/27/comments","events_url":"https://api.github.com/repos/dlwh/epic/issues/27/events","html_url":"https://github.com/dlwh/epic/issues/27","id":56472018,"number":27,"title":"java.io.InvalidClassException on updating to Epic 0.3 and using POS tagger","user":{"login":"malcolmgreaves","id":478161,"avatar_url":"https://avatars.githubusercontent.com/u/478161?v=3","gravatar_id":"","url":"https://api.github.com/users/malcolmgreaves","html_url":"https://github.com/malcolmgreaves","followers_url":"https://api.github.com/users/malcolmgreaves/followers","following_url":"https://api.github.com/users/malcolmgreaves/following{/other_user}","gists_url":"https://api.github.com/users/malcolmgreaves/gists{/gist_id}","starred_url":"https://api.github.com/users/malcolmgreaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcolmgreaves/subscriptions","organizations_url":"https://api.github.com/users/malcolmgreaves/orgs","repos_url":"https://api.github.com/users/malcolmgreaves/repos","events_url":"https://api.github.com/users/malcolmgreaves/events{/privacy}","received_events_url":"https://api.github.com/users/malcolmgreaves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-04T02:39:05Z","updated_at":"2015-02-04T03:32:28Z","closed_at":null,"body":"I upgraded a project I had to use Epic 0.3 and the most recent taggers and parsers. I'm getting a pretty nasty error here:\r\n\r\n    [info]   java.io.InvalidClassException: breeze.linalg.Counter2$$anon$1; local class incompatible: stream classdesc serialVersionUID = -8653601685403516672, local class serialVersionUID = 6118148492784004600\r\n    ...\r\n    [info]   at epic.models.PosTagSelector$.loadTagger(PosTagModelLoader.scala:13)\r\n\r\n    (full stacktrace below)\r\n\r\nIt looks like there's a problem in breeze.lingalg.Counter. Did the API possibly change between this upgrade? Perhaps it's related to the fact that I'm using Spark as well as Epic in my project? Here are all of my dependencies\r\n\r\n    \"org.scalanlp\" %% \"epic\" % \"0.3\",\r\n    \"org.scalanlp\" %% \"epic-parser-en-span\" % \"2015.1.25\",\r\n    \"org.scalanlp\" %% \"epic-ner-en-conll\" % \"2015.1.25\",\r\n    \"org.scalanlp\" %% \"epic-pos-en\" % \"2015.1.25\",\r\n    \"org.apache.spark\" % \"spark-core_2.10\" % \"1.3.0\",\r\n    \"org.apache.spark\" % \"spark-mllib_2.10\" % \"1.3.0\",\r\n\r\nStacktrace:\r\n\r\n    [info]   java.io.InvalidClassException: breeze.linalg.Counter2$$anon$1; local class incompatible: stream classdesc serialVersionUID = -8653601685403516672, local class serialVersionUID = 6118148492784004600\r\n    [info]   at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:621)\r\n    [info]   at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623)\r\n    [info]   at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1774)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1707)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1345)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)\r\n    [info]   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)\r\n    [info]   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)\r\n    [info]   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)\r\n    [info]   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)\r\n    [info]   at epic.models.ClassPathModelLoader.load(ModelLoader.scala:23)\r\n    [info]   at epic.models.DelegatingLoader.load(ModelLoader.scala:33)\r\n    [info]   at epic.models.PosTagSelector$.loadTagger(PosTagModelLoader.scala:13)"},"comment":{"url":"https://api.github.com/repos/dlwh/epic/issues/comments/72784667","html_url":"https://github.com/dlwh/epic/issues/27#issuecomment-72784667","issue_url":"https://api.github.com/repos/dlwh/epic/issues/27","id":72784667,"user":{"login":"malcolmgreaves","id":478161,"avatar_url":"https://avatars.githubusercontent.com/u/478161?v=3","gravatar_id":"","url":"https://api.github.com/users/malcolmgreaves","html_url":"https://github.com/malcolmgreaves","followers_url":"https://api.github.com/users/malcolmgreaves/followers","following_url":"https://api.github.com/users/malcolmgreaves/following{/other_user}","gists_url":"https://api.github.com/users/malcolmgreaves/gists{/gist_id}","starred_url":"https://api.github.com/users/malcolmgreaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malcolmgreaves/subscriptions","organizations_url":"https://api.github.com/users/malcolmgreaves/orgs","repos_url":"https://api.github.com/users/malcolmgreaves/repos","events_url":"https://api.github.com/users/malcolmgreaves/events{/privacy}","received_events_url":"https://api.github.com/users/malcolmgreaves/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T03:32:28Z","updated_at":"2015-02-04T03:32:28Z","body":"I am indeed using 2.10 ! Thanks for catching this."}}