incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leszek Kowalski (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Commented: (ADFFACES-246) actual Trinidad demo does not work with opera 9.02
Date Sat, 17 Mar 2007 17:51:09 GMT

    [ https://issues.apache.org/jira/browse/ADFFACES-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481875
] 

Leszek Kowalski commented on ADFFACES-246:
------------------------------------------

Well, agentString is actually definied as 
  var agentString = navigator.userAgent.toLowerCase();
so indexOf("opera") was correct, and indexOf("Opera") is not.

BTW. I added these patches yesterday, so it wasn't that long. :D

> actual Trinidad demo does not work with opera 9.02
> --------------------------------------------------
>
>                 Key: ADFFACES-246
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-246
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Carsten Höhne
>             Fix For: 1.0.1-incubating-core-SNAPSHOT
>
>         Attachments: AgentFactoryImpl.diff, Core.diff
>
>
> My self compiled trinidad-demo do not work with opera as browser. Whereas firefox2.0rc3
does work
> My tomcat log say this:
> ---------------
> 19.10.2006 13:25:51 org.apache.catalina.core.ApplicationDispatcher invoke
> SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception
> java.lang.NullPointerException
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.isIE(CoreRenderer.java:514)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:140)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:181)
> 	at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:673)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:260)
> 	at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:277)
> 	at org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:132)
> ---------------
> So i tested the demos at irian and get the same errors. 
> All the demos for trinidad hosted on http://www.irian.at/ do nor work with opera. When
setting the user agents for opera to 3(ie) than the page displays but links are not working.
> ---snip-----------------
> HTTP Status 500 - 
> type Exception report
> message 
> description The server encountered an internal error () that prevented it from fulfilling
this request.
> exception 
> javax.servlet.ServletException: org.apache.jasper.JasperException
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:327)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:291)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:214)
> 	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
> 	org.apache.myfaces.trinidaddemo.webapp.RedirectFilter.doFilter(RedirectFilter.java:95)
> root cause 
> javax.faces.FacesException: org.apache.jasper.JasperException
> 	org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:426)
> 	org.apache.myfaces.trinidadinternal.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:41)
> 	org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:235)
> 	org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
> 	org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:178)
> 	org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:327)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:291)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:214)
> 	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
> 	org.apache.myfaces.trinidaddemo.webapp.RedirectFilter.doFilter(RedirectFilter.java:95)
> ------snap-------------

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