Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Error running Tutorial 2 / JavaFX Viewpart
Error running Tutorial 2 / JavaFX Viewpart [message #1715015] Wed, 18 November 2015 13:47 Go to next message
Abhishek Chakraborty is currently offline Abhishek ChakrabortyFriend
Messages: 82
Registered: July 2009
Location: Cologne, Germany
Member

I am running the tutorial2 from https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2
Using JavaFx 2.0 Tooling (v2.1.0.201508)

with runtime vm arg:

-Xms256m -Xmx2024m -Dosgi.framework.extensions=org.eclipse.fx.osgi



But getting this following error.

!SESSION 2015-11-18 14:27:12.648 -----------------------------------------------
eclipse.buildId=4.5.0.I20150603-2000
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.sdk.ide
Command-line arguments: -product org.eclipse.sdk.ide -data /home/chakraborty/workspace/eclipsefx/../runtime-EclipseApplication -dev file:/home/chakraborty/workspace/eclipsefx/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.ds 1 0 2015-11-18 14:27:23.318
!MESSAGE Could not bind a reference of component org.eclipse.fx.core.internal.JUtilLoggerFactory. The reference is: Reference[name = registerHandler, interface = java.util.logging.Handler, policy = dynamic, policy-option = greedy, cardinality = 0..n, target = null, bind = registerHandler, unbind = unregisterHandler, updated = null]
WARNING: You are binding against the deprecated org.eclipse.fx.javafx - please remove all javafx imports
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5e8f74d2b2, pid=5788, tid=140047738070784
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x4e2b2] gdk_display_open+0x52
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/chakraborty/work/software/eclipseFX/hs_err_pid5788.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


Regards,
Abhishek Chakraborty
Re: Error running Tutorial 2 / JavaFX Viewpart [message #1715023 is a reply to message #1715015] Wed, 18 November 2015 14:37 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
If I'd have to guess I think you'll run on GTK3 and because JavaFX is
linked to Gtk2 things crash.

Tom

On 18.11.15 14:47, Abhishek Chakraborty wrote:
> I am running the tutorial2 from
> https://wiki.eclipse.org/Efxclipse/Tutorials/Tutorial2
> Using JavaFx 2.0 Tooling (v2.1.0.201508)
>
> with runtime vm arg:
>
> -Xms256m -Xmx2024m -Dosgi.framework.extensions=org.eclipse.fx.osgi
>
>
>
> But getting this following error.
>
> !SESSION 2015-11-18 14:27:12.648
> -----------------------------------------------
> eclipse.buildId=4.5.0.I20150603-2000
> java.version=1.8.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product org.eclipse.sdk.ide
> Command-line arguments: -product org.eclipse.sdk.ide -data
> /home/chakraborty/workspace/eclipsefx/../runtime-EclipseApplication -dev
> file:/home/chakraborty/workspace/eclipsefx/.metadata/.plugins/org.eclipse.pde.core/Eclipse
> Application/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog
>
> !ENTRY org.eclipse.equinox.ds 1 0 2015-11-18 14:27:23.318
> !MESSAGE Could not bind a reference of component
> org.eclipse.fx.core.internal.JUtilLoggerFactory. The reference is:
> Reference[name = registerHandler, interface = java.util.logging.Handler,
> policy = dynamic, policy-option = greedy, cardinality = 0..n, target =
> null, bind = registerHandler, unbind = unregisterHandler, updated = null]
> WARNING: You are binding against the deprecated org.eclipse.fx.javafx -
> please remove all javafx imports
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f5e8f74d2b2, pid=5788, tid=140047738070784
> #
> # JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build
> 1.8.0_45-b14)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode
> linux-amd64 compressed oops)
> # Problematic frame:
> # C [libgdk-x11-2.0.so.0+0x4e2b2] gdk_display_open+0x52
> #
> # Failed to write core dump. Core dumps have been disabled. To enable
> core dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /home/chakraborty/work/software/eclipseFX/hs_err_pid5788.log
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.java.com/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
>
Re: Error running Tutorial 2 / JavaFX Viewpart [message #1715134 is a reply to message #1715023] Thu, 19 November 2015 13:49 Go to previous messageGo to next message
Abhishek Chakraborty is currently offline Abhishek ChakrabortyFriend
Messages: 82
Registered: July 2009
Location: Cologne, Germany
Member

Hi Tom,

I am running with env variable setting "export SWT_GTK3=1"

WARNING: You are binding against the deprecated org.eclipse.fx.javafx - please remove all javafx imports
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f5ea3d982b2, pid=31111, tid=140047941142272
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x4e2b2] gdk_display_open+0x52
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/chakraborty/work/git/maps/ide/slx/hs_err_pid31111.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


Regards,
Abhishek Chakraborty
Re: Error running Tutorial 2 / JavaFX Viewpart [message #1715135 is a reply to message #1715134] Thu, 19 November 2015 13:51 Go to previous message
Abhishek Chakraborty is currently offline Abhishek ChakrabortyFriend
Messages: 82
Registered: July 2009
Location: Cologne, Germany
Member

Using export SWT_GTK3=0

Works.

Thanks
Abhishek


Regards,
Abhishek Chakraborty
Previous Topic:Injection into AdapterProvider
Next Topic:e(fx)clipse runtime works on JRE8 but not JRE7
Goto Forum:
  


Current Time: Fri Apr 19 07:31:56 GMT 2024

Powered by FUDForum. Page generated in 0.02208 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top