java.lang.ClassCastException: org.fusesource.ide.camel.model.service.core.model.CamelBasicModelElement cannot be cast to java.lang.String

GitHub | apupier | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 800#272112842

    GitHub | 1 month ago | apupier
    java.lang.NullPointerException: null
  2. 0

    GitHub comment 800#270654524

    GitHub | 2 months ago | apupier
    java.lang.ClassCastException: org.fusesource.ide.camel.model.service.core.model.CamelBasicModelElement cannot be cast to java.lang.String
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 688#248035194

    GitHub | 5 months ago | apupier
    java.lang.AssertionError: Expecting empty but was:<[{"severity"=2, "groupName"="referencedFileError(http://camel.apache.org/schema/spring/camel-spring.xsd)", "message"="Referenced file contains errors (http://camel.apache.org/schema/spring/camel-spring.xsd). For more information, right click on the message in the Problems View and select "Show Details..."", "lineNumber"=1, "ValidationId"="org.eclipse.wst.xml.core.xml"}]>

    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.ClassCastException

      org.fusesource.ide.camel.model.service.core.model.CamelBasicModelElement cannot be cast to java.lang.String

      at org.fusesource.ide.camel.editor.properties.creators.AbstractTextFieldParameterPropertyUICreator.getInitialValue()
    2. org.fusesource.ide
      FusePropertySection.setInput
      1. org.fusesource.ide.camel.editor.properties.creators.AbstractTextFieldParameterPropertyUICreator.getInitialValue(AbstractTextFieldParameterPropertyUICreator.java:78)
      2. org.fusesource.ide.camel.editor.properties.creators.AbstractTextFieldParameterPropertyUICreator.init(AbstractTextFieldParameterPropertyUICreator.java:45)
      3. org.fusesource.ide.camel.editor.properties.creators.AbstractClassBasedParameterPropertyUICreator.init(AbstractClassBasedParameterPropertyUICreator.java:69)
      4. org.fusesource.ide.camel.editor.properties.creators.AbstractParameterPropertyUICreator.initAndBind(AbstractParameterPropertyUICreator.java:74)
      5. org.fusesource.ide.camel.editor.properties.creators.AbstractParameterPropertyUICreator.create(AbstractParameterPropertyUICreator.java:70)
      6. org.fusesource.ide.camel.editor.properties.DetailsSection.generateTabContents(DetailsSection.java:428)
      7. org.fusesource.ide.camel.editor.properties.DetailsSection.createContentTabs(DetailsSection.java:92)
      8. org.fusesource.ide.camel.editor.properties.FusePropertySection.setInput(FusePropertySection.java:173)
      8 frames
    3. Tabbed Properties View
      TabContents$5.run
      1. org.eclipse.ui.views.properties.tabbed.TabContents$5.run(TabContents.java:181)
      1 frame
    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
      SafeRunnable.run
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      1 frame
    7. Tabbed Properties View
      TabbedPropertySheetPage$SelectionChangedListener.selectionChanged
      1. org.eclipse.ui.views.properties.tabbed.TabContents.setInput(TabContents.java:184)
      2. org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:211)
      2 frames
    8. JFace
      Viewer$1.run
      1. org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
      1 frame
    9. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    10. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
      1 frame
    11. JFace
      OpenStrategy$1.handleEvent
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      2. org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
      3. org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
      4. org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1229)
      5. org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1258)
      6. org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
      7. org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
      8. org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
      8 frames
    12. RWT
      Widget.notifyListeners
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
      6 frames
    13. Tabbed Properties View
      TabbedPropertyViewer.setSelectionToWidget
      1. org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyList.select(TabbedPropertyList.java:864)
      2. org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyViewer.setSelectionToWidget(TabbedPropertyViewer.java:122)
      2 frames
    14. JFace
      Viewer.setSelection
      1. org.eclipse.jface.viewers.StructuredViewer.setSelectionToWidget(StructuredViewer.java:1770)
      2. org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1726)
      3. org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:383)
      3 frames
    15. Tabbed Properties View
      TabbedPropertySheetPage.selectionChanged
      1. org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:747)
      2. org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:555)
      2 frames
    16. Eclipse UI
      PropertySheet.selectionChanged
      1. org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:464)
      1 frame
    17. org.eclipse.ui
      SelectionService$3.selectionChanged
      1. org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:259)
      2. org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:133)
      3. org.eclipse.ui.internal.e4.compatibility.SelectionService.access$1(SelectionService.java:123)
      4. org.eclipse.ui.internal.e4.compatibility.SelectionService$3.selectionChanged(SelectionService.java:81)
      4 frames
    18. Eclipse Workbench
      SelectionAggregator$4.run
      1. org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
      1 frame
    19. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    20. Eclipse Workbench
      SelectionAggregator$8$1.run
      1. org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
      2. org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
      3. org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
      3 frames
    21. org.eclipse.e4
      RunAndTrack.runExternalCode
      1. org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
      1 frame
    22. Eclipse Workbench
      SelectionAggregator$8.changed
      1. org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
      1 frame
    23. org.eclipse.e4
      EclipseContext.set
      1. org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
      2. org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:343)
      3. org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:358)
      3 frames
    24. Eclipse Workbench
      SelectionServiceImpl.setPostSelection
      1. org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
      1 frame
    25. org.eclipse.ui
      CompatibilityPart$3.selectionChanged
      1. org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:131)
      1 frame
    26. Eclipse UI
      MultiPageSelectionProvider$1.run
      1. org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSelectionProvider.java:110)
      1 frame
    27. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    28. Eclipse UI
      MultiPageEditorSite$4.selectionChanged
      1. org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(MultiPageSelectionProvider.java:107)
      2. org.eclipse.ui.part.MultiPageSelectionProvider.firePostSelectionChanged(MultiPageSelectionProvider.java:101)
      3. org.eclipse.ui.part.MultiPageEditorSite.handlePostSelectionChanged(MultiPageEditorSite.java:484)
      4. org.eclipse.ui.part.MultiPageEditorSite$4.selectionChanged(MultiPageEditorSite.java:385)
      4 frames
    29. Graphical Editing Framework
      AbstractEditPartViewer.appendSelection
      1. org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)
      2. org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)
      3. org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:156)
      4. org.eclipse.gef.SelectionManager.appendSelection(SelectionManager.java:91)
      5. org.eclipse.gef.ui.parts.AbstractEditPartViewer.appendSelection(AbstractEditPartViewer.java:190)
      5 frames
    30. org.eclipse.graphiti
      GraphitiScrollingGraphicalViewer.appendSelection
      1. org.eclipse.graphiti.ui.internal.editor.GraphitiScrollingGraphicalViewer.appendSelection(GraphitiScrollingGraphicalViewer.java:164)
      1 frame
    31. Graphical Editing Framework
      AbstractEditPartViewer.select
      1. org.eclipse.gef.ui.parts.AbstractEditPartViewer.select(AbstractEditPartViewer.java:599)
      1 frame
    32. org.eclipse.graphiti
      GraphitiScrollingGraphicalViewer.select
      1. org.eclipse.graphiti.ui.internal.editor.GraphitiScrollingGraphicalViewer.select(GraphitiScrollingGraphicalViewer.java:53)
      1 frame
    33. Graphical Editing Framework
      DomainEventDispatcher.dispatchMousePressed
      1. org.eclipse.gef.tools.SelectEditPartTracker.performSelection(SelectEditPartTracker.java:221)
      2. org.eclipse.gef.tools.SelectEditPartTracker.performConditionalSelection(SelectEditPartTracker.java:167)
      3. org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown(SelectEditPartTracker.java:92)
      4. org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.java:1091)
      5. org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool.java:514)
      6. org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:245)
      7. org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:348)
      7 frames
    34. Graphical Editing Framework Draw2d
      LightweightSystem$EventHandler.mouseDown
      1. org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:523)
      1 frame
    35. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:193)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4410)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      5. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4228)
      6. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3816)
      6 frames
    36. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
      1 frame
    37. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    38. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
      1 frame
    39. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
      1 frame
    40. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
      1 frame
    41. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      1 frame
    42. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
      1 frame
    43. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      1 frame
    44. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
      1 frame
    45. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    46. 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:388)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      4 frames
    47. 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:498)
      4 frames
    48. Equinox
      Main.main
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
      4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
      4 frames