Exception on sync settings page

Create issue
Issue #2024 resolved
Daniel Zoller created an issue

javax.el.ELException: Cannot coerce from class java.util.ArrayList to class [Ljava.lang.String;

Comments (9)

  1. Viktor Hemsen

    i can't reproduce this either.. i've tried to add a sync-server/client to biblicious via admin-page, and also add one on the settings page and that exception didn't show up. what exactly did you do?

  2. Daniel Zoller reporter

    I can reproduce the error on our test system. Please note that you do not get an error page but a not complete (missing footer) rendered settings page. Here is the error message from the logs:

    Caused by: org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/bsjsp/settings.jspx at line 24
    
    21:     
    22:     <fmt:message key="navi.settings" var="settingsPageTitle"/>
    23:     
    24:     <layout:tabLayout pageTitle="${settingsPageTitle}" headerMessageKey="navi.settings" headerLogoClass="settings" command="${command}" requPath="${requPath}" activeTab="myprofile" minimizedContentWidth="${true}">   
    25:         <jsp:attribute name="headerExt">
    26:             <link rel="stylesheet" type="text/css" href="${resdir}/css/cv_page.css" />
    27:             <script type="text/javascript" src="${resdir}/javascript/cv/handlers.js"><!--  --></script>
    
    
    Stacktrace:
        at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
        at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
        at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
        at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
        at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
        at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.bibsonomy.webapp.filters.NoCacheFilter.doFilter(NoCacheFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at filters.ActionValidationFilter.doFilter(ActionValidationFilter.java:100)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
        at org.bibsonomy.webapp.filters.LimitedUserFilter.doFilter(LimitedUserFilter.java:34)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
        at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.bibsonomy.webapp.util.spring.security.filter.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:58)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.bibsonomy.webapp.util.spring.filter.DummyFilter.doFilter(DummyFilter.java:25)
        at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
        at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
        at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
        at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
        at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.bibsonomy.webapp.filters.ContentNegotiationFilter.doFilter(ContentNegotiationFilter.java:149)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.bibsonomy.webapp.filters.ContextPathFilter.doFilter(ContextPathFilter.java:162)
        ... 21 more
    Caused by: javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: javax.el.ELException: Cannot coerce from class java.util.ArrayList to class [Ljava.lang.String;
        at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:912)
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:845)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx._jspService(settings_jspx.java:167)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        ... 109 more
    Caused by: javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: javax.el.ELException: Cannot coerce from class java.util.ArrayList to class [Ljava.lang.String;
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx$Helper.invoke(settings_jspx.java:1717)
        at org.apache.jsp.tag.webbstags.layout.tabLayout_tagx._jspx_meth_c_005fif_005f2(tabLayout_tagx.java:409)
        at org.apache.jsp.tag.webbstags.layout.tabLayout_tagx.access$3(tabLayout_tagx.java:394)
        at org.apache.jsp.tag.webbstags.layout.tabLayout_tagx$Helper.invoke1(tabLayout_tagx.java:451)
        at org.apache.jsp.tag.webbstags.layout.tabLayout_tagx$Helper.invoke(tabLayout_tagx.java:478)
        at org.apache.jsp.tag.webbstags.layout.layout_tagx._jspx_meth_c_005fotherwise_005f0(layout_tagx.java:640)
        at org.apache.jsp.tag.webbstags.layout.layout_tagx._jspx_meth_c_005fchoose_005f0(layout_tagx.java:566)
        at org.apache.jsp.tag.webbstags.layout.layout_tagx.doTag(layout_tagx.java:424)
        at org.apache.jsp.tag.webbstags.layout.tabLayout_tagx._jspx_meth_layout_005flayout_005f0(tabLayout_tagx.java:295)
        at org.apache.jsp.tag.webbstags.layout.tabLayout_tagx.doTag(tabLayout_tagx.java:242)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx._jspx_meth_layout_005ftabLayout_005f0(settings_jspx.java:234)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx._jspService(settings_jspx.java:154)
        ... 112 more
    Caused by: javax.servlet.jsp.JspException: javax.el.ELException: Cannot coerce from class java.util.ArrayList to class [Ljava.lang.String;
        at org.apache.jsp.tag.webbstags.settings.sync_tagx.doTag(sync_tagx.java:284)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx._jspx_meth_settings_005fsync_005f0(settings_jspx.java:390)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx.access$7(settings_jspx.java:379)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx$Helper.invoke1(settings_jspx.java:1592)
        at org.apache.jsp.WEB_002dINF.bsjsp.settings_jspx$Helper.invoke(settings_jspx.java:1694)
        ... 123 more
    Caused by: javax.el.ELException: Cannot coerce from class java.util.ArrayList to class [Ljava.lang.String;
        at de.odysseus.el.misc.TypeConverterImpl.coerceToType(TypeConverterImpl.java:250)
        at de.odysseus.el.misc.TypeConverterImpl.convert(TypeConverterImpl.java:265)
        at de.odysseus.el.tree.Bindings.convert(Bindings.java:138)
        at de.odysseus.el.tree.impl.ast.AstNode.getValue(AstNode.java:30)
        at de.odysseus.el.TreeValueExpression.getValue(TreeValueExpression.java:121)
        at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:967)
        at org.apache.jsp.tag.webbstags.settings.sync_tagx._jspx_meth_bsform_005fselect_005f0(sync_tagx.java:786)
        at org.apache.jsp.tag.webbstags.settings.sync_tagx._jspx_meth_form_005fform_005f1(sync_tagx.java:742)
        at org.apache.jsp.tag.webbstags.settings.sync_tagx._jspx_meth_c_005fif_005f2(sync_tagx.java:671)
        at org.apache.jsp.tag.webbstags.settings.sync_tagx.doTag(sync_tagx.java:270)
        ... 127 more
    
  3. Daniel Zoller reporter

    just load the settings page, nothing entered, just click "settings" in the user menu

  4. Log in to comment