[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-3477) Opening .xhtml file in Visual Editor Results in AssertionFailedException. Closing and Re-opening the same file a second time succeeds.

Tony Kay (JIRA) jira-events at lists.jboss.org
Wed Dec 31 14:47:54 EST 2008


Opening .xhtml file in Visual Editor Results in AssertionFailedException. Closing and Re-opening the same file a second time succeeds.
--------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBIDE-3477
                 URL: https://jira.jboss.org/jira/browse/JBIDE-3477
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Visual Page Editor core
    Affects Versions: 3.0.0.cr1
         Environment: OSX 10.5, Eclipse 3.4.1, WTP 3.0.3, DTP 1.6.1, EMF 2.4.1, GEF 3.4.1, JBoss Tools 3.0.0.CR1, WTP 3.0.3, Seam 2.1.1-GA
            Reporter: Tony Kay


When I open a page in the visual editor, it almost always throws this error:

org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
at org.eclipse.jface.util.Assert.isTrue(Assert.java:185)
at org.eclipse.jface.util.Assert.isTrue(Assert.java:170)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.setActivePage(JSPMultiPageEditorPart.java:276)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:452)
at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:125)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)

If I close the window and re-open the file a second time, it succeeds.

I'm running the suggested version of WTP (with the correct dependencies, AFAIK).


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