{"action":"opened","issue":{"url":"https://api.github.com/repos/xpqiu/fnlp/issues/34","labels_url":"https://api.github.com/repos/xpqiu/fnlp/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/xpqiu/fnlp/issues/34/comments","events_url":"https://api.github.com/repos/xpqiu/fnlp/issues/34/events","html_url":"https://github.com/xpqiu/fnlp/issues/34","id":125307058,"number":34,"title":"运行Demo异常  基于2015-12-11 Qiu修改POM之后的版本","user":{"login":"CodingLionDargon","id":16380779,"avatar_url":"https://avatars.githubusercontent.com/u/16380779?v=3","gravatar_id":"","url":"https://api.github.com/users/CodingLionDargon","html_url":"https://github.com/CodingLionDargon","followers_url":"https://api.github.com/users/CodingLionDargon/followers","following_url":"https://api.github.com/users/CodingLionDargon/following{/other_user}","gists_url":"https://api.github.com/users/CodingLionDargon/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingLionDargon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingLionDargon/subscriptions","organizations_url":"https://api.github.com/users/CodingLionDargon/orgs","repos_url":"https://api.github.com/users/CodingLionDargon/repos","events_url":"https://api.github.com/users/CodingLionDargon/events{/privacy}","received_events_url":"https://api.github.com/users/CodingLionDargon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T02:16:18Z","updated_at":"2016-01-07T02:16:18Z","closed_at":null,"body":"运行NLP test时异常\r\n模型文件读入错误： ../models/pos.m\r\njava.io.EOFException: Unexpected end of ZLIB input stream\r\n\tat java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)\r\n\tat java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)\r\n\tat java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116)\r\n\tat java.io.BufferedInputStream.fill(BufferedInputStream.java:235)\r\n\tat java.io.BufferedInputStream.read1(BufferedInputStream.java:275)\r\n\tat java.io.BufferedInputStream.read(BufferedInputStream.java:334)\r\n\tat java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2310)\r\n\tat java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2323)\r\n\tat java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3063)\r\n\tat java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2864)\r\n\tat java.io.ObjectInputStream.readString(ObjectInputStream.java:1638)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341)\r\n\tat java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n\tat gnu.trove.map.custom_hash.TObjectIntCustomHashMap.readExternal(TObjectIntCustomHashMap.java:1139)\r\n\tat java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1837)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n\tat java.util.HashMap.readObject(HashMap.java:1180)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n\tat org.fnlp.nlp.cn.tag.AbstractTagger.loadFrom(AbstractTagger.java:205)\r\n\tat org.fnlp.nlp.cn.tag.AbstractTagger.<init>(AbstractTagger.java:73)\r\n\tat org.fnlp.nlp.cn.tag.POSTagger.<init>(POSTagger.java:114)\r\n\tat org.fnlp.demo.nlp.PartsOfSpeechTag.main(PartsOfSpeechTag.java:45)\r\n\tat org.fnlp.demo.NLPTest.test(NLPTest.java:33)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)\r\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\r\n\tat org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309)\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:160)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)\r\n\r\norg.fnlp.util.exception.LoadModelException: java.io.EOFException: Unexpected end of ZLIB input stream\r\n\tat org.fnlp.nlp.cn.tag.AbstractTagger.loadFrom(AbstractTagger.java:208)\r\n\tat org.fnlp.nlp.cn.tag.AbstractTagger.<init>(AbstractTagger.java:73)\r\n\tat org.fnlp.nlp.cn.tag.POSTagger.<init>(POSTagger.java:114)\r\n\tat org.fnlp.demo.nlp.PartsOfSpeechTag.main(PartsOfSpeechTag.java:45)\r\n\tat org.fnlp.demo.NLPTest.test(NLPTest.java:33)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)\r\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\r\n\tat org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309)\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:160)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)\r\nCaused by: java.io.EOFException: Unexpected end of ZLIB input stream\r\n\tat java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)\r\n\tat java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)\r\n\tat java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116)\r\n\tat java.io.BufferedInputStream.fill(BufferedInputStream.java:235)\r\n\tat java.io.BufferedInputStream.read1(BufferedInputStream.java:275)\r\n\tat java.io.BufferedInputStream.read(BufferedInputStream.java:334)\r\n\tat java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2310)\r\n\tat java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2323)\r\n\tat java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3063)\r\n\tat java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2864)\r\n\tat java.io.ObjectInputStream.readString(ObjectInputStream.java:1638)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1341)\r\n\tat java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n\tat gnu.trove.map.custom_hash.TObjectIntCustomHashMap.readExternal(TObjectIntCustomHashMap.java:1139)\r\n\tat java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1837)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1796)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n\tat java.util.HashMap.readObject(HashMap.java:1180)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1990)\r\n\tat java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1915)\r\n\tat java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)\r\n\tat java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)\r\n\tat java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)\r\n\tat org.fnlp.nlp.cn.tag.AbstractTagger.loadFrom(AbstractTagger.java:205)\r\n\t... 32 more"}}