Runtime environment issue
Etienne Brouillard <[email protected]> Mon, 16 Mar 2015 10:53:05 -0400
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm running Stanford NLP.Net using IKVM and running into this issue: Unable to cast object of type 'java.util.PropertyResourceBundle' to type 'sun.util.resources.OpenListResourceBundle'. at edu.stanford.nlp.util.Timing..ctor() at edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromSerializedFile(String serializedFileOrUrl) at edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromFile(String parserFileOrUrl, Options op) at edu.stanford.nlp.parser.lexparser.LexicalizedParser.loadModel(String parserFileOrUrl, Options op, String[] extraFlags) at edu.stanford.nlp.parser.lexparser.LexicalizedParser.loadModel(String parserFileOrUrl, String[] extraFlags) at RobotsAndFruits.Feathery.Nlp.StanfordNlpParser.Initialize() in c:\...\StanfordNlpParser.cs:line 118 The code runs fine when in a classic Console App on .Net 4.5 but it fails with this error in automated unit tests or when used in an Azure Website Webjob (http://www.hanselman.com/blog/IntroducingWindowsAzureWebJobs.aspx). So I wouldn't suspect it's a Stanford NLP issue in the first place but likely a runtime problem. I'm running v8.0.5449.1 on runtime version v2.0.50727 I would appreciate if I could get a hand with this problem. Of course, if you need any details or would more input I'll be glad to oblige. Cheers, Étienne ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers