Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » e(fx)clipse Javafx Debugging Exception(systemproperties exception)
e(fx)clipse Javafx Debugging Exception [message #1273435] Wed, 19 March 2014 22:25 Go to next message
Eclipse UserFriend
I am using eclipse kepler, java 8 sdk and can't debug with javafx, even with the source code. I am somewhat of a newbie and have been receiving an error in SystemProperties.setVersions(). Other's in the eclipse and e(fx)clipse forums have received this error, but not stating how they resolved it. Frankly I'm lost and in need of some help/education.

[Updated on: Wed, 19 March 2014 22:32] by Moderator

Re: e(fx)clipse Javafx Debugging Exception [message #1274406 is a reply to message #1273435] Fri, 21 March 2014 08:28 Go to previous messageGo to next message
Eclipse UserFriend
Moving this to the e(fx)clipse forum.
Re: e(fx)clipse Javafx Debugging Exception [message #1276534 is a reply to message #1273435] Mon, 24 March 2014 13:54 Go to previous message
Eclipse UserFriend
You say you having JDK8 but do you also launch with it? Looking at the code the offending lines are:

private static void setVersions() {
int size;
InputStream is =
SystemProperties.class.getResourceAsStream(versionResourceName);
try {
size = is.available();

byte[] b = new byte[size];
int n = is.read(b);
String inStr = new String(b, "utf-8");
SystemProperties.setFXProperty("javafx.version",
getValue(inStr, "release="));

SystemProperties.setFXProperty("javafx.runtime.version",
getValue(inStr, "full="));

} catch (Exception ignore) {
}
}

but because ANY exception is caught in there can't see what should be NULL in the none try block. Are you really launching with Java8?
Previous Topic:Issues creating a ToolControl on a Window Trim
Next Topic:Best practices for a dynamic splash screen using E4?
Goto Forum:
  


Current Time: Tue Apr 29 17:37:30 EDT 2025

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

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

Back to the top