myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (ORCHESTRA-15) Orchestra in Portal Environment
Date Mon, 10 Mar 2008 10:45:46 GMT

     [ https://issues.apache.org/jira/browse/ORCHESTRA-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Marinschek resolved ORCHESTRA-15.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Mario Ivankovits

Testing has resulted in the information that the bug is resolved.

Thanks Mario for your bug-fix, everything is working smoothly in the portlet environment now!
If using the MyFacesGenericPortlet, however, there is a class-cast exception - this is entirely
the fault of the MyFacesGenericPortlet, however - it wrongly casts the FacesContext to ServletFacesContextImpl.
The portlet should instead provide a FacesContextFactory as well.

regards,

Martin

> Orchestra in Portal Environment
> -------------------------------
>
>                 Key: ORCHESTRA-15
>                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-15
>             Project: MyFaces Orchestra
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: myfaces1.1.5, liferay portal4.3.3, orchestra-core1.0, tomcat 5.5
>            Reporter: Rashmi
>            Assignee: Mario Ivankovits
>            Priority: Blocker
>             Fix For: 1.1
>
>         Attachments: orchestraPortlet.zip, stacktrace.txt
>
>
> In the portlet environment ConversationManager is not getting initialized. The FrameworkAdapter.getCurrentInstance()
is as well NULL.
> The part of the exception is as follows:
> Caused by: java.lang.NullPointerException 
>         at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:90)

>         at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:76)

>         at org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope.getBean(AbstractSpringOrchestraScope.java:125)

>         at org.apache.myfaces.orchestra.conversation.spring.AbstractSpringOrchestraScope.get(AbstractSpringOrchestraScope.java:117)

>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:285)

>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)

>         at org.springframework.aop.target.SimpleBeanTargetSource.getTarget(SimpleBeanTargetSource.java:33)

>         at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.getTarget(Cglib2AopProxy.java:661)

>         at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:611)

>         at de.seat.mitarbeiterinfo.view.mitarbeiterlist$$EnhancerByCGLIB$$4f90561b.getMitarbeiterListModel(<generated>)

>         ... 125 more 
> The filter is not working as expected in Portlet environment but works perfetly well
in norman Servlet container. 
> Can myfaces-portlet-bridge be used in someway to configure the filter to run in portlet
environment?
> Thanks and Regards,
> Rashmi   

-- 
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