Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Class cast exception on customizer OK click
Class cast exception on customizer OK click [message #607764] Sun, 15 May 2005 00:33
Gerald Rosenberg is currently offline Gerald RosenbergFriend
Messages: 106
Registered: July 2009
Senior Member
Suddenly getting the error below any time I click VE's OK button on my
customizer. My code seems to complete entirely. The property sheet
gets updated with the correct values. No code is generated, though.

Any idea the cause? Suggestions on how to debug/determine what class is
causing the problem? What is the minimum necessary VE part of CVS that
I should check out to support debugging this?



!ENTRY org.eclipse.ve.java.core 2 0 2005-05-14 17:24:14.231
!MESSAGE Exception thrown.
!STACK 0
java.lang.ClassCastException:
org.eclipse.ve.internal.java.core.TypeReferenceCellEditor
at
org.eclipse.ve.internal.java.core.CustomizeJavaBeanAction.cu stomizerOK
(CustomizeJavaBeanAction.java:234)
at org.eclipse.ve.internal.java.core.CustomizeJavaBeanAction.ru n
(CustomizeJavaBeanAction.java:137)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection
(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t
(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2894)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2527)
at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1570)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:306)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:156)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
at org.eclipse.core.launcher.Main.run(Main.java:942)
at org.eclipse.core.launcher.Main.main(Main.java:926)
Previous Topic:Adding JRadioButton to ButtonGroup generates improper code
Next Topic:How to add compontents to the Visual Editor design - palette
Goto Forum:
  


Current Time: Thu Apr 25 22:58:13 GMT 2024

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top