Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Brain2000

Pages: [1]
Java / Chilkat Crashing
« on: December 11, 2017, 08:56:27 PM »
I am attempting to use Chilkat.dll in our software, from a piece that we call "email plugins".  Each plugin derives from a base class and is created using Class.newInstance().  A user can have 1, 10, 100 plugins...  In this case, I am only running one to test this.

Anyhow, when the plugin attempts to call Chilkat, it crashes on the line: "CkBounce ckB = new CkBounce();"

We verified the static load is running, and that it does in fact load the Chilkat.dll.  We even tried naming it incorrectly just to make sure we received an error; we did.

It crashes in such a way that the stack unwinds back two calls.  This error is not catchable by any try/catch.  It's quite bizarre.

I ran the runTest.bat just to make sure it can load and does show me the version number.  Note that we are using 64 bit Java 1.8.113.  We don't have Java 32 bit installed.

Any ideas what this could be?  I don't know if the dynamic Class.newInstance() is a known issue.

Pages: [1]