Details

    • Similar Issues:
      Show 4 results 

      Description

      An error occurred at line: 33 in the jsp file: /html/portlet/asset_publisher/add_asset.jspf
      Duplicate local variable group
      30: taglibId = taglibId.concat("Global");
      31: }
      32: else {
      33: Group group = GroupLocalServiceUtil.getGroup(groupId);
      34:
      35: if (group.isLayout()) {
      36: Layout scopeLayout = LayoutLocalServiceUtil.getLayout(group.getClassPK());

      Stacktrace:
      at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
      at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)
      at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
      at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
      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:722)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:593)

        Activity

        Hide
        Dennis Baerten added a comment -

        add_asset.jspf is included within configuration.jsp and view.jsp.
        In the view.jsp however is allready a variable with the name "group", so that gives me this exception.

        as a workaround i added the add_asset.jspf to my hooks project and renamed the variable...

        Show
        Dennis Baerten added a comment - add_asset.jspf is included within configuration.jsp and view.jsp. In the view.jsp however is allready a variable with the name "group", so that gives me this exception. as a workaround i added the add_asset.jspf to my hooks project and renamed the variable...
        Hide
        Mika Koivisto added a comment -

        I'm not able to reproduce the issue with a clean bundle. Check that you haven't customized a init.jsp or the view jsp? The view.jsp has scopeGroup but not group variable.

        Show
        Mika Koivisto added a comment - I'm not able to reproduce the issue with a clean bundle. Check that you haven't customized a init.jsp or the view jsp? The view.jsp has scopeGroup but not group variable.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 8 weeks ago

              Development

                Structure Helper Panel