myfaces-dev mailing list archives

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


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(
	at com.sun.faces.application.view.StateManagementStrategyImpl.access$400(
	at com.sun.faces.application.view.StateManagementStrategyImpl$AddRemoveListener.processEvent(
	at javax.faces.event.SystemEvent.processListener(
	at com.sun.faces.application.ApplicationImpl.processListeners(
	at com.sun.faces.application.ApplicationImpl.invokeViewListenersFor(
	at com.sun.faces.application.ApplicationImpl.publishEvent(
	at org.apache.myfaces.trinidad.component.UIXComponentBase._publishPostAddToViewEvent(
	at org.apache.myfaces.trinidad.component.UIXComponentBase.setParent(
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(
	at org.apache.myfaces.trinidad.component.ChildArrayList.add(

> Trinidad 2 - NPE when adding component programatically
> ------------------------------------------------------
>                 Key: TRINIDAD-1670
>                 URL:
>             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.

View raw message