[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6204) VPE is empty and crashing

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Thu Apr 29 12:47:06 EDT 2010


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

Yahor Radtsevich resolved JBIDE-6204.
-------------------------------------

    Resolution: Done
      Assignee: Jiri Peterka  (was: Yahor Radtsevich)


RESOLVED in both trunk and 3.1.x branch.

The reason was a NPE after a call of org.eclipse.ui.IWorkbenchWindow.getActivePage(), which may be null if the page is not initialized. This statement was replaced by a call of org.eclipse.ui.part.WorkbenchPart.getSite().getPage() . Also see http://www.eclipse.org/forums/index.php?t=msg&th=156906 .

> VPE is empty and crashing
> -------------------------
>
>                 Key: JBIDE-6204
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-6204
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.1.0.GA, 3.2.next
>         Environment: Windows XP
>            Reporter: Yahor Radtsevich
>            Assignee: Jiri Peterka
>            Priority: Critical
>             Fix For: 3.1.1, 3.2.next
>
>         Attachments: hs_err_pid4268.log, screenshot-1.png
>
>
> STEPS TO REPRODUCE:
> 1. Close all opened files in Eclipse.
> 2. Open file 'trunk\jsf\tests\org.jboss.tools.jsf.vpe.jsf.test\resources\jsfTest\WebContent\pages\components\commandButton.jsp' in VPE
> 3. Close Eclipse.
> 4. Run eclipse again.
>    ACTUAL RESULT:
>    commandButton.jsp is opened in VPE and its visual representation is empty (see screenshot-1.png).
>    EXPECTED RESULT:
>    The visual representation is rendered by VPE.
> NOTE: If after these steps user clicks on the empty area in VPE, the Eclipse may crash with an error in xul.dll (see hs_err_pid4268.log).

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