better help for RequestContext was already released or never attached or added 
twice
------------------------------------------------------------------------------------

                 Key: ADFFACES-194
                 URL: http://issues.apache.org/jira/browse/ADFFACES-194
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
          Components: Archetype
            Reporter: Arjuna Wijeyekoon
            Priority: Trivial


Sometimes, in a misconfigured environment you get errors like:
java.lang.IllegalStateException: RequestContext was already released or had 
never been attached.
        at 
org.apache.myfaces.trinidad.context.RequestContext.release(RequestContext.java:387)
        at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:271)
        at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)

This error message has no details on how to debug this situation.
A better error message would indicate which logging level to enable so that you 
can see stack traces for each
RequestContext attach/release call. This will often help users debug the 
situation without asking support.

I will upload a patch.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to