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

Java companion file handling for FW7 broken in new Eclipse #1996

Closed
ripla opened this issue Jan 29, 2019 · 2 comments
Closed

Java companion file handling for FW7 broken in new Eclipse #1996

ripla opened this issue Jan 29, 2019 · 2 comments
Labels

Comments

@ripla
Copy link
Contributor

ripla commented Jan 29, 2019

Steps to reproduce

  1. Install Eclipse 2018-12 + Designer for Framework 7
  2. Import FW7 project
  3. Create a new FW7 design

Actual behavior

Design created without a companion file, with the exception:

java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/corext/codemanipulation/StubUtility
	at com.vaadin.designer2.eclipse.java.ComponentJavaModel.formatJavaClass(ComponentJavaModel.java:268)
	at com.vaadin.designer2.eclipse.java.ComponentJavaModel.createJavaClassFromRoot(ComponentJavaModel.java:177)
	at com.vaadin.designer2.eclipse.wizards.NewDesignWizardPage.createJavaFile(NewDesignWizardPage.java:289)

Wizard stays open.

Expected behaviour

Companion file created normally.

IDE, Designer and OS version

Eclipse 2018-12, Designer for Framework 7 1.4.4, macOS & Ubuntu

Note

Affects all Java companion file operations, e.g. when saving an existing design.

@AlfredoDaAs
Copy link

AlfredoDaAs commented Feb 26, 2019

working with vaadin 7, Eclipse 2018-12 and Designer for Framework 7 1.4.4, and I can't save.
OS version: Windows 10

java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/corext/codemanipulation/StubUtility at com.vaadin.designer.eclipse.java.ComponentJavaModel.formatJavaClass(ComponentJavaModel.java:268) at com.vaadin.designer.eclipse.java.ComponentJavaModel.createJavaClassFromRoot(ComponentJavaModel.java:177) at com.vaadin.designer.eclipse.java.ComponentJavaModel.createJavaClassFromRoot(ComponentJavaModel.java:152)

@ripla is this only happening in Designer for framework 7? how long would this issue will take to be fixed?
this looks like the #1987

@ripla
Copy link
Contributor Author

ripla commented Mar 4, 2019

Yes, this is the same bug, but for the Framework 7 Designer. Unfortunately, the support for Framework 7 has ended, so we're not going to fix this bug. As a workaround, you can downgrade to an earlier Eclipse release.

@ripla ripla closed this as completed Mar 4, 2019
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

2 participants