cancel
Showing results for 
Search instead for 
Did you mean: 

RenderResponse object is null

omegerard
Champ in-the-making
Champ in-the-making
Strange!

Installed and ran Alfresco on a number of platforms and OSes, but never seen this before:

java.lang.IllegalStateException: RenderResponse object is null

I won't copy all the lines here. Only the first one:

at org.alfresco.web.ui.repo.tag.SystemErrorTag.doStartTag(SystemErrorTag
.java:197)


Does anyone have any idea what's missing/wrong?

Regards

Ludo
5 REPLIES 5

gavinc
Champ in-the-making
Champ in-the-making
This occurs if the web client believes that it is running in a portal when in fact it is running in a 'normal' appserver.

A possible cause of this is an ommision of the mode detection filter in web.xml.

You should have the following:


<filter>
      <filter-name>Mode Detection Filter</filter-name>
      <filter-class>org.alfresco.web.app.servlet.ModeDetectionFilter</filter-class>
   </filter>

The filter only gets called outside a portal server (portals don't support filters yet) and sets the 'inPortalServer' flag to false. So the only way you will see this error is if the flag is still set to true.

ripagl
Champ in-the-making
Champ in-the-making
On alfresco1.2-jboss2.2 when I click on External Access URL (http://myhost:8080/alfresco/navigate/showSpaceDetails/workspace/SpacesStore/37bf51e8-a468-11da-aade-...)
I see this error:
java.lang.IllegalStateException: RenderResponse object is null
   org.alfresco.web.ui.repo.tag.SystemErrorTag.doStartTag(SystemErrorTag.java:209)
   org.apache.jsp.jsp.error_jsp._jspx_meth_r_systemError_0(org.apache.jsp.jsp.error_jsp:147)
   org.apache.jsp.jsp.error_jsp._jspService(org.apache.jsp.jsp.error_jsp:107)
   org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
   org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Is there a solution?

kevinr
Star Contributor
Star Contributor
Sorry but external URL access is not supported in the JSR-168 Portal deployment of Alfresco.

Thanks,

Kevin

ripagl
Champ in-the-making
Champ in-the-making
:shock:  Ok, external URL access is not supported in the JSR-168 Portal deployment of Alfresco but it isn't accettable to have some link in the web client that gives such errors to users. How to remove not supported functionality from web-client  :?:

kevinr
Star Contributor
Star Contributor
Yes you are correct, the links should be hidden and errors handled from a JSR-168 environment. I have raised a JIRA task for this:
http://www.alfresco.org/jira/browse/AWC-604

Thanks,

Kevin