java.lang.IllegalStateException: Failed to find mapper from controller

GitHub | ferronrsmith | 1 year ago
  1. 0

    Got the following error when trying to run Vaadin Designer on Eclipse Mars (Linux)

    GitHub | 1 year ago | ferronrsmith
    java.lang.IllegalStateException: Failed to find mapper from controller
  2. 0
    You should define the TestContext class in your classpath
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The cursor might not be initalized.
  6. 0
    Update to Grails 3.0.x

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Failed to find mapper from controller

      at com.vaadin.designer.model.EditorModelUtil.getComponentFromAnyMapper()
    2. com.vaadin.designer
      HierarchyOutlineView$HierarchyOutlineLabelProvider.getColumnText
      1. com.vaadin.designer.model.EditorModelUtil.getComponentFromAnyMapper(EditorModelUtil.java:78)
      2. com.vaadin.designer.eclipse.views.HierarchyOutlineView$ModelHandler.getTitle(HierarchyOutlineView.java:961)
      3. com.vaadin.designer.eclipse.views.HierarchyOutlineView$ModelHandler.access$1(HierarchyOutlineView.java:953)
      4. com.vaadin.designer.eclipse.views.HierarchyOutlineView$HierarchyOutlineLabelProvider.getColumnText(HierarchyOutlineView.java:825)
      4 frames
    3. JFace
      AbstractTreeViewer$UpdateItemSafeRunnable.run
      1. org.eclipse.jface.viewers.TableColumnViewerLabelProvider.update(TableColumnViewerLabelProvider.java:66)
      2. org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:154)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:949)
      4. org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:114)
      4 frames
    4. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    5. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      1 frame
    6. JFace
      StructuredViewer$UpdateItemSafeRunnable.run
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      2. org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1029)
      3. org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:473)
      3 frames
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    8. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      1 frame
    9. JFace
      AbstractTreeViewer$1.run
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      2. org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2176)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:843)
      4. org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:818)
      4 frames
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. JFace
      AbstractTreeViewer.expandAll
      1. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)
      2. org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1763)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandToLevel(AbstractTreeViewer.java:1773)
      5. org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:1071)
      6. org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(AbstractTreeViewer.java:1052)
      7. org.eclipse.jface.viewers.AbstractTreeViewer.expandAll(AbstractTreeViewer.java:1041)
      7 frames
    12. com.vaadin.designer
      VaadinEditorPart$PartHandler$1.run
      1. com.vaadin.designer.eclipse.views.HierarchyOutlineView.initTreeViewerData(HierarchyOutlineView.java:708)
      2. com.vaadin.designer.eclipse.views.HierarchyOutlineView.onEditorModelChanged(HierarchyOutlineView.java:565)
      3. com.vaadin.designer.eclipse.editors.VaadinEditorPart.fireEditorModelChanged(VaadinEditorPart.java:721)
      4. com.vaadin.designer.eclipse.editors.VaadinEditorPart.setController(VaadinEditorPart.java:975)
      5. com.vaadin.designer.eclipse.editors.VaadinEditorPart.access$9(VaadinEditorPart.java:955)
      6. com.vaadin.designer.eclipse.editors.VaadinEditorPart$PartHandler$1.run(VaadinEditorPart.java:1191)
      6 frames
    13. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
      4 frames
    14. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
      2. org.eclipse.jface.window.Window.open(Window.java:803)
      2 frames
    15. com.vaadin.designer
      VaadinEditor$LicenseHandler$1.run
      1. com.vaadin.designer.eclipse.editors.VaadinEditor$LicenseHandler$1.run(VaadinEditor.java:1734)
      1 frame
    16. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
      4 frames
    17. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    18. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    19. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    20. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    21. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
      1 frame
    22. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    23. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
      1 frame
    24. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    25. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    26. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    27. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    28. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    29. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1488)
      4 frames