Compilation failure [message #1798600] |
Tue, 20 November 2018 21:06 |
Jon Evans Messages: 3 Registered: July 2009 |
Junior Member |
|
|
I am unable to compile the latest eclipse/smarthome. It worked last week. :)
I have tried git clean -x -d -f, I've re-run "Perform Setup Tasks..." in Eclipse, I've even nuked my local ~/.m2/repository, but the build always fails.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:39 min
[INFO] Finished at: 2018-11-20T18:14:55Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.2.0:compile (default-compile) on project org.eclipse.smarthome.ui: Compilation failure: Compilation failure:
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[280]
[ERROR] List<Mapping> mappings = playerItemSwitch.getMappings();
[ERROR] ^^^^^^^^^^^
[ERROR] The method getMappings() from the type Switch refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[350]
[ERROR] logger.error("Cannot retrieve item for widget {}", w.eClass().getInstanceTypeName());
[ERROR] ^^^^^^
[ERROR] The method eClass() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[544]
[ERROR] String widgetTypeName = w.eClass().getInstanceTypeName()
[ERROR] ^^^^^^
[ERROR] The method eClass() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[545]
[ERROR] .substring(w.eClass().getInstanceTypeName().lastIndexOf(".") + 1);
[ERROR] ^^^^^^
[ERROR] The method eClass() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[575]
[ERROR] new Object[] { itemName, w.eClass().getInstanceTypeName() });
[ERROR] ^^^^^^
[ERROR] The method eClass() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[609]
[ERROR] if (sw.getMappings().size() == 0) {
[ERROR] ^^^^^^^^^^^
[ERROR] The method getMappings() from the type Switch refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[636]
[ERROR] if (widgetID < sitemap.getChildren().size()) {
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type Sitemap refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[637]
[ERROR] w = sitemap.getChildren().get(widgetID);
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type Sitemap refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[640]
[ERROR] if (childWidgetID < ((LinkableWidget) w).getChildren().size()) {
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type LinkableWidget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[641]
[ERROR] w = ((LinkableWidget) w).getChildren().get(childWidgetID);
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type LinkableWidget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[657]
[ERROR] EList<Widget> widgets = sitemap.getChildren();
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type Sitemap refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[672]
[ERROR] if (w instanceof Group && w.getChildren().isEmpty()) {
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type LinkableWidget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[675]
[ERROR] widgets = w.getChildren();
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type LinkableWidget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[691]
[ERROR] return (w2 == null) ? w.eContainer() : w2.eContainer();
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[691]
[ERROR] return (w2 == null) ? w.eContainer() : w2.eContainer();
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[718]
[ERROR] target.getVisibility().addAll(EcoreUtil.copyAll(source.getVisibility()));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getVisibility() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[718]
[ERROR] target.getVisibility().addAll(EcoreUtil.copyAll(source.getVisibility()));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getVisibility() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[719]
[ERROR] target.getLabelColor().addAll(EcoreUtil.copyAll(source.getLabelColor()));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getLabelColor() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[719]
[ERROR] target.getLabelColor().addAll(EcoreUtil.copyAll(source.getLabelColor()));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getLabelColor() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[720]
[ERROR] target.getValueColor().addAll(EcoreUtil.copyAll(source.getValueColor()));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getValueColor() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[720]
[ERROR] target.getValueColor().addAll(EcoreUtil.copyAll(source.getValueColor()));
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getValueColor() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[865]
[ERROR] while (w.eContainer() instanceof Widget) {
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[866]
[ERROR] Widget parent = (Widget) w.eContainer();
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[867]
[ERROR] String index = String.valueOf(((LinkableWidget) parent).getChildren().indexOf(w));
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type LinkableWidget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[874]
[ERROR] if (w.eContainer() instanceof Sitemap) {
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[875]
[ERROR] Sitemap sitemap = (Sitemap) w.eContainer();
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[876]
[ERROR] String index = String.valueOf(sitemap.getChildren().indexOf(w));
[ERROR] ^^^^^^^^^^^
[ERROR] The method getChildren() from the type Sitemap refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[885]
[ERROR] if (w.eContainer() == null) {
[ERROR] ^^^^^^^^^^
[ERROR] The method eContainer() is undefined for the type Widget
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[1111]
[ERROR] return processColorDefinition(getState(w), w.getLabelColor());
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getLabelColor() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[1116]
[ERROR] return processColorDefinition(getState(w), w.getValueColor());
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getValueColor() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[1122]
[ERROR] List<VisibilityRule> ruleList = w.getVisibility();
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getVisibility() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[1132]
[ERROR] for (VisibilityRule rule : w.getVisibility()) {
[ERROR] ^^^^^^^^^^^^^
[ERROR] The method getVisibility() from the type Widget refers to the missing type EList
[ERROR] /Users/evansj/src/home_automation/smarthome-master/git/smarthome/bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/items/ItemUIRegistryImpl.java:[1148]
[ERROR] w.eClass().getInstanceTypeName());
[ERROR] ^^^^^^
[ERROR] The method eClass() is undefined for the type Widget
[ERROR] 33 problems (33 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.eclipse.smarthome.ui
|
|
|
|
Powered by
FUDForum. Page generated in 0.03117 seconds