Jump to content
Excelsior Forums
Sign in to follow this  
hgcc

Java Application hangs during JET Trial Run

Recommended Posts

Hello,

I am using Jet 6.4 Professional Edition / Java SE 6 Update 7. The java application I am trying to compile uses the webkit for swt library. When JET runs my application, my application hangs when some multi threaded code is invoked which creates WebKitBrowser objects.

When I run my application jar in a command prompt window, my application runs fine when the multi threaded code is invoked. Is there some sort of logging which takes place when performing a test run in the JET application I can possibly post here in this thread or send to support? Is this the appropriate forum to post this question? I am confused as to what the problem could be.

Thanks

H

Share this post


Link to post
Share on other sites

I just downloaded the evaluation version of Jet Professional 6.5, and it provided me with better debugging information, however I still ran into the same problem during the test run. The stacktrace generated by Jet follows:

Exception in thread "main" java.lang.NullPointerException

at com.genuitec.cef.CEFBrowser.createBrowser(Unknown Source)

at com.genuitec.firefly.webkit.swt.WebKitBrowser.<init>(Unknown Source)

As an extra bit of help, I got the following excerpt from the Webkit For SWT website:

Technical Details

A Java Native Interface (JNI) bridge enables WebKitBrowser to control the Chromium framework and receive asynchronous events. We use the C++ Chromium Embedded Framework (see Credits) to simplify use of the Chromium WebKit engine. The C++ integration is provided in the 2 dynamic link libraries (DLL), cefjni.dll and icudt38.dll. These DLLs are loaded from either the path defined by the java.library.path property or explicitly unarchived and loaded from the webkit4swt JAR. For the latter DLL loading process we reused a mechanism in the SWT that will automatically unzip the DLLs to you tmp folder and then loades them using System.load() or System.loadLibrary().

http://www.genuitec.com/about/labs-webkit-for-swt/WebKit%20For%20SWT%20Developer%20Guide.html

I believe the exception which is bubbling up is being caused by something not getting loaded for CEF (Chromium Embedded Framework) during the Jet Trial Run test?

Thanks

H

Share this post


Link to post
Share on other sites

It might be a JNI misuse in the library.

Please send an example to reproduce the problem to Support Dept. (java at excelsior-usa.com).

We will check it on our end and post a follow-up with the results in this topic.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×