myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahbaz Ali <shahbaz....@avanzasolutions.com>
Subject Re: Myfaces Upgrade Issues 1.1.5 to 1.2.9
Date Mon, 05 Jul 2010 09:55:25 GMT
Michael thanks for your response, Yes ,I am using tomahawk12-1.1.9 and tiles
2.0.4. Now as you suggested, I am trying to use Tiles 2.0.7 now and get back
to you soon.

On Mon, Jul 5, 2010 at 1:58 PM, Michael Heinen <mhn4dev@googlemail.com>wrote:

> Do you use the right version of tomahawk, tomahawk12-1.1.9 ?
>
> Which tiles version are you using?
> Tiles 2.0.7 works fine with tomahawk 12_1.1.9. Newer versions are not
> supported by tomahawk.
>
> Make sure to read the tiles migration guide if you update from an older
> struts-tiles version.
> See this web page and the other migration pages at the bottom.
> http://tiles.apache.org/2.0/framework/migration/tags.html
>
> Michael
>
> Am 05.07.2010 10:13, schrieb شہباز علئ :
>
>  Hi
>> Recently I have updated my application to myfaces 1.2.9 from myfaces 1.1.5
>> to get use of JSF 1.2 for this, I have updated:
>>
>> myfaces to 1.2.9
>> tomahawk to 1.1.9
>> jstl to jstl 1.2
>> richfaces to 3.2.0
>>
>>
>> I already being using Tomcat 6 as j2ee container which i dont need to
>> changed. But I am getting the following exception whenever I hit any tiles
>> configured page:
>> I have
>> configured
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl
>> too. But I cannot understand the issue. Please help !
>>
>> java.lang.NullPointerException
>> at
>>
>> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
>> at
>>
>> org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
>>  at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildView(JspTilesTwoViewHandlerImpl.java:450)
>> at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildTilesViewLikeContainer(JspTilesTwoViewHandlerImpl.java:354)
>>  at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:154)
>> at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.java:135)
>>  at
>>
>> com.avanza.unison.config.LocaleResolverViewHandler.renderView(LocaleResolverViewHandler.java:76)
>> at
>>
>> org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
>>  at
>>
>> org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
>> at
>>
>> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
>>  at
>> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>>
>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
>>  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
>> at org.ajax4jsf.Filter.doFilter(Filter.java:175)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.activityLoggingAspect(ApplicationRequestFilter.java:346)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.sessionDataAspect(ApplicationRequestFilter.java:322)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.transactionAspect(ApplicationRequestFilter.java:277)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.validURLForUser(ApplicationRequestFilter.java:249)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.authenticationAspect(ApplicationRequestFilter.java:222)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.licenseAuthentication(ApplicationRequestFilter.java:136)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.doFilter(ApplicationRequestFilter.java:118)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>>
>> com.avanza.unison.config.DataReloadFilter.doFilter(DataReloadFilter.java:42)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.activityLoggingAspect(ApplicationRequestFilter.java:346)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.sessionDataAspect(ApplicationRequestFilter.java:322)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.transactionAspect(ApplicationRequestFilter.java:277)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.validURLForUser(ApplicationRequestFilter.java:249)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.authenticationAspect(ApplicationRequestFilter.java:222)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.licenseAuthentication(ApplicationRequestFilter.java:136)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.doFilter(ApplicationRequestFilter.java:118)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>  at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>  at
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> at
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>  at
>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>>  at
>>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>>  at java.lang.Thread.run(Thread.java:619)
>> [ERROR - 11:57:50,548] {_ErrorPageWriter:496} - An exception occurred
>> javax.faces.FacesException: org.apache.tiles.TilesException
>>  at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:159)
>> at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderView(JspTilesTwoViewHandlerImpl.java:135)
>>  at
>>
>> com.avanza.unison.config.LocaleResolverViewHandler.renderView(LocaleResolverViewHandler.java:76)
>> at
>>
>> org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
>>  at
>>
>> org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:189)
>> at
>>
>> org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
>>  at
>> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>>
>> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:147)
>>  at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:276)
>> at org.ajax4jsf.Filter.doFilter(Filter.java:175)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.activityLoggingAspect(ApplicationRequestFilter.java:346)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.sessionDataAspect(ApplicationRequestFilter.java:322)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.transactionAspect(ApplicationRequestFilter.java:277)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.validURLForUser(ApplicationRequestFilter.java:249)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.authenticationAspect(ApplicationRequestFilter.java:222)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.licenseAuthentication(ApplicationRequestFilter.java:136)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.doFilter(ApplicationRequestFilter.java:118)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>>
>> com.avanza.unison.config.DataReloadFilter.doFilter(DataReloadFilter.java:42)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.activityLoggingAspect(ApplicationRequestFilter.java:346)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.sessionDataAspect(ApplicationRequestFilter.java:322)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.transactionAspect(ApplicationRequestFilter.java:277)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.validURLForUser(ApplicationRequestFilter.java:249)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.authenticationAspect(ApplicationRequestFilter.java:222)
>> at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.licenseAuthentication(ApplicationRequestFilter.java:136)
>>  at
>>
>> com.avanza.unison.config.ApplicationRequestFilter.doFilter(ApplicationRequestFilter.java:118)
>> at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>  at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>  at
>>
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> at
>>
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>  at
>>
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
>>  at
>>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
>>  at java.lang.Thread.run(Thread.java:619)
>> Caused by: org.apache.tiles.TilesException
>> at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildTilesViewLikeContainer(JspTilesTwoViewHandlerImpl.java:371)
>>  at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.renderTilesView(JspTilesTwoViewHandlerImpl.java:154)
>> ... 48 more
>> Caused by: java.lang.NullPointerException
>> at
>>
>> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
>>  at
>>
>> org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
>> at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildView(JspTilesTwoViewHandlerImpl.java:450)
>>  at
>>
>> org.apache.myfaces.tomahawk.application.jsp.JspTilesTwoViewHandlerImpl.buildTilesViewLikeContainer(JspTilesTwoViewHandlerImpl.java:354)
>>
>>
>
>


-- 
Regards,

Syed Shahbaz Ali
Senior Software Engineer
Core Development Group
Avanza Solutions
Tel: +92 21 567 5240 - 42
Direct : +92 333 334 8865
Fax: +92 567 5244
URL: http://www.avanzasolutions.com


Disclaimer
“The information contained in this email is confidential and may contain
proprietary information. It is meant solely for the intended recipient.
Access to this email by anyone else is unauthorized. If you are not the
intended recipients, any disclosure, copying, distribution or any action
taken or omitted in reliance on this, is prohibited and may be unlawful. No
liability or responsibility is accepted if information or data is, for
whatever reason corrupted or does not reach its intended recipient. No
warranty is given that this email is free of viruses.”

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message