[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-3516) SWT Exception Occurs in JSF FormEditor

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Wed Jan 14 10:11:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Azarov resolved JBIDE-3516.
----------------------------------

    Resolution: Done


> SWT Exception Occurs in JSF FormEditor
> --------------------------------------
>
>                 Key: JBIDE-3516
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3516
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.0.0.cr1
>         Environment: Ubuntu Linux 8.04 (hardy)
>            Reporter: Denis Golovin
>            Assignee: Daniel Azarov
>            Priority: Critical
>             Fix For: 3.0.0.CR2
>
>         Attachments: JBIDE-3516.swf
>
>
> Steps to reproduce:
> EXECUTE: 1. Checkout Examples plugin from https://svn.jboss.org/repos/jbosstools/trunk/examples/plugins/org.jboss.tools.project.examples
> ASSERT: 2. org.jboss.tools.project.examples is included in JBossTools Run Configuration
> EXECUTE: 3. Start JBossTools from Development environment
> ASSERT: 4. Help item in BarMenu has "Project Exaples..." item
> EXECUTE: 5. Project Examples dialog
> EXECUTE: 6. Open RichFaces category and import "RichFaces Demo Application" into workspace
> EXECUTE: 7. Make a QuickFix for JBoss 4.2 Runtime
> EXECUTE: 8. Open /richfaces-demo/src/main/webapp/WEB-INF/faces-config.xml
> EXECUTE: 9. Select Managed Beans/componentNavigator
> EXECUTE: 10. Create New map-list Entry in it
> EXECUTE: 11. Select created map-list entry in tree
> EXECUTE: 12. Resize an faces-config editor
> ASSERT: 13. There are no exceptions in Error Log View
> Now it fails on step 13 with an exception below
> java.lang.IllegalArgumentException: Argument not valid
> 	at org.eclipse.swt.SWT.error(SWT.java:3761)
> 	at org.eclipse.swt.SWT.error(SWT.java:3695)
> 	at org.eclipse.swt.SWT.error(SWT.java:3666)
> 	at org.eclipse.swt.graphics.GC.setFont(GC.java:3309)
> 	at org.eclipse.ui.forms.widgets.ExpandableComposite$ExpandableLayout.layout(ExpandableComposite.java:296)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Canvas.setBounds(Canvas.java:330)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:689)
> 	at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:193)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.custom.SashFormLayout.layout(SashFormLayout.java:159)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:689)
> 	at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:193)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:689)
> 	at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:193)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.jboss.tools.common.model.ui.forms.DefaultFormPage$FormLayout.layout(DefaultFormPage.java:202)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:654)
> 	at org.eclipse.swt.custom.CTabFolderLayout.layout(CTabFolderLayout.java:78)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:682)
> 	at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
> 	at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1242)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:654)
> 	at org.eclipse.ui.internal.LayoutPart.setBounds(LayoutPart.java:300)
> 	at org.eclipse.ui.internal.presentations.PresentablePart.setBounds(PresentablePart.java:170)
> 	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layoutContent(PresentablePartFolder.java:131)
> 	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layout(PresentablePartFolder.java:412)
> 	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.setBounds(PresentablePartFolder.java:260)
> 	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.setBounds(TabbedStackPresentation.java:231)
> 	at org.eclipse.ui.internal.PartStack.setBounds(PartStack.java:1198)
> 	at org.eclipse.ui.internal.LayoutTree.doSetBounds(LayoutTree.java:547)
> 	at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538)
> 	at org.eclipse.ui.internal.PartSashContainer.resizeSashes(PartSashContainer.java:811)
> 	at org.eclipse.ui.internal.PartSashContainer.access$1(PartSashContainer.java:801)
> 	at org.eclipse.ui.internal.PartSashContainer$1.controlResized(PartSashContainer.java:171)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:222)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:828)
> 	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:1239)
> 	at org.eclipse.swt.widgets.Control.setBounds(Control.java:654)
> 	at org.eclipse.ui.internal.PartSashContainer.setBounds(PartSashContainer.java:852)
> 	at org.eclipse.ui.internal.LayoutTree.doSetBounds(LayoutTree.java:547)
> 	at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538)
> 	at org.eclipse.ui.internal.LayoutTreeNode.doSetBounds(LayoutTreeNode.java:536)
> 	at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538)
> 	at org.eclipse.ui.internal.LayoutTreeNode.doSetBounds(LayoutTreeNode.java:536)
> 	at org.eclipse.ui.internal.LayoutTree.setBounds(LayoutTree.java:538)
> 	at org.eclipse.ui.internal.LayoutPartSash.widgetSelected(LayoutPartSash.java:285)
> 	at org.eclipse.ui.internal.LayoutPartSash.access$1(LayoutPartSash.java:268)
> 	at org.eclipse.ui.internal.LayoutPartSash$1.widgetSelected(LayoutPartSash.java:66)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)
> 	at org.eclipse.swt.widgets.Sash.gtk_motion_notify_event(Sash.java:374)
> 	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1549)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4506)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099)
> 	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5792)
> 	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177)
> 	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1550)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:386)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	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.equinox.launcher.Main.invokeFramework(Main.java:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list