[
https://issues.apache.org/jira/browse/TRINIDAD-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672591#action_12672591
]
Robert Sauer commented on TRINIDAD-1376:
----------------------------------------
I can additionally confirm that this patch fixes several issues I had.
Basically my issues seem to be related to TRINIDAD-1376 and TRINIDAD-1383.
My example portlet currently uses {{tr:goLink}}, {{tr:commandButton}} and
{{tr:commandLink}}, which basically covers our needs.
Out of curiosity: what is the "official" example for getting Trinidad with the
Portlet Bridge up and running? Is there already something like this? Or is
there room for a contribution?
> NullPointerException because RequestContext released after action request.
> --------------------------------------------------------------------------
>
> Key: TRINIDAD-1376
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1376
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Portlet
> Affects Versions: 1.2.11-core
> Reporter: Felix Röthenbacher
> Assignee: Scott O'Bryan
> Attachments: TRINIDAD-1376-patch.txt, TRINIDAD-1376.patch
>
>
> RequestContext is released after action request which results in a
> NullPointerException in the following render request.
> The problem is in the method GlobalConfiguratorImpl.endRequest(final
> ExternalContext externalContext)
> Calling _releaseRequestContext(externalContext); removes the RequestContext
> from ThreadLocal.
> Any subsequent calls to RequestContext.getCurrentInstance() return null which
> breaks the render request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.