java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData

Pentaho BI Platform Tracking | Brandon Bruce | 5 years ago
  1. 0

    1. install the following build: http://ci.pentaho.com/job/pdi-ee-assembly/9243/ 2.run the start-servers.bat 3.run the launch-designer.bat 4.Import the attached xml or use the "Getting started" transformation 5.Make sure the transformation runs. It uses the foodmart database 6.Right click on the output step and choose model 7.Click Auto populate button. Nothing happens. I got this to work on an earlier build so it was probably broken around the beginning of November or end of October The console shows the following error: Exception in thread "Thread-40" java.lang.NoSuchMethodError: org.pentaho.agilebi.modeler.nodes.BaseColumnBackedMetaData.setUniqueList(Z)V at org.pentaho.agilebi.modeler.nodes.LevelMetaData.<init>(LevelMetaData.java:48) at org.pentaho.agilebi.modeler.ModelerWorkspace.createLevelForParentWithNode(ModelerWorkspace.java:341) at org.pentaho.agilebi.modeler.ModelerWorkspace.createHierarchyForParentWithNode(ModelerWorkspace.java:382) at org.pentaho.agilebi.modeler.ModelerWorkspace.createDimensionFromNode(ModelerWorkspace.java:284) at org.pentaho.agilebi.modeler.ModelerWorkspace.addDimensionFromNode(ModelerWorkspace.java:322) at org.pentaho.agilebi.modeler.strategy.SimpleAutoModelStrategy.autoModelOlap(SimpleAutoModelStrategy.java:123) at org.pentaho.agilebi.spoon.SpoonModelerWorkspaceHelper$1.run(SpoonModelerWorkspaceHelper.java:82) at java.lang.Thread.run(Unknown Source) If you drag fields, you get the following error: ERROR 02-12 10:36:19,653 - Error invoking method: modeler.onModelTreeDrop() java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:696) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NoSuchMethodError: org.pentaho.agilebi.modeler.nodes.BaseColumnBackedMetaData.setUniqueList(Z)V at org.pentaho.agilebi.modeler.nodes.LevelMetaData.<init>(LevelMetaData.java:48) at org.pentaho.agilebi.modeler.ModelerWorkspace.createLevelForParentWithNode(ModelerWorkspace.java:341) at org.pentaho.agilebi.modeler.ModelerWorkspace.createHierarchyForParentWithNode(ModelerWorkspace.java:382) at org.pentaho.agilebi.modeler.ModelerWorkspace.createDimensionFromNode(ModelerWorkspace.java:284) at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onDrop(DimensionMetaDataCollection.java:193) at org.pentaho.agilebi.modeler.ModelerTreeHelper.onModelDrop(ModelerTreeHelper.java:214) at org.pentaho.agilebi.modeler.ModelerController.onModelTreeDrop(ModelerController.java:117) ... 32 more ERROR 02-12 10:36:19,665 - Error calling ondrop event: modeler.onModelTreeDrop() org.pentaho.ui.xul.XulException: Error invoking method: modeler.onModelTreeDrop() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:333) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:696) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321) ... 27 more Caused by: java.lang.NoSuchMethodError: org.pentaho.agilebi.modeler.nodes.BaseColumnBackedMetaData.setUniqueList(Z)V at org.pentaho.agilebi.modeler.nodes.LevelMetaData.<init>(LevelMetaData.java:48) at org.pentaho.agilebi.modeler.ModelerWorkspace.createLevelForParentWithNode(ModelerWorkspace.java:341) at org.pentaho.agilebi.modeler.ModelerWorkspace.createHierarchyForParentWithNode(ModelerWorkspace.java:382) at org.pentaho.agilebi.modeler.ModelerWorkspace.createDimensionFromNode(ModelerWorkspace.java:284) at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onDrop(DimensionMetaDataCollection.java:193) at org.pentaho.agilebi.modeler.ModelerTreeHelper.onModelDrop(ModelerTreeHelper.java:214) at org.pentaho.agilebi.modeler.ModelerController.onModelTreeDrop(ModelerController.java:117) ... 32 more ERROR 02-12 10:36:19,697 - Spoon - An unexpected error occurred in Spoon: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData ERROR 02-12 10:36:19,705 - Spoon - java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onAdd(DimensionMetaDataCollection.java:32) at org.pentaho.ui.xul.util.AbstractModelNode.add(AbstractModelNode.java:225) at org.pentaho.ui.xul.swt.tags.SwtTree.onSwtDragDropAccepted(SwtTree.java:1940) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:713) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onAdd(DimensionMetaDataCollection.java:32) at org.pentaho.ui.xul.util.AbstractModelNode.add(AbstractModelNode.java:225) at org.pentaho.ui.xul.swt.tags.SwtTree.onSwtDragDropAccepted(SwtTree.java:1940) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:713) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

    Pentaho BI Platform Tracking | 5 years ago | Brandon Bruce
    java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData
  2. 0

    1. install the following build: http://ci.pentaho.com/job/pdi-ee-assembly/9243/ 2.run the start-servers.bat 3.run the launch-designer.bat 4.Import the attached xml or use the "Getting started" transformation 5.Make sure the transformation runs. It uses the foodmart database 6.Right click on the output step and choose model 7.Click Auto populate button. Nothing happens. I got this to work on an earlier build so it was probably broken around the beginning of November or end of October The console shows the following error: Exception in thread "Thread-40" java.lang.NoSuchMethodError: org.pentaho.agilebi.modeler.nodes.BaseColumnBackedMetaData.setUniqueList(Z)V at org.pentaho.agilebi.modeler.nodes.LevelMetaData.<init>(LevelMetaData.java:48) at org.pentaho.agilebi.modeler.ModelerWorkspace.createLevelForParentWithNode(ModelerWorkspace.java:341) at org.pentaho.agilebi.modeler.ModelerWorkspace.createHierarchyForParentWithNode(ModelerWorkspace.java:382) at org.pentaho.agilebi.modeler.ModelerWorkspace.createDimensionFromNode(ModelerWorkspace.java:284) at org.pentaho.agilebi.modeler.ModelerWorkspace.addDimensionFromNode(ModelerWorkspace.java:322) at org.pentaho.agilebi.modeler.strategy.SimpleAutoModelStrategy.autoModelOlap(SimpleAutoModelStrategy.java:123) at org.pentaho.agilebi.spoon.SpoonModelerWorkspaceHelper$1.run(SpoonModelerWorkspaceHelper.java:82) at java.lang.Thread.run(Unknown Source) If you drag fields, you get the following error: ERROR 02-12 10:36:19,653 - Error invoking method: modeler.onModelTreeDrop() java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:696) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NoSuchMethodError: org.pentaho.agilebi.modeler.nodes.BaseColumnBackedMetaData.setUniqueList(Z)V at org.pentaho.agilebi.modeler.nodes.LevelMetaData.<init>(LevelMetaData.java:48) at org.pentaho.agilebi.modeler.ModelerWorkspace.createLevelForParentWithNode(ModelerWorkspace.java:341) at org.pentaho.agilebi.modeler.ModelerWorkspace.createHierarchyForParentWithNode(ModelerWorkspace.java:382) at org.pentaho.agilebi.modeler.ModelerWorkspace.createDimensionFromNode(ModelerWorkspace.java:284) at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onDrop(DimensionMetaDataCollection.java:193) at org.pentaho.agilebi.modeler.ModelerTreeHelper.onModelDrop(ModelerTreeHelper.java:214) at org.pentaho.agilebi.modeler.ModelerController.onModelTreeDrop(ModelerController.java:117) ... 32 more ERROR 02-12 10:36:19,665 - Error calling ondrop event: modeler.onModelTreeDrop() org.pentaho.ui.xul.XulException: Error invoking method: modeler.onModelTreeDrop() at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:333) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:696) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:321) ... 27 more Caused by: java.lang.NoSuchMethodError: org.pentaho.agilebi.modeler.nodes.BaseColumnBackedMetaData.setUniqueList(Z)V at org.pentaho.agilebi.modeler.nodes.LevelMetaData.<init>(LevelMetaData.java:48) at org.pentaho.agilebi.modeler.ModelerWorkspace.createLevelForParentWithNode(ModelerWorkspace.java:341) at org.pentaho.agilebi.modeler.ModelerWorkspace.createHierarchyForParentWithNode(ModelerWorkspace.java:382) at org.pentaho.agilebi.modeler.ModelerWorkspace.createDimensionFromNode(ModelerWorkspace.java:284) at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onDrop(DimensionMetaDataCollection.java:193) at org.pentaho.agilebi.modeler.ModelerTreeHelper.onModelDrop(ModelerTreeHelper.java:214) at org.pentaho.agilebi.modeler.ModelerController.onModelTreeDrop(ModelerController.java:117) ... 32 more ERROR 02-12 10:36:19,697 - Spoon - An unexpected error occurred in Spoon: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData ERROR 02-12 10:36:19,705 - Spoon - java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onAdd(DimensionMetaDataCollection.java:32) at org.pentaho.ui.xul.util.AbstractModelNode.add(AbstractModelNode.java:225) at org.pentaho.ui.xul.swt.tags.SwtTree.onSwtDragDropAccepted(SwtTree.java:1940) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:713) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onAdd(DimensionMetaDataCollection.java:32) at org.pentaho.ui.xul.util.AbstractModelNode.add(AbstractModelNode.java:225) at org.pentaho.ui.xul.swt.tags.SwtTree.onSwtDragDropAccepted(SwtTree.java:1940) at org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:713) at org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source) at org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source) at org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(Unknown Source) at org.eclipse.swt.dnd.DragSource.access$0(Unknown Source) at org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

    Pentaho BI Platform Tracking | 5 years ago | Brandon Bruce
    java.lang.ClassCastException: org.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData
  3. 0
    When you have no build parameters, uncheck 'This build is parameterized'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  6. 0

    cannot be cast to javax.servlet.Filter | Oracle Community

    oracle.com | 9 months ago
    java.lang.ClassCastException: cannot be cast to javax.servlet.Filter

    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.pentaho.agilebi.modeler.nodes.AvailableField cannot be cast to org.pentaho.agilebi.modeler.nodes.DimensionMetaData

      at org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onAdd()
    2. org.pentaho.agilebi
      DimensionMetaDataCollection.onAdd
      1. org.pentaho.agilebi.modeler.nodes.DimensionMetaDataCollection.onAdd(DimensionMetaDataCollection.java:32)
      1 frame
    3. org.pentaho.ui
      SwtElement$3.drop
      1. org.pentaho.ui.xul.util.AbstractModelNode.add(AbstractModelNode.java:225)
      2. org.pentaho.ui.xul.swt.tags.SwtTree.onSwtDragDropAccepted(SwtTree.java:1940)
      3. org.pentaho.ui.xul.swt.SwtElement$3.drop(SwtElement.java:713)
      3 frames
    4. RWT
      DropTarget$3.method6
      1. org.eclipse.swt.dnd.DNDListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
      7. org.eclipse.swt.dnd.DropTarget.Drop(Unknown Source)
      8. org.eclipse.swt.dnd.DropTarget.Drop_64(Unknown Source)
      9. org.eclipse.swt.dnd.DropTarget$3.method6(Unknown Source)
      9 frames
    5. org.eclipse.swt
      COM.DoDragDrop
      1. org.eclipse.swt.internal.ole.win32.COMObject.callback6(Unknown Source)
      2. org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
      2 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.dnd.DragSource.drag(Unknown Source)
      2. org.eclipse.swt.dnd.DragSource.access$0(Unknown Source)
      3. org.eclipse.swt.dnd.DragSource$1.handleEvent(Unknown Source)
      4. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      6. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      7. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      7 frames
    7. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1148)
      2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6922)
      3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:548)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame