Re: [Ikvm-developers] Error using library in LabView
Brought to you by:
jfrijters
|
From: Volker B. <vol...@go...> - 2013-03-04 20:28:56
|
Hi Justin, A UndeclaredThrowableException can be the cause of many different errors. What is the stacktrace of the inner exception? Volker Am 04.03.2013 00:11, schrieb Justin Smith: > It was specific to the "UndeclaredThrowableException" mentioned in the > 6th post. The TrueLicense library traps exceptions all over the place, > so it seems I'm not the only person who had an issue tracking that > down. I did not think the suggested fix of"addBootClassPathAssemby" > would have applied to my situation, since I merged all of my jars, > obfuscated, then IKVMC the obfuscated jar to the DLL. However, once > I figured out how to apply the bootClass fix in LabView, the problem > has gone away. > > I guess that is my mis-understanding of how the assemblys are getting > loaded. I have applied this fix to an un-obfuscated assembly, > LabView equivalent of > "ikvm.runtime.Startup.addBootClassPathAssemby(typeof(de.schlichtherle.xml.GenericCertificate).Assembly)", > and all seems well. > > Would the same call to one of the classes that is not obfuscated > (publicly accessible) result in the same behavior? Or will I need to > track down the obfuscated class, and call addBootClassPathAssembly on > it then as well? > > > On Sun, Mar 3, 2013 at 4:11 PM, Volker Berlin > <vol...@go... <mailto:vol...@go...>> > wrote: > > Hi Justin, > > Which issue do you see? The ILSpy error? The thread of your link > is not very clear. > > Volker > > > Am 03.03.2013 22:59, schrieb Justin Smith: >> Hello, >> >> I am currently having (what appears to be) the exact same issue >> as another poster from 2 years ago. I found his message thread on >> the archive >> http://sourceforge.net/mailarchive/message.php?msg_id=27292355 >> >> I never saw a resolution posted, and was wondering if anyone >> found anything, or had any insights on how I should be able to >> proceed. >> >> My use case is slightly different, however. The converted >> libraries work perfect from VS 2010 and VS 2012 (C#), but once I >> reference them in LabView, I see the exact same issue as reported >> by the previous user. >> >> I'm fairly new to the .NET stack and am not sure what other tools >> I have to sniff this issue out, other than ilSpy and DebugView. >> >> Thanks >> >> -- >> Justin Smith >> Summit Management Systems, Inc >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> >> >> _______________________________________________ >> Ikvm-developers mailing list >> Ikv...@li... <mailto:Ikv...@li...> >> https://lists.sourceforge.net/lists/listinfo/ikvm-developers > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Ikvm-developers mailing list > Ikv...@li... > <mailto:Ikv...@li...> > https://lists.sourceforge.net/lists/listinfo/ikvm-developers > > > > > -- > Justin Smith > Summit Management Systems, Inc > (615) 281-9454 > Skype: jwsmith22 > > People demand freedom of speech as a compensation for the freedom of > thought which they seldom use. ~ Soren Kierkegaard |