Skip to main content



      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 04:40 Go to next message
Eclipse UserFriend
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 05:04 Go to previous message
Eclipse UserFriend
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: Sat Apr 26 11:50:25 EDT 2025

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

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

Back to the top