javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists

Atlassian JIRA | Nick Pellow [Atlassian] | 5 years ago
  1. 0

    This happens when a user has permission to a project, however does not have permission to the default repository in that project. After talking to [~tim@atlassian.com], this could be fixed by checking the isAuthorized() flag on the source object returned by sourceFactory.getSource in this method in UserTextRendererTag: {code} protected Linker getLinker() { Source source = null; if (!StringUtils.isEmpty(repname)) { SourceFactory sourceFactory = SpringContext.getComponent(SourceFactory.class, "sourceFactory"); EffectiveUserProvider effectiveUserProvider = SpringContext.getComponent(EffectiveUserProvider.class, "effectiveUserProvider"); source = sourceFactory.getSource(repname, effectiveUserProvider.getEffectivePrincipal()); } return getLinkerService().getLinker(source, project); } {code} ie. getLinkerService().getLinker() should never be called with a source instance that the current user is not authorised to view. Also investigate why UserTextRendererTag sets the repname when rendering a project. Note; the check may be better placed in the linker service's getLinker() method. Actual stack trace is: {code} [java] 2012-05-07 15:44:02,696 WARN - Nested in javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists: [java] javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists [java] at org.apache.jsp.tag.web.review.reviewResultListView_tag.doTag(org.apache.jsp.tag.web.review.reviewResultListView_tag:230) [java] at org.apache.jsp.tag.web.cru.reviewTable_tag._jspx_meth_rev_reviewResultListView_0(org.apache.jsp.tag.web.cru.reviewTable_tag:644) [java] at org.apache.jsp.tag.web.cru.reviewTable_tag._jspx_meth_c_forEach_0(org.apache.jsp.tag.web.cru.reviewTable_tag:608) [java] at org.apache.jsp.tag.web.cru.reviewTable_tag.doTag(org.apache.jsp.tag.web.cru.reviewTable_tag:210) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_rend_reviewTable_0(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:751) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_c_otherwise_1(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:718) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_c_choose_1(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:658) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp.access$11(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:641) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp$dashboard_jspHelper.invoke8(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:974) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp$dashboard_jspHelper.invoke(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:1032) [java] at org.apache.jsp.tag.web.cru.threePanelPageContent_tag.doTag(org.apache.jsp.tag.web.cru.threePanelPageContent_tag:689) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_rend_threePanelPageContent_0(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:210) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:145) [java] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [java] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) [java] at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272) [java] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [java] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [java] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [java] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [java] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [java] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [java] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [java] at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264) [java] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) {code}

    Atlassian JIRA | 5 years ago | Nick Pellow [Atlassian]
    javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists
  2. 0

    This happens when a user has permission to a project, however does not have permission to the default repository in that project. After talking to [~tim@atlassian.com], this could be fixed by checking the isAuthorized() flag on the source object returned by sourceFactory.getSource in this method in UserTextRendererTag: {code} protected Linker getLinker() { Source source = null; if (!StringUtils.isEmpty(repname)) { SourceFactory sourceFactory = SpringContext.getComponent(SourceFactory.class, "sourceFactory"); EffectiveUserProvider effectiveUserProvider = SpringContext.getComponent(EffectiveUserProvider.class, "effectiveUserProvider"); source = sourceFactory.getSource(repname, effectiveUserProvider.getEffectivePrincipal()); } return getLinkerService().getLinker(source, project); } {code} ie. getLinkerService().getLinker() should never be called with a source instance that the current user is not authorised to view. Also investigate why UserTextRendererTag sets the repname when rendering a project. Note; the check may be better placed in the linker service's getLinker() method. Actual stack trace is: {code} [java] 2012-05-07 15:44:02,696 WARN - Nested in javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists: [java] javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists [java] at org.apache.jsp.tag.web.review.reviewResultListView_tag.doTag(org.apache.jsp.tag.web.review.reviewResultListView_tag:230) [java] at org.apache.jsp.tag.web.cru.reviewTable_tag._jspx_meth_rev_reviewResultListView_0(org.apache.jsp.tag.web.cru.reviewTable_tag:644) [java] at org.apache.jsp.tag.web.cru.reviewTable_tag._jspx_meth_c_forEach_0(org.apache.jsp.tag.web.cru.reviewTable_tag:608) [java] at org.apache.jsp.tag.web.cru.reviewTable_tag.doTag(org.apache.jsp.tag.web.cru.reviewTable_tag:210) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_rend_reviewTable_0(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:751) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_c_otherwise_1(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:718) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_c_choose_1(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:658) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp.access$11(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:641) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp$dashboard_jspHelper.invoke8(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:974) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp$dashboard_jspHelper.invoke(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:1032) [java] at org.apache.jsp.tag.web.cru.threePanelPageContent_tag.doTag(org.apache.jsp.tag.web.cru.threePanelPageContent_tag:689) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_rend_threePanelPageContent_0(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:210) [java] at org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:145) [java] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [java] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389) [java] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486) [java] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [java] at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) [java] at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272) [java] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) [java] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) [java] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [java] at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) [java] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) [java] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) [java] at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) [java] at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264) [java] at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) {code}

    Atlassian JIRA | 5 years ago | Nick Pellow [Atlassian]
    javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists
  3. 0

    LR 6.0 EE trial breaks when chageing the look and feel - Forums | Liferay

    liferay.com | 11 months ago
    javax.servlet.jsp.JspException: ServletException in '/html/portlet/dockbar/view.jsp': com.liferay.portal.NoSuchLayoutException: No Layout exists with the primary key 10576
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error updating an iteration

    xplanner | 1 decade ago | ferrisoxide
    javax.servlet.jsp.JspException: No row with the given identifier exists: 19, of class: com.technoetic.xplanner.domain.Project
  6. 0

    java.lang.IllegalArgumentException: argument type mismatch

    Oracle Community | 1 decade ago | 843842
    javax.servlet.jsp.JspException: java.lang.IllegalArgumentException: argument type mismatch

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.jsp.JspException

      java.lang.IllegalArgumentException: No local entity with key 'FE-HG' and type 'class com.atlassian.applinks.application.fecru.FishEyeRepositoryEntityTypeImpl' exists

      at org.apache.jsp.tag.web.review.reviewResultListView_tag.doTag()
    2. org.apache.jsp
      dashboard_jsp._jspService
      1. org.apache.jsp.tag.web.review.reviewResultListView_tag.doTag(org.apache.jsp.tag.web.review.reviewResultListView_tag:230)
      2. org.apache.jsp.tag.web.cru.reviewTable_tag._jspx_meth_rev_reviewResultListView_0(org.apache.jsp.tag.web.cru.reviewTable_tag:644)
      3. org.apache.jsp.tag.web.cru.reviewTable_tag._jspx_meth_c_forEach_0(org.apache.jsp.tag.web.cru.reviewTable_tag:608)
      4. org.apache.jsp.tag.web.cru.reviewTable_tag.doTag(org.apache.jsp.tag.web.cru.reviewTable_tag:210)
      5. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_rend_reviewTable_0(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:751)
      6. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_c_otherwise_1(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:718)
      7. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_c_choose_1(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:658)
      8. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp.access$11(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:641)
      9. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp$dashboard_jspHelper.invoke8(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:974)
      10. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp$dashboard_jspHelper.invoke(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:1032)
      11. org.apache.jsp.tag.web.cru.threePanelPageContent_tag.doTag(org.apache.jsp.tag.web.cru.threePanelPageContent_tag:689)
      12. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspx_meth_rend_threePanelPageContent_0(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:210)
      13. org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.crucible.home.dashboard_jsp:145)
      13 frames
    3. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    5. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      3 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    7. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272)
      2 frames
    8. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
      2. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
      2 frames
    9. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
      1 frame
    10. com.atlassian.plugin
      ServletFilterModuleContainerFilter.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
      3. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
      4. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
      4 frames
    11. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1264)
      1 frame
    12. com.atlassian.plugin
      IteratingFilterChain.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
      1 frame