[jbosstools-issues] [JBoss JIRA] (JBIDE-9807) testForSimpleText & testForElText
Denis Golovin (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Oct 12 21:42:15 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634343#comment-12634343 ]
Denis Golovin commented on JBIDE-9807:
--------------------------------------
Here is the real problem :) without blaming get method.
The reason method get returns nothing is
{code}visualContainer.appendChild(visualNewNode){code}
which is actually adding copy of passed node not the node itself.
It means our visual<=>source mapping saves not the nodes added to document but copies. That's why get is not working and iterator solution is.
> testForSimpleText & testForElText
> ---------------------------------
>
> Key: JBIDE-9807
> URL: https://issues.jboss.org/browse/JBIDE-9807
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Affects Versions: 3.3.0.M3
> Reporter: Denis Maliarevich
> Assignee: Denis Golovin
> Priority: Minor
> Fix For: 3.3.0.M4
>
>
> [testForSimpleText |http://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.component--jsf/450/testReport/junit/org.jboss.tools.jsf.vpe.jsf.test/JsfAllTests/testForSimpleText/] & [testForElText|http://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.component--jsf/450/testReport/junit/org.jboss.tools.jsf.vpe.jsf.test/JsfAllTests/testForElText/]
> ----
> java.lang.NullPointerException
> at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE2584Test.testForSimpleText(JBIDE2584Test.java:75)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ----
> java.lang.NullPointerException
> at org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE2584Test.testForElText(JBIDE2584Test.java:115)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ----
--
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