[Isis-users] J-ISIS crash with JDK 1.7.0_40

Jean-Claude Dauphin jc.dauphin at gmail.com
Mon Oct 14 15:18:59 CEST 2013


Dear J-ISIS and CDS/ISIS Users,

Several users reported the following error when trying to open a database
in "J-ISIS 24 June 2013" with JDK 1.7.0_40, the latest  Java SE Development
Kit 7u40 available for downloading on Oracle Web site.

java.lang.UnsatisfiedLinkError:
com.sun.glass.ui.win.WinApplication._invokeLater(Ljava/lang/Runnable;)V

            at com.sun.glass.ui.win.WinApplication._invokeLater(Native
Method)

            at
com.sun.glass.ui.Application.invokeLater(Application.java:338)

            at
com.sun.javafx.tk.quantum.QuantumToolkit.defer(QuantumToolkit.java:620)

            at
com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:173)

            at
com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:150)

            at
org.unesco.jisis.fxbrowser.SwingFXWebView$14.run(SwingFXWebView.java:601)

            at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)

            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)

            at java.awt.EventQueue.access$200(EventQueue.java:103)

            at java.awt.EventQueue$3.run(EventQueue.java:694)

            at java.awt.EventQueue$3.run(EventQueue.java:692)

            at java.security.AccessController.doPrivileged(Native Method)

            at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

            at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)

            at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)

[catch] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

            at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

            at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

            at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

            at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

It turns out that this error comes from a change in the JavaFX Run Time
Library "jfxrt.jar". I will produce a new version of J-ISIS with the new
JDK 1.7.0_40 jfxrt.jar ASAP and try to find out a solution that would made
J-ISIS independant from this library (if possible).

*WORKAROUND*

1) rename the jfxrt.jar located in the J-ISIS installation folder
(jisis_suite/modules/ext) to something like jfxrt-21.jar

2)  copy the jfxrt.jar file installed with  JDK 1.7.0_40 that should be
located in the Programmes/Java/jre7/lib folder into the  J-ISIS
installation folder (jisis_suite/modules/ext)

3) Try again to run J-ISIS and to open a database to see if the above error
message has disappeared.

YOU MAY HAVE TO RE-START YOUR COMPUTER TO CLEAR THE CACHE IF YOU GET AGAIN
THE SAME ERROR

I apologize for this annoying problem and will try to find out a solution
to avoid this kind of problem.

With my best wishes,

Jean-Claude

PS) Many thanks to Wenke Adam, José Roberto Aliaga Flores, Laurent LL.
Laffitte and others who reported the problem an took the time to test the
workaround.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20131014/527fbca3/attachment.html>


More information about the isis-users mailing list