[
https://issues.apache.org/jira/browse/TILES-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pirzada Rashid updated TILES-561:
---------------------------------
Description:
Demo project is attached but problem is throughly discussed at
http://stackoverflow.com/questions/13126201/struts2-tiles-org-apache-tiles-extras-complete-completeautoloadtileslistener-int
but seems there is no solution to it. Guy already worked on tiles 2.2.2 says
that with struts2 2.3.4.1 web.xml defining extras listener breaking the
project.
In Short:
*web.xml*
<listener>
<listener-class>org.apache.tiles.extras.complete.CompleteAutoloadTilesListener</listener-class>
</listener>
*generating error*
SEVERE: Exception sending context initialized event to listener instance of
class org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
java.lang.NullPointerException
at
org.apache.tiles.el.JspExpressionFactoryFactory.getExpressionFactory(JspExpressionFactoryFactory.java:61)
at
org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createELEvaluator(CompleteAutoloadTilesContainerFactory.java:242)
at
org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createAttributeEvaluatorFactory(CompleteAutoloadTilesContainerFactory.java:182)
at
org.apache.tiles.factory.BasicTilesContainerFactory.createContainer(BasicTilesContainerFactory.java:88)
was:
Demo project is attached but problem is throughly discussed at
http://stackoverflow.com/questions/13126201/struts2-tiles-org-apache-tiles-extras-complete-completeautoloadtileslistener-int
but seems there is no solution to it. Guy already worked on tiles 2.2.2 says
that with
In Short:
*web.xml*
<listener>
<listener-class>org.apache.tiles.extras.complete.CompleteAutoloadTilesListener</listener-class>
</listener>
*generating error*
SEVERE: Exception sending context initialized event to listener instance of
class org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
java.lang.NullPointerException
at
org.apache.tiles.el.JspExpressionFactoryFactory.getExpressionFactory(JspExpressionFactoryFactory.java:61)
at
org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createELEvaluator(CompleteAutoloadTilesContainerFactory.java:242)
at
org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createAttributeEvaluatorFactory(CompleteAutoloadTilesContainerFactory.java:182)
at
org.apache.tiles.factory.BasicTilesContainerFactory.createContainer(BasicTilesContainerFactory.java:88)
> java.lang.NullPointerException at
> org.apache.tiles.el.JspExpressionFactoryFactory.getExpressionFactory
> ------------------------------------------------------------------------------------------------------
>
> Key: TILES-561
> URL: https://issues.apache.org/jira/browse/TILES-561
> Project: Tiles
> Issue Type: Bug
> Components: tiles-extras
> Affects Versions: 3.0.1
> Environment: win 7, IntelliJ latest, embeded tomcat7, struts2
> 2.3.4.1, tiles 3.0.1, maven
> Reporter: Pirzada Rashid
> Priority: Blocker
> Labels: patch
> Attachments: Struts2_Tiles_JSP.rar
>
>
> Demo project is attached but problem is throughly discussed at
> http://stackoverflow.com/questions/13126201/struts2-tiles-org-apache-tiles-extras-complete-completeautoloadtileslistener-int
> but seems there is no solution to it. Guy already worked on tiles 2.2.2 says
> that with struts2 2.3.4.1 web.xml defining extras listener breaking the
> project.
> In Short:
> *web.xml*
> <listener>
>
> <listener-class>org.apache.tiles.extras.complete.CompleteAutoloadTilesListener</listener-class>
> </listener>
> *generating error*
> SEVERE: Exception sending context initialized event to listener instance of
> class org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
> java.lang.NullPointerException
> at
> org.apache.tiles.el.JspExpressionFactoryFactory.getExpressionFactory(JspExpressionFactoryFactory.java:61)
> at
> org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createELEvaluator(CompleteAutoloadTilesContainerFactory.java:242)
> at
> org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createAttributeEvaluatorFactory(CompleteAutoloadTilesContainerFactory.java:182)
> at
> org.apache.tiles.factory.BasicTilesContainerFactory.createContainer(BasicTilesContainerFactory.java:88)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira