Re: [Jolie-devel] java.lang.ClassNotFoundException: org.json.simple.parser.ParseException
A service-oriented programming language.
Brought to you by:
fmontesi
From: Fabrizio M. <fam...@gm...> - 2014-01-29 12:25:12
|
Should be fixed now, give it a try! Cheers, Fabrizio. On Sat, Jan 25, 2014 at 12:38 PM, Fabrizio Montesi <fam...@gm...> wrote: > I gave it a first try but not yet. I plan on tackling it again on Monday and > maybe Tuesday. > > Cheers, > Fabrizio. > > Sent from my phone. > > On Jan 24, 2014 3:49 PM, "Matthias Dieter Wallnöfer" <mwa...@ya...> > wrote: >> >> Fabrizio, >> >> I just wanted to ask if you figured out already something? >> >> Cheers, >> Matthias >> >> Matthias Dieter Wallnöfer schrieb: >> > Hi Fabrizio, >> > >> > now I have managed to get a stub of my simulation which triggers this >> > issue. >> > >> > First you have to start tinyClient.ol and then in another window >> > eventManager.ol. When I have protocol "sodep", each one displays >> > "Simulation ready" and both of them hang - which is correct in this >> > case. >> > If I change the four protocol specifications (2 in tinyClient.ol, 2 in >> > eventManager.ol) to "jsonrpc" I get exceptions on both sides. >> > >> > I hope this helps! >> > >> > Cheers, >> > Matthias >> > >> > Fabrizio Montesi schrieb: >> >> Hi Matthias, >> >> could you send me a small program that triggers this? >> >> >> >> Cheers, >> >> Fabrizio. >> >> >> >> On Sun, Jan 12, 2014 at 9:44 PM, Matthias Dieter Wallnöfer >> >> <mwa...@ya...> wrote: >> >>> Hi Fabrizio & co, >> >>> >> >>> by experimenting always with the same code I face another issue if I >> >>> change the protocol to be "jsonrpc" rather than "sodep". >> >>> >> >>> I am getting this very odd exception. I can not understand it since >> >>> class "org.json.simple.parser.ParseException" is available in >> >>> /opt/jolie/lib/json_simple.jar - and the JSON parsing code seems to be >> >>> found. >> >>> >> >>> Cheers, >> >>> Matthias >> >>> >> >>>> Exception in thread "tinyClient.ol-JolieThread-3" >> >>>> java.lang.NoClassDefFoundError: org/json/simple/parser/ParseException >> >>>> at jolie.net.JsonRpcProtocol.recv(JsonRpcProtocol.java:102) >> >>>> at >> >>>> jolie.net.SocketCommChannel.recvImpl(SocketCommChannel.java:92) >> >>>> at jolie.net.CommChannel.recv(CommChannel.java:194) >> >>>> at >> >>>> jolie.net.CommCore$CommChannelHandlerRunnable.run(CommCore.java:602) >> >>>> at >> >>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> >>>> at >> >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> >>>> at java.lang.Thread.run(Thread.java:744) >> >>>> Caused by: java.lang.ClassNotFoundException: >> >>>> org.json.simple.parser.ParseException >> >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >> >>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >> >>>> at java.security.AccessController.doPrivileged(Native Method) >> >>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >> >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >> >>>> at >> >>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) >> >>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >> >>>> at >> >>>> jolie.JolieClassLoader.loadClass(JolieClassLoader.java:107) >> >>>> ... 7 more >> >>> >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> > Learn Why More Businesses Are Choosing CenturyLink Cloud For >> > Critical Workloads, Development Environments & Everything In Between. >> > Get a Quote or Start a Free Trial Today. >> > >> > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> > >> > >> > >> > _______________________________________________ >> > Jolie-devel mailing list >> > Jol...@li... >> > https://lists.sourceforge.net/lists/listinfo/jolie-devel >> > >> > |