[
http://www.stripesframework.org/jira/browse/STS-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11626#action_11626
]
Jonathan Scher commented on STS-635:
------------------------------------
As this issue has been patched, I do not have the corresponding code anymore.
It may still be on SVN, but I don't have time to check today. If I got a little
time this week, I'll try to reproduce it in a brand new project.
hint : We "patched" this issue with removing a dispatcher "ERROR" from the
web.xml conf
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.bkml</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
(some of our pages is in a middleware language : those files are named xxx.bkml)
> Rare case of exception loop
> ---------------------------
>
> Key: STS-635
> URL: http://www.stripesframework.org/jira/browse/STS-635
> Project: Stripes
> Issue Type: Bug
> Environment: stripes 1.5
> Reporter: Jonathan Scher
> Attachments: err
>
>
> I have an exception loop :
> public Resolution handle(Exception exception, HttpServletRequest req,
> HttpServletResponse res) {
> logger.error("Error : " + exception.getMessage(), exception);
> new ForwardResolution(beanClass, action);
> }
> One of my JSP throws a nullPointerException. Then Stripes handle the error,
> but.... tries to bind a property from the jsp to my "ErrorActionBean". This
> doesn't work, as my Error class hasn't got any properties. Then it throws an
> exception, and here we go again. I'll try to add a trace as log...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development