Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BatchLinkableResourceStorageWritable error when using K3 and xtend 2.27 #274

Open
dvojtise opened this issue Aug 3, 2022 · 2 comments
Open
Labels

Comments

@dvojtise
Copy link
Contributor

dvojtise commented Aug 3, 2022

Bug description

in latest version of GEMOC 3.6.0 (based on Eclipse 2022-06, xtend 2.25)
a lot of error messages occurs in the Default messagingSystem console and the Error Log view

org.eclipse.xtext.xbase.resource.BatchLinkableResourceStorageWritable  - Object (JvmParameterizedTypeReference: java.lang.String) is not contained in any resource

The code seems to works but isn't comfortable for the user

Apparently this wasn't the case with the previous version of the studio based on Eclipse 2021-12 (xtend 2.27)

The Xtend active annotation of K3 is the same (same version of K3 in both GEMOC installations)

Expected behavior

no error message in the console or the Error log when working with K3/Xtend projects.

How to reproduce

Steps to reproduce the behavior:

  1. install the K3 example, Hello ecore (k3 plugin)
  2. Simplify the aspect as follow
package hello_ecore

import org.eclipse.emf.ecore.EPackage
import fr.inria.diverse.k3.al.annotationprocessor.Aspect


import static extension hello_ecore.EPackageAspect.*
import org.eclipse.emf.ecore.EClassifier

@Aspect(className=EPackage)
class EPackageAspect {
	String foo
}

@Aspect(className=EClassifier)
class EClassifierAspect {
}
  1. See error in Error log and console

Additional context

  • GEMOC Studio version: 3.6.0
  • Java version: 11
  • OS: Linux

Screenshot

image

@dvojtise dvojtise added the bug label Aug 3, 2022
@dvojtise
Copy link
Contributor Author

dvojtise commented Aug 3, 2022

Possibly related to eclipse/xtext-extras#695 (some changes have been introduced in xtend 2.26 that look to be related to that message)

@dvojtise
Copy link
Contributor Author

dvojtise commented Aug 3, 2022

opened an issue in xtend : eclipse-xtext/xtext#2318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant