[ 
https://issues.apache.org/jira/browse/TILES-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15409696#comment-15409696
 ] 

Gokcen Guner commented on TILES-561:
------------------------------------

[~nlebas], I don't get why you closed this issue. I am having same issue with 
Tiles 3.0.5. Should I create a new ticket?
If there is a solution, I think it should be shared before closing any issue 
with "*Won't Fix*" status.

> 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: 2.2.2
>         Environment: win 7, IntelliJ latest, embeded tomcat7, struts2 
> 2.3.4.1, tiles 2.2.2, maven
>            Reporter: Pirzada Rashid
>              Labels: maven
>         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
>  . Seems there is no solution to it because I have spent hrs struggling. 
> 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)
> *Conclusion*
> After alot of testing and checking, the problem is with embedded tomcat7 
> instance which is not working with the above web.xml configuration and 
> genertating error. Below is the *pom* plugin that if run tomcat7:run will 
> generate the error
>  <plugin>
>                 <groupId>org.apache.tomcat.maven</groupId>
>                 <artifactId>tomcat7-maven-plugin</artifactId>
>                 <version>2.0</version>
>                 <configuration>
>                     <port>8000</port>
>                 </configuration>
>             </plugin>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to