[jbosstools-issues] [JBoss JIRA] (JBIDE-9827) NPE occurs when edit big page

Denis Golovin (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 14:58:16 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634285#comment-12634285 ] 

Denis Golovin commented on JBIDE-9827:
--------------------------------------

There is a simple way to explain that null pointer exception and key line that is the reason for that is [line 334 in VpeVisualDomBuilder|https://source.jboss.org/browse/JBossTools/trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeVisualDomBuilder.java?hb=true#to334]. This line drives UI events processing form UI thread and that triggers processing for source nodes which is not supposed to happen until control get out of VpeVisualBuilder. If line 334 is commented out null check is not required.
                
> NPE occurs when edit big page 
> ------------------------------
>
>                 Key: JBIDE-9827
>                 URL: https://issues.jboss.org/browse/JBIDE-9827
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M3
>            Reporter: Maxim Areshkau
>            Assignee: Denis Maliarevich
>             Fix For: 3.3.0.M4
>
>         Attachments: employee.xhtml, JBIDE-9827.diff, npe.png, npe.txt
>
>
> NPE occurs when edit big page.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list