Error Loading module when using JXBrowser library from teamdev in the module

Hi,

We are working on developing a module that uses JXBrowser library (https://www.teamdev.com/jxbrowser) for providing one of the functionalities in Vision Client Component.

I have an evaluation license and building the module with 7.9.3 SDK.
The module is built successfully however, when I try to launch the designer, we get following error:

java.lang.SecurityException: SHA-256 digest error for com/teamdev/jxbrowser/chromium/swing/BrowserView.class
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetPublicMethods(Unknown Source)
at java.lang.Class.getMethods(Unknown Source)
at java.beans.Introspector.getPublicDeclaredMethods(Unknown Source)
at java.beans.Introspector.internalFindMethod(Unknown Source)
at java.beans.Introspector.findMethod(Unknown Source)
at java.beans.Introspector.findMethod(Unknown Source)
at java.beans.PropertyDescriptor.getReadMethod(Unknown Source)
at java.beans.PropertyDescriptor.(Unknown Source)
at java.beans.PropertyDescriptor.(Unknown Source)
at com.inductiveautomation.vision.api.designer.beans.DefaultBeanInfo.createProp(DefaultBeanInfo.java:183)
at com.inductiveautomation.vision.api.designer.beans.DefaultBeanInfo.addProp(DefaultBeanInfo.java:297)
at com.inductiveautomation.vision.api.designer.beans.CommonBeanInfo.initProperties(CommonBeanInfo.java:245)

This seems similar to Error uploading custom module
However as suggested this does not seem to be an issues with pack200 because the module file contains the required pack.gz entries as below:
jxbrowser-6.0.jar.pack.gzjxbrowser-win-6.0.jar.pack.gz

Java version we are using is : jdk1.8.0_161
Ignition SDK : 7.9.3
Ignition Version : 7.9.4, 7.9.5
JXBrowser : 6.0

Appreciate help in resolving the issue above.

This issue is resolved when we upgraded to latest 6.18 version of JXBrowser.

1 Like