Return to Jive Software

Skip navigation
9,252 Views 14 Replies Last post: Oct 13, 2008 11:26 AM by scott.hirdes RSS
jeff.kreska@farecompare.com Novice 47 posts since
Jun 18, 2008
Currently Being Moderated

Sep 5, 2008 5:32 AM

Customize Overview causes "An unexpected error has occurred"

Whenever I click "Customize" link on an overview tab:

Picture 9.png

 

I get the following error:

Picture 10.png

Here is the exception from clearspace.log:

05 Sep 2008 07:26:03,976 [resin-tcp-connection-192.168.10.20:6801-389] ERROR interceptor.ExceptionMappingInterceptor  -
java.lang.NullPointerException
        at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:779)
        at com.jivesoftware.community.widget.WidgetManagerImpl.getWidgetLayout(WidgetManagerImpl.java:254)
        at com.jivesoftware.community.widget.WidgetManagerImpl.getWidgetLayout(WidgetManagerImpl.java:365)
        at com.jivesoftware.community.widget.WidgetManagerProxy.getWidgetLayout(WidgetManagerProxy.java:161)
        at com.jivesoftware.community.widget.action.CustomizeCommunityAction.prepare(CustomizeCommunityAction.java:63)
        at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:118)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:167)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.jivesoftware.community.web.struts.RequireFeatureInterceptor.intercept(RequireFeatureInterceptor.java:36)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.jivesoftware.community.web.struts.ModuleCheckInterceptor.intercept(ModuleCheckInterceptor.java:47)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.jivesoftware.community.aaa.authz.GuestAuthorizationInterceptor.intercept(GuestAuthorizationInterceptor.java:56)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at com.jivesoftware.community.web.struts.JiveRefererInterceptor.intercept(JiveRefererInterceptor.java:43)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:211)
        at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
        at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
        at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
        at com.jivesoftware.community.web.struts.JiveFilterDispatcher.doFilter(JiveFilterDispatcher.java:101)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.community.web.filter.SetResponseCharacterEncodingFilter.doFilter(SetResponseCharacterEncodingFilter.java
:61)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.community.web.filter.JiveDynamicResponseHeaderFilter.doFilter(JiveDynamicResponseHeaderFilter.java:66)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.community.web.filter.JiveCompressionFilter.doFilter(JiveCompressionFilter.java:103)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.community.web.filter.SetRequestCharacterEncodingFilter.doFilter(SetRequestCharacterEncodingFilter.java:7
3)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.util.NoCacheFilter.doFilter(NoCacheFilter.java:66)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at org.directwebremoting.servlet.DwrWebContextFilter.doFilter(DwrWebContextFilter.java:91)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.base.plugin.PluginFilter.doFilter(PluginFilter.java:75)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
        at com.jivesoftware.community.aaa.JiveAuthenticationTranslationFilter.doFilter(JiveAuthenticationTranslationFilter.java:158)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)

        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at com.jivesoftware.community.aaa.FeedsBasicProcessingFilter.doFilter(FeedsBasicProcessingFilter.java:146)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
        at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
        at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
        at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.jivesoftware.community.web.filter.ApplicationStateFilter.doFilter(ApplicationStateFilter.java:140)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
        at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:420)
        at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:516)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
        at java.lang.Thread.run(Thread.java:619)

scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Sep 5, 2008 9:59 AM in response to: Jeff
Re: Customize Overview causes "An unexpected error has occurred"

A few questions:

 

Is this happening on all spaces or only a certain one?

 

Do you have any plugin widgets installed or have you at any point in the past on this instance?

 

What application server and database are you using?  Can you confirm that this issue is occuring with the 2.5.0 RC?

scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Sep 8, 2008 8:32 AM in response to: Jeff
Re: Customize Overview causes "An unexpected error has occurred"

Can you run the following queries against your database and attach the results in a text file?

SELECT * FROM jiveWLayoutFrame WHERE parentObjectType = 14 AND parentObjectID = <COMMUNITY_ID>

where <COMMUNITY_ID> is the ID of one of the communities where you are getting this system error.

SELECT * FROM jiveWLayout;
scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Sep 8, 2008 2:11 PM in response to: Jeff
Re: Customize Overview causes "An unexpected error has occurred"

This was an issue with the release candidate and I have been able to reproduce.

 

However, I have also tested with the official 2.5 release and the issue has been resolved in the official release.

scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Sep 8, 2008 3:03 PM in response to: Jeff
Re: Customize Overview causes "An unexpected error has occurred"

The official release is scheduled for the end of this week.

 

Unfortunately, as the release candidate is not a supported release, we cannot provide any database fix for this.  You'll want to get the official release when it comes out and do the upgrade from a supported version to that release.

scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Sep 9, 2008 2:31 PM in response to: Jeff
Re: Customize Overview causes "An unexpected error has occurred"

Try running this SQL to insert a default record into the jiveWLayoutFrame table:

INSERT INTO jiveWLayoutFrame (layoutID, parentObjectType, parentObjectID, published)
values (1003, 14, <COMMUNITY_ID>, 0);

where <COMMUNITY_ID> is the communitID for the community you are having the trouble with.

 

This will set a default layout for the community and should correct the issue when trying to customize the space.

scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Sep 16, 2008 8:48 AM in response to: scott.hirdes
Re: Customize Overview causes "An unexpected error has occurred"

Did updating the database resolve the issue on your instance?

jochen Novice 209 posts since
Feb 19, 2008
Currently Being Moderated
Oct 2, 2008 9:56 AM in response to: Jeff
Re: Customize Overview causes "An unexpected error has occurred"

Another note on this one:

I have several instances of Clearspace Community 2.5.1 deployed to Tomcat on Linux boxes with MySQL and they all still have this problem with some communities. Most of the communities work fine but a few have the exact same issue. I am not able to see a pattern in which communitites are affected and which aren't. The manual DB hack is a good workaround but the issue seems to be still contained in the sources. - Jochen

rschaller Novice 99 posts since
Sep 1, 2008
Currently Being Moderated
Oct 3, 2008 6:12 PM in response to: jochen
Re: Customize Overview causes "An unexpected error has occurred"

I too have found it in an issue in build 2.5.2 but the fix worked great. Not sure the root of the cause for anyone else but ours surfaced from heavy permission changes. We changed a lot of the space permissions and that seemed to break it upon changing them back it did not fix it. That table fix works like a charm though! Thanks

scott.hirdes Jive Employee 3,304 posts since
Oct 9, 2007
Currently Being Moderated
Oct 13, 2008 11:26 AM in response to: Ryan Schaller
Re: Customize Overview causes "An unexpected error has occurred"

The issue was typically seen when doing an upgrade from a 1.10.x release to the 2.5 series.  The problem could be recreated with these steps:

 

  1. Have a space in the 1.10.x version that is not customized
  2. Upgrade to the 2.5 release
  3. View that space with a non-admin user
  4. Now go to the same space as an admin user
  5. Click the "Customize" link
  6. The system error is given

 

The problem was that a default customized layout was not being set for the space (which is what the DB fix above does).  The core problem will be fixed in the 2.5.3 release.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Case Product Issues

Loading Jira issues

Loading related product issues for this case
To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.