Re: Runtime environment issue

Etienne Brouillard <[email protected]> Tue, 17 Mar 2015 07:44:17 -0400
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi, you we're right. The issue is that the project using the service is built with a minimal set of dlls and missing some others. I was expecting not having to install the IKVM into my main project but keep it contained in the services library. Is this foreseeable in some near future since it would allow avoiding project dependency bloat in the long run? What still bugs me is that this issue didn't occur with the console project.
 
Cheers,
 
ÉB
 

> From: [email protected]
> To: [email protected]; [email protected]
> Subject: RE: [Ikvm-developers] Runtime environment issue
> Date: Mon, 16 Mar 2015 16:56:21 +0000
> 
> Hi,
> 
> This is caused by missing (or incorrect) IKVM.OpenJDK.*.dll files. Please make sure they are all present (and of the right version) in your site bin directory.
> 
> Regards,
> Jeroen
> 
> > -----Original Message-----
> > From: Etienne Brouillard [mailto:[email protected]]
> > Sent: Monday, March 16, 2015 15:53
> > To: [email protected]
> > Subject: [Ikvm-developers] Runtime environment issue
> > 
> > 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.getParserFromSeriali
> > zedFile(String serializedFileOrUrl)
> >    at
> > edu.stanford.nlp.parser.lexparser.LexicalizedParser.getParserFromFile(St
> > ring 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
> > <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