Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Rendering problem (?) in runtime Eclipse application
Rendering problem (?) in runtime Eclipse application [message #1863446] Fri, 02 February 2024 18:54 Go to next message
Eclipse UserFriend
I am following the 15 minutes tutorial of Xtext. After I generate Xtext artifacts from the grammar and hit Run As → Eclipse Application, there always seems to be some problem rendering this window, and I cannot see any component there:

index.php/fa/43958/0/

I have been running some other EMF projects as Eclipse application but they never had this trouble before.

For your information, I have Eclipse Modeling Tools 2023-12 (4.30.0), with Xtext and Xtend 2.33.0, on an intel chip Mac. I have already tried switching between dark and light mode, restarting Eclipse, restarting my computer, and installing a new Eclipse for Java and DSL Developers instead, but none of them worked out.

Any help or idea is appreciated!
Re: Rendering problem (?) in runtime Eclipse application [message #1863474 is a reply to message #1863446] Sun, 04 February 2024 12:49 Go to previous messageGo to next message
Eclipse UserFriend
sounds like https://github.com/eclipse-platform/eclipse.platform.swt/issues/1012
Re: Rendering problem (?) in runtime Eclipse application [message #1863478 is a reply to message #1863474] Mon, 05 February 2024 00:56 Go to previous messageGo to next message
Eclipse UserFriend
Thank you Christian for your reply! Indeed my run configurations for Eclipse application had this problematic JDK 17.0.10 as well. It turned out to work after I changed it to 21.0.1.

index.php/fa/43963/0/

Interestingly when creating an Xtext project it defaults to JDK 17, but for other EMF projects I had before, the run configurations were automatically set to JDK 21 (which is the default in my system) so they didn't have this trouble before.
  • Attachment: pic2.png
    (Size: 857.00KB, Downloaded 179 times)
Re: Rendering problem (?) in runtime Eclipse application [message #1863486 is a reply to message #1863478] Mon, 05 February 2024 07:14 Go to previous messageGo to next message
Eclipse UserFriend
if you have xtend files in project the compilation against target 21 wont work. this is why default is java 17
Re: Rendering problem (?) in runtime Eclipse application [message #1863487 is a reply to message #1863486] Mon, 05 February 2024 07:33 Go to previous message
Eclipse UserFriend
I see. So I will still stick to JDK 17. It also seems to work if I use other sub-versions other than 17.0.10.

Thanks again!
Previous Topic:Eclipse platform URIs in command line
Next Topic:junit: NamesAreUniqueValidator does not work as eclipse junit but does work in Maven build?
Goto Forum:
  


Current Time: Tue Feb 11 03:13:09 GMT 2025

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

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

Back to the top