powered by Jive Software

Clearspace Problem In recent-updates.jspa

There will be System Error when browsing through the recent-updates.jspa page, particularly when the value of start is more than 199, like the URL below:

http://www.igniterealtime.org/community/recent-updates.jspa?start=200&numResults =25

Details of error:

# Status Code: 500
# Exception Type:
# Error Message: get(subject) failed on instance of com.jivesoftware.community.proxy.ForumThreadProxy
# Request URI: /community/recent-updates.jspa
# Stack Trace:     * freemarker.ext.beans.BeanModel.get(BeanModel.java:223)
    * freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
    * freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    * freemarker.core.Expression.getStringValue(Expression.java:93)
    * freemarker.core.DollarVariable.accept(DollarVariable.java:76)
    * freemarker.core.Environment.visit(Environment.java:196)
    * freemarker.core.MixedContent.accept(MixedContent.java:92)
    * freemarker.core.Environment.visit(Environment.java:196)
    * freemarker.core.IfBlock.accept(IfBlock.java:82)
    * freemarker.core.Environment.visit(Environment.java:196)
    * freemarker.core.MixedContent.accept(MixedContent.java:92)
    * freemarker.core.Environment.visit(Environment.java:196)
........ and some more

I’ll have someone look into.

Here’s the entire stack trace.

*   Status Code: 500
    * Exception Type:
    * Error Message: get(subject) failed on instance of com.jivesoftware.community.proxy.ForumThreadProxy
    * Request URI: /community/recent-updates.jspa
    * Stack Trace:
          o freemarker.ext.beans.BeanModel.get(BeanModel.java:223)
          o freemarker.core.Dot._getAsTemplateModel(Dot.java:76)
          o freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
          o freemarker.core.Expression.getStringValue(Expression.java:93)
          o freemarker.core.DollarVariable.accept(DollarVariable.java:76)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.MixedContent.accept(MixedContent.java:92)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.IfBlock.accept(IfBlock.java:82)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.MixedContent.accept(MixedContent.java:92)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:160)
          o freemarker.core.Environment.visit(Environment.java:351)
          o freemarker.core.IteratorBlock.accept(IteratorBlock.java:95)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.MixedContent.accept(MixedContent.java:92)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.IfBlock.accept(IfBlock.java:82)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.MixedContent.accept(MixedContent.java:92)
          o freemarker.core.Environment.visit(Environment.java:196)
          o freemarker.core.Environment.process(Environment.java:176)
          o freemarker.template.Template.process(Template.java:232)
          o com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153)
          o com.jivesoftware.community.web.webwork.FreemarkerResult.doExecute(FreemarkerResult.java:130)
          o com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)
          o com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:313)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208)
          o com.jivesoftware.community.web.webwork.FlashInterceptor.intercept(FlashInterceptor.java:40)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)
          o com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
          o com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.jivesoftware.community.web.webwork.JiveObjectLoaderInterceptor.intercept(JiveObjectLoaderInterceptor.java:55)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.jivesoftware.community.action.LocaleInterceptor.intercept(LocaleInterceptor.java:50)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.jivesoftware.community.web.webwork.JiveIOCInterceptor.intercept(JiveIOCInterceptor.java:712)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.jivesoftware.community.web.webwork.AuthInterceptor.intercept(AuthInterceptor.java:89)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:186)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.jivesoftware.community.web.webwork.ModuleCheckInterceptor.intercept(ModuleCheckInterceptor.java:49)
          o com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
          o com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
          o com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:225)
          o com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
          o com.jivesoftware.community.web.webwork.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:53)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.community.web.filter.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter.java:62)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
          o com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.community.web.JiveActionContextCleanUp.doFilter(JiveActionContextCleanUp.java:46)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.community.web.filter.SetRequestCharacterEncodingFilter.doFilter(SetRequestCharacterEncodingFilter.java:73)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o org.directwebremoting.servlet.DwrWebContextFilter.doFilter(DwrWebContextFilter.java:91)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.community.web.filter.MaintenanceFilter.doFilter(MaintenanceFilter.java:81)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.community.upgrade.UpgradeFilter.doFilter(UpgradeFilter.java:43)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.base.plugin.PluginFilter.doFilter(PluginFilter.java:77)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.community.web.filter.ApplicationInitializedFilter.doFilter(ApplicationInitializedFilter.java:95)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.jivesoftware.base.database.dao.DAOContextCleanUpFilter.doFilter(DAOContextCleanUpFilter.java:32)
          o com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
          o com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
          o com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
          o com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420)
          o com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
          o com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
          o com.caucho.util.ThreadPool.run(ThreadPool.java:442)
          o java.lang.Thread.run(Thread.java:619)
    * freemarker.template.TemplateModelException: get(subject) failed on instance of com.jivesoftware.community.proxy.ForumThreadProxy

Hi Aznidin,

I assume that it’s similar to the error on

http://www.igniterealtime.org/community/community/support/openfire_(formerly_wil dfire)_support?start=90&view=discussions

The developers of Clearspace are afaik aware of this problem.

LG

Hi LG,

Oh, I didn’t know that (:

Actually, this is helping us narrow the issue down. More data is good, so thanks for posting it.

We think that the problem is not with Clearspace (product code) as we think that the issues is with one or more individual threads / messages. Something corrupted or containing bad data maybe? We’re still trying to diagnose the specific issue. I’ve downloaded a bunch of logs off of the server and one of our developers is taking a look now.

Hi Dawn,

If I could be of any help, I may have found out that the thread causing the error is right after http://www.igniterealtime.org/community/thread/29958 in the sorted recent list. I got this clue by incrementing the last parameter by one:

This works:

http://www.igniterealtime.org/community/recent-updates.jspa?start=200&numResults =26

This doesn’t:

http://www.igniterealtime.org/community/recent-updates.jspa?start=200&numResults =27

OK, it has been fixed. We had a corrupted thread that has been deleted.