Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8185967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:02:26+00:00 2026-06-07T02:02:26+00:00

I encountered what appeared to be an instance of eclipse Bug 380313 which is

  • 0

I encountered what appeared to be an instance of eclipse Bug 380313 which is marked as fixed. My grammar is the following:

grammar org.xtext.example.hyrule.HyRule with org.eclipse.xtext.common.Terminals
//  with org.eclipse.xtext.xbase.Xbase  

generate hyRule "http://www.xtext.org/example/hyrule/HyRule"

Start:
    rules+=Rule*;

Rule:
    'FOR' 'PAYLOAD' PAYLOAD 'ELEMENTS' elements+=ID+ 'CONSTRAINED''BY'name=ID '!';

PAYLOAD:
    "sse"| "stacons"
;

Which works fine, and with which code generation editor etc. all work. However as soon as I change

with org.eclipse.xtext.common.Terminals

to

with org.eclipse.xtext.xbase.Xbase

And fire up the generated IDE I get the Inconsistent stackmap frames at branch target error exactly as detaied in Bug 380313, as a result of which code generation and auto completion no longer work.

If I change the complier compliance level to 1.6, the Inconsistent stackmap frames at branch target error goes away, and auto completion works, but the code generation still doens’t work (no code is generated in src-gen).

I am using Xtext 2.3 installed from scratch, and java 7.
The build path for the xtext project is unmodified, and I’ve added the org.eclipse.xtext.xbase.lib_2.3.0.v201206120633.jar to the build path of the DSL project
(i.e. the one in the eclipse instance launched at runtime).

Any help would be much appreciated, I have been racking my brains trying to find the problem.

UPDATE:
In the example above I was using the generator.xtend to generate code.
If instead I use the JvmModelInferrer, then with compliance set to 1.7 I still get the error mentioned above, and autocompletion is completely broken, but code generation actually works. And of course in this case too, setting compliance level to 1.6 everything works fine.
But surely I should be able to use the generator instead of the JvmModelInferrer, and not have to set the compiler compliance level t 1.6?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:02:28+00:00Added an answer on June 7, 2026 at 2:02 am

    Sebastian Zarnekow: The bug in Eclipse’s Java compiler was fixed in Eclipse 3.8. I’m afraid you have to upgrade your distribution to the Juno release or stick with Java 1.6.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I encountered some very weird behaviour which I think is a bug, but I
Encountered a frustrating problem in our application today which came down to an ArrayIndexOutOfBounds
I encountered the following problem after upgrading to the latest version 1.8.1 of data.table
I'm encountered something weird, and I'm not sure if it's a bug in Visual
i encountered a bug in some c code i wrote, and while it was
I encountered the following problem. When any bitmap is loaded from resources by an
I encountered an interesting problem today which I thought was not possible in Java.
Encountered with the following warning when trying to access the page: Warning: mysql_fetch_array(): supplied
I encountered the following error when I submit an empty address field. Gmaps4rails::GeocodeInvalidQuery in
I encountered the following code in a file (looks like header file) iomanip of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.