java.lang.ClassCastException: org.cloudfoundry.ide.eclipse.internal.server.ui.editor.AppStatsContentProvider$InstanceStatsAndInfo cannot be cast to org.cloudfoundry.client.lib.domain.InstanceStats

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via SpringSource Issue Tracker by Nieraj Singh (c), 1 year ago
org.cloudfoundry.ide.eclipse.internal.server.ui.editor.AppStatsContentProvider$InstanceStatsAndInfo cannot be cast to org.cloudfoundry.client.lib.domain.InstanceStats
via SpringSource Issue Tracker by Nieraj Singh (c), 1 year ago
org.cloudfoundry.ide.eclipse.internal.server.ui.editor.AppStatsContentProvider$InstanceStatsAndInfo cannot be cast to org.cloudfoundry.client.lib.domain.InstanceStats
java.lang.ClassCastException: org.cloudfoundry.ide.eclipse.internal.server.ui.editor.AppStatsContentProvider$InstanceStatsAndInfo cannot be cast to org.cloudfoundry.client.lib.domain.InstanceStats
at org.cloudfoundry.ide.eclipse.internal.server.ui.editor.ApplicationDetailsPart.fillInstancesContextMenu(ApplicationDetailsPart.java:1121)
at org.cloudfoundry.ide.eclipse.internal.server.ui.editor.ApplicationDetailsPart.access$16(ApplicationDetailsPart.java:1116)
at org.cloudfoundry.ide.eclipse.internal.server.ui.editor.ApplicationDetailsPart$14.menuAboutToShow(ApplicationDetailsPart.java:980)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:343)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:475)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:470)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1462)
at org.eclipse.swt.widgets.Menu.menuWillOpen(Menu.java:806)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSMenu.popUpContextMenu(NSMenu.java:77)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:278)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:4059)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.