myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabrielle Crawford (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1670) Trinidad 2 - NPE when adding component programatically
Date Mon, 04 Jan 2010 22:02:54 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796378#action_12796378
] 

Gabrielle Crawford commented on TRINIDAD-1670:
----------------------------------------------

That's not the exception I'm seeing

1. follow the instructions on the setup page to test partial state saving (there is a link
to the setup page on the partialAddComponent page)
2. once partial state saving is enabled run partialAddComponent.jspx
3. click the "add a component" button

I get the exception

<MethodExpressionActionListener><processAction> java.lang.NullPointerException
	at com.sun.faces.application.view.StateManagementStrategyImpl.handleAddEvent(StateManagementStrategyImpl.java:440)
	at com.sun.faces.application.view.StateManagementStrategyImpl.access$400(StateManagementStrategyImpl.java:87)
	at com.sun.faces.application.view.StateManagementStrategyImpl$AddRemoveListener.processEvent(StateManagementStrategyImpl.java:500)
	at javax.faces.event.SystemEvent.processListener(SystemEvent.java:102)
	at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:1993)
	at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(ApplicationImpl.java:1920)
	at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:288)
	at org.apache.myfaces.trinidad.component.UIXComponentBase._publishPostAddToViewEvent(UIXComponentBase.java:1192)
	at org.apache.myfaces.trinidad.component.UIXComponentBase.setParent(UIXComponentBase.java:416)
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayList.java:61)
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayList.java:69)


> Trinidad 2 - NPE when adding component programatically
> ------------------------------------------------------
>
>                 Key: TRINIDAD-1670
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1670
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-core
>            Reporter: Gabrielle Crawford
>            Assignee: Matthias We├čendorf
>         Attachments: web_xml_diff
>
>
> run the test stateSaving/partialAddComponent.jspx, get an NPE. Note that when I comment
out some of the code added my Matthias for Trinidad 1611 in rev 883285 I get farther.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message