Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Issues creating a ToolControl on a Window Trim
Issues creating a ToolControl on a Window Trim [message #1104117] Sat, 07 September 2013 18:19 Go to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
Registered: July 2012
Senior Member
Hi,

when trying to set a ToolControl directly to a Window Trim and start the application via debug I get exceptions that are not shown anywhere. The IDE stops at two places:

SystemProperties.setVersions() line: 81
PropertyHelper$1.run() line: 41

As I don't have sources I don't see any more than an empty editor pointing the the above lines.

The application starts afterwards without showing a Window Trim with the specified Control.

This also appears if I set a Toolbar on the Window Trim and add the ToolControl to the Toolbar. There is no toolbar shown.

I have seen this topic https://groups.google.com/forum/#!topic/efxclipse/waQOT-povyg and the corresponding ticket in bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=410829

I don't see the exception reported there, but I don't get the toolbar either.

Is the bug reopened or am I doing some things wrong?

Greez,
Dirk
Re: Issues creating a ToolControl on a Window Trim [message #1104124 is a reply to message #1104117] Sat, 07 September 2013 18:36 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
Registered: July 2012
Senior Member
Sorry, forget this post. I ran into a beginners issue. Sad

While implementing Eclipse 4 applications with the E4 tools, the -clearPersistedState flag is set automatically when creating a new project. For e(fx)clipse applications this is not true. So my mistake. Adding the flag does now show the toolbar.

But the two breakpoints are still there when starting my application in debug mode. Is this an issue?

Greez,
Dirk
Re: Issues creating a ToolControl on a Window Trim [message #1104567 is a reply to message #1104124] Sun, 08 September 2013 11:57 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5013
Registered: July 2009
Senior Member
What break points are those? I have no idea what it those are but they
sound like they have nothing to do with e(fx)clipse.

Tom

On 08.09.13 00:36, Dirk Fauth wrote:
> Sorry, forget this post. I ran into a beginners issue. :(
>
> While implementing Eclipse 4 applications with the E4 tools, the
> -clearPersistedState flag is set automatically when creating a new
> project. For e(fx)clipse applications this is not true. So my mistake.
> Adding the flag does now show the toolbar.
>
> But the two breakpoints are still there when starting my application in
> debug mode. Is this an issue?
>
> Greez,
> Dirk
Re: Issues creating a ToolControl on a Window Trim [message #1104638 is a reply to message #1104567] Sun, 08 September 2013 14:34 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
Registered: July 2012
Senior Member
The points are told about in the first post.

I can try to reproduce this in a simple example and send you the project to see what it is related to.
Re: Issues creating a ToolControl on a Window Trim [message #1273080 is a reply to message #1104638] Wed, 19 March 2014 09:07 Go to previous messageGo to next message
Craig Groves is currently offline Craig Groves
Messages: 2
Registered: March 2014
Junior Member
I have a similar issue about a NullPointerException error with the systemproperties class within a JavaFX project. I'm somewhat of a newbie, but I have a feeling it's related to a version resources file that the setVersion() method can't find within the jfxrt.jar. Dirk, did you ever figure out what that exception was?
Re: Issues creating a ToolControl on a Window Trim [message #1276521 is a reply to message #1273080] Mon, 24 March 2014 13:32 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5013
Registered: July 2009
Senior Member
Please don't hijack this thread! Anyways I currently have no idea what
can cause this. It also looks like that forum is out of sync with the
newsgroup because I can see a forward from Eric with your question which
does not show up for me.

I'll try to reply in the forum on post from Eric which holds a screenshot!

Tom

On 19.03.14 14:08, Craig Groves wrote:
> I have a similar issue about a NullPointerException error with the
> systemproperties class within a JavaFX project. I'm somewhat of a
> newbie, but I have a feeling it's related to a version resources file
> that the setVersion() method can't find within the jfxrt.jar. Dirk, did
> you ever figure out what that exception was?
Previous Topic:Strange issue with e(fx)clipse 0.9.0
Next Topic:e(fx)clipse Javafx Debugging Exception
Goto Forum:
  


Current Time: Sat Apr 19 03:10:17 EDT 2014

Powered by FUDForum. Page generated in 0.15393 seconds