- This topic has 3 replies, 4 voices, and was last updated 19 years, 4 months ago by Scott Anderson.
-
AuthorPosts
-
Brett ConnorMember– System Setup ——————————-
Operating System and version: WinXP Pro
Eclipse version: 3.1M7
Eclipse build id: I20050513-1415
Fresh Eclipse install (y/n): y
Other installed external plugins: Log4e
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 7
MyEclipse version: 3.8.4
Eclipse JDK version: 1.5.2_02
Are there any exceptions in the Eclipse log file? Yes – below
Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:– Message Body ——————————-
I want to add my own snippets, so I opened the snippets view (from Fastview), R click, select ‘configure’ from menu, get a new blank dialog sometimes, others not even that, and some exceptions.
The exceptions are generally wrapped in ‘unhandled event loop exception’.The error log from three attempts is pasted below (I have not edited at all).
Regards
Brett——————————————————————————–
!ENTRY org.eclipse.ui 4 4 2005-06-02 18:19:12.00
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-06-02 18:19:12.00
!MESSAGE org.eclipse.swt.layout.GridData
!STACK 0
java.lang.ClassCastException: org.eclipse.swt.layout.GridData
at org.eclipse.swt.layout.FillLayout.computeChildSize(FillLayout.java:141)
at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.java:119)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog$7.computeSize(PaletteCustomizerDialog.java:498)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:186)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:869)
at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1248)
at org.eclipse.swt.widgets.Canvas.WM_SIZE(Canvas.java:251)
at org.eclipse.swt.widgets.Decorations.WM_SIZE(Decorations.java:1680)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3107)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1493)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3513)
at org.eclipse.swt.internal.win32.OS.ShowWindow(Native Method)
at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1306)
at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1287)
at org.eclipse.swt.widgets.Shell.open(Shell.java:818)
at org.eclipse.jface.window.Window.open(Window.java:783)
at com.ibm.sse.snippets.internal.palette.SnippetCustomizerDialog.open(SnippetCustomizerDialog.java:206)
at org.eclipse.gef.ui.palette.CustomizeAction.run(CustomizeAction.java:56)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
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:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)!ENTRY org.eclipse.ui 4 4 2005-06-02 18:26:45.281
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-06-02 18:26:45.281
!MESSAGE org.eclipse.swt.layout.GridData
!STACK 0
java.lang.ClassCastException: org.eclipse.swt.layout.GridData
at org.eclipse.swt.layout.FillLayout.computeChildSize(FillLayout.java:141)
at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.java:119)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog$7.computeSize(PaletteCustomizerDialog.java:498)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java:155)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.jface.window.Window.getInitialSize(Window.java:581)
at org.eclipse.jface.window.Window.initializeBounds(Window.java:750)
at org.eclipse.jface.dialogs.Dialog.initializeBounds(Dialog.java:643)
at org.eclipse.jface.window.Window.create(Window.java:422)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at org.eclipse.jface.window.Window.open(Window.java:776)
at com.ibm.sse.snippets.internal.palette.SnippetCustomizerDialog.open(SnippetCustomizerDialog.java:206)
at org.eclipse.gef.ui.palette.CustomizeAction.run(CustomizeAction.java:56)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
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:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)!ENTRY org.eclipse.ui 4 4 2005-06-02 18:26:45.296
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-06-02 18:26:45.296
!MESSAGE Failed to execute runnable (java.lang.IllegalArgumentException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException)
at org.eclipse.swt.SWT.error(SWT.java:2940)
at org.eclipse.swt.SWT.error(SWT.java:2863)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2898)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2557)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
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:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.IllegalArgumentException
at sun.text.CharArrayCodePointIterator.<init>(Unknown Source)
at sun.text.CodePointIterator.create(Unknown Source)
at java.text.Bidi.requiresBidi(Unknown Source)
at org.eclipse.draw2d.text.BidiProcessor.process(BidiProcessor.java:190)
at org.eclipse.draw2d.text.BlockFlow.validate(BlockFlow.java:265)
at org.eclipse.draw2d.text.FlowPage.validate(FlowPage.java:132)
at org.eclipse.draw2d.text.FlowPage.getPreferredSize(FlowPage.java:78)
at org.eclipse.draw2d.text.FlowPage.getMinimumSize(FlowPage.java:48)
at org.eclipse.draw2d.ViewportLayout.calculatePreferredSize(ViewportLayout.java:65)
at org.eclipse.draw2d.AbstractLayout.getPreferredSize(AbstractLayout.java:93)
at org.eclipse.draw2d.AbstractHintLayout.getPreferredSize(AbstractHintLayout.java:86)
at org.eclipse.draw2d.Figure.getPreferredSize(Figure.java:737)
at org.eclipse.draw2d.ScrollPaneSolver.solve(ScrollPaneSolver.java:75)
at org.eclipse.draw2d.FigureCanvas.layoutViewport(FigureCanvas.java:236)
at org.eclipse.draw2d.FigureCanvas.access$4(FigureCanvas.java:234)
at org.eclipse.draw2d.FigureCanvas$3.notifyValidating(FigureCanvas.java:199)
at org.eclipse.draw2d.UpdateManager.fireValidating(UpdateManager.java:101)
at org.eclipse.draw2d.DeferredUpdateManager.validateFigures(DeferredUpdateManager.java:267)
at org.eclipse.draw2d.DeferredUpdateManager.performUpdate(DeferredUpdateManager.java:143)
at org.eclipse.draw2d.DeferredUpdateManager$UpdateRequest.run(DeferredUpdateManager.java:40)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
… 18 more!ENTRY org.eclipse.ui 4 4 2005-06-02 18:27:19.421
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-06-02 18:27:19.437
!MESSAGE org.eclipse.swt.layout.GridData
!STACK 0
java.lang.ClassCastException: org.eclipse.swt.layout.GridData
at org.eclipse.swt.layout.FillLayout.computeChildSize(FillLayout.java:141)
at org.eclipse.swt.layout.FillLayout.computeSize(FillLayout.java:119)
at org.eclipse.swt.widgets.Composite.computeSize(Composite.java:213)
at org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog$7.computeSize(PaletteCustomizerDialog.java:498)
at org.eclipse.swt.layout.GridData.computeSize(GridData.java:463)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:207)
at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:186)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:869)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:493)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:458)
at org.eclipse.swt.widgets.Composite.updateFont(Composite.java:858)
at org.eclipse.swt.widgets.Composite.updateFont(Composite.java:848)
at org.eclipse.swt.widgets.Composite.updateFont(Composite.java:848)
at org.eclipse.swt.widgets.Composite.updateFont(Composite.java:848)
at org.eclipse.swt.widgets.Display.updateFont(Display.java:3423)
at org.eclipse.swt.widgets.Display.messageProc(Display.java:2300)
at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2105)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2549)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.pde.internal.runtime.logview.EventDetailsDialog.open(EventDetailsDialog.java:143)
at org.eclipse.pde.internal.runtime.logview.EventDetailsDialogAction.run(EventDetailsDialogAction.java:91)
at org.eclipse.pde.internal.runtime.logview.LogView$12.doubleClick(LogView.java:336)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:720)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:718)
at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:950)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1057)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:219)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:216)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:275)
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:2921)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2554)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1601)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1565)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:315)
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:230)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:371)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:160)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:330)
at org.eclipse.core.launcher.Main.basicRun(Main.java:274)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Riyad KallaMemberWe are tracking this class cast exception w.r.t. to GridLayouts in the UI in two other bug reports, I am going to add your findings to it. Seems to be a platform change that we didn’t account for.
Daniel SerodioMemberAny news on this? I’d really like to use the Snippets view…
Scott AndersonParticipantIt’s a bug in the build you’re using that has been fixed in 4.0M2. You’ll need to install the production release of Eclipse 3.1 (won’t work with M7) and MyEclipse 4.0M2 and the snippets will work fine.
-
AuthorPosts