[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3140) VPE Sash is broken (java.lang.ArithmeticException: / by zero)

Denis Golovin (JIRA) jira-events at lists.jboss.org
Fri Nov 7 12:59:36 EST 2008


VPE Sash is broken (java.lang.ArithmeticException: / by zero)
-------------------------------------------------------------

                 Key: JBIDE-3140
                 URL: https://jira.jboss.org/jira/browse/JBIDE-3140
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Visual Page Editor core
    Affects Versions: 3.0.0.cr1
            Reporter: Denis Golovin
            Assignee: Maxim Areshkau
             Fix For: 3.0.0.cr1


TEST CASE:
1. EXECUTE: Create Seam WAR project
2. EXECUTE: Open any xhtml file from WebContent
3. EXECUTE: Maximize VPE part using button ^ on splitter
4. EXECUTE: Switch to source tab
5. ASSERT: Source code is visible
6. EXECUTE: Close Visual Editor
7. EXECUTE: Open the same file again
8: ASSERT: it shows Visual Editor with VPE part maximized and there are no exceptions

Now it fails on steps 5 and 8.

Exception is:
Create 
java.lang.ArithmeticException: / by zero
at org.eclipse.swt.custom.SashFormLayout.layout(SashFormLayout.java:175)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1423)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:919)
at org.eclipse.swt.widgets.Composite.layout(Composite.java:877)
at org.jboss.tools.vpe.editor.xpl.CustomSashForm.layout(CustomSashForm.java:233)
at org.jboss.tools.vpe.editor.xpl.CustomSashForm$1.handleEvent(CustomSashForm.java:137)
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:682)

-- 
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