[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-2346) java.lang.NullPointerException when delete navigation rule from Graphical tab on pages.xml

Anton Klimkovich (JIRA) jira-events at lists.jboss.org
Tue Jun 17 07:27:33 EDT 2008


java.lang.NullPointerException when delete navigation rule from Graphical tab on pages.xml
------------------------------------------------------------------------------------------

                 Key: JBIDE-2346
                 URL: http://jira.jboss.com/jira/browse/JBIDE-2346
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: XML Structured Editor
    Affects Versions: 3.0.alpha
         Environment: Build id: 200806161541-nightly
Build date: 06/16/2008 15:46
            Reporter: Anton Klimkovich
         Attachments: exception.txt, exception2.txt

EXECUTE: Create Seam war web project
EXECUTE: Open pages.xml
ASSERT:    The  pages.xml should be opened in JBT XML Editor
EXECUTE: Switch to Graphical tab
EXECUTE: Select New Link icon and join /error.xhtml with /home.xhtml
EXECUTE: Switch to Source tab 
EXECUTE: Delete 
<page view-id="/error.xhtml">
  <navigation>
   <redirect view-id="/home.xhtml"/>
  </navigation>
 </page>
EXECUTE: Switch to Graphical tab
ASSERT:    Link that joined   /error.xhtml with /home.xhtml should be deleted.
FAILURE:   The link isn't deleted.
EXECUTE: Select this Link -> Right mouse click -> Select Delete from context menu.
FAILURE:    The link isn't deleted. NPE is occured.
For Cut option the same behavior.

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

        



More information about the jbosstools-issues mailing list