edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "edu/stanford/nlp/models/srparser/englishSR.ser.gz" as class path, filename or URL

GitHub | hassanz | 4 months ago
  1. 0

    GitHub comment 238#237346875

    GitHub | 4 months ago | hassanz
    edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "edu/stanford/nlp/models/srparser/englishSR.ser.gz" as class path, filename or URL
  2. 0

    GitHub comment 238#237349700

    GitHub | 4 months ago | gangeli
    edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "edu/stanford/nlp/models/srparser/englishSR.ser.gz" as class path, filename or URL
  3. 0

    DependenSee: A Dependency Parse Visualisation/Visualization Tool – chaoticity

    chaoticity.com | 4 months ago
    java.io.IOException: Unable to open “edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz” as class path, filename or URL
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DependenSee: A Dependency Parse Visualisation/Visualization Tool – chaoticity

    chaoticity.com | 4 months ago
    java.io.IOException: Unable to open “edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz” as class path, filename or URL
  6. 0

    GitHub comment 49#264394878

    GitHub | 7 days ago | JSB97
    edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz" as class path, filename or URL

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unable to open "edu/stanford/nlp/models/srparser/englishSR.ser.gz" as class path, filename or URL

      at edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem()
    2. Stanford CoreNLP
      StanfordCoreNLPServer$CoreNLPHandler.handle
      1. edu.stanford.nlp.io.IOUtils.getInputStreamFromURLOrClasspathOrFileSystem(IOUtils.java:478)
      2. edu.stanford.nlp.io.IOUtils.readObjectFromURLOrClasspathOrFileSystem(IOUtils.java:317)
      3. edu.stanford.nlp.parser.common.ParserGrammar.loadModel(ParserGrammar.java:184)
      4. edu.stanford.nlp.pipeline.ParserAnnotator.loadModel(ParserAnnotator.java:217)
      5. edu.stanford.nlp.pipeline.ParserAnnotator.<init>(ParserAnnotator.java:119)
      6. edu.stanford.nlp.pipeline.AnnotatorImplementations.parse(AnnotatorImplementations.java:154)
      7. edu.stanford.nlp.pipeline.AnnotatorFactories$11.create(AnnotatorFactories.java:357)
      8. edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:120)
      9. edu.stanford.nlp.pipeline.StanfordCoreNLP.construct(StanfordCoreNLP.java:452)
      10. edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:155)
      11. edu.stanford.nlp.pipeline.StanfordCoreNLP.<init>(StanfordCoreNLP.java:146)
      12. edu.stanford.nlp.pipeline.StanfordCoreNLPServer.mkStanfordCoreNLP(StanfordCoreNLPServer.java:231)
      13. edu.stanford.nlp.pipeline.StanfordCoreNLPServer.access$500(StanfordCoreNLPServer.java:41)
      14. edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:477)
      14 frames
    3. Java RT
      Thread.run
      1. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      2. sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
      3. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
      4. sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
      5. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      6. sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
      7. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      9. java.lang.Thread.run(Thread.java:745)
      9 frames