Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » CSS compare dialog: 1.0.0.201408081420 - Editor could not be initialized(Opening JavaFX CSS File in compare dialog fails with: Editor could not be initialized)
CSS compare dialog: 1.0.0.201408081420 - Editor could not be initialized [message #1406184] Sat, 09 August 2014 08:40 Go to next message
Mario Curcija is currently offline Mario CurcijaFriend
Messages: 2
Registered: July 2009
Junior Member
In latest 1.0.0 (nightly) Snapshots (e.g. 1.0.0.201408081420) I've noticed that JavaFX Editor in compare dialog could not be opened (see attached log).

Somewhere in stacktrace:

Caused by: java.lang.ClassCastException: org.eclipse.core.internal.filebuffers.SynchronizableDocument cannot be cast to org.eclipse.xtext.ui.editor.model.XtextDocument

I was able to reproduce this in both Win and Linux (x64) with both java8 and java8_20.
Steps to reproduce:

1. setup new Java Fx Project
2. make some changes using JavaFX CSS editor in application.css (created by new project wizard)
3. save
4. compare with local history should produce the attached exception.

Is this Xtext or efxclipse issue?

Best regard,
Mario
Re: CSS compare dialog: 1.0.0.201408081420 - Editor could not be initialized [message #1406192 is a reply to message #1406184] Sat, 09 August 2014 09:04 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

I can somehow remember that this is a general Xtext-Editor issue. I'll
look into it but I can not yet guarantee that we'll be able to provide a
fix for 1.0 which is released next Friday (15th).

I filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=441453 so if you
want to track the progress we make please add yourself to the bug report.

Tom

On 09.08.14 10:40, Mario Curcija wrote:
> In latest 1.0.0 (nightly) Snapshots (e.g. 1.0.0.201408081420) I've noticed that JavaFX Editor in compare dialog could not be opened (see attached log).
>
> Somewhere in stacktrace:
>
> Caused by: java.lang.ClassCastException: org.eclipse.core.internal.filebuffers.SynchronizableDocument cannot be cast to org.eclipse.xtext.ui.editor.model.XtextDocument
>
> I was able to reproduce this in both Win and Linux (x64) with both java8 and java8_20.
> Steps to reproduce:
>
> 1. setup new Java Fx Project
> 2. make some changes using JavaFX CSS editor in application.css (created by new project wizard)
> 3. save
> 4. compare with local history should produce the attached exception.
>
> Is this Xtext or efxclipse issue?
>
> Best regard,
> Mario
>
Previous Topic:e(fx)clipse issue compiling w/ RoboVM
Next Topic:e(fx)clipse 1.0 feature highlights
Goto Forum:
  


Current Time: Wed Apr 24 23:32:31 GMT 2024

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

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

Back to the top