Details

      Description

      Steps to reproduce:

      1.Configure an external repository (Sharepoint, Alfresco, ..., any will do)
      2.Try to add a new file

      Failure:

      The button to select the file to upload is shown disabled and the console log shows the following exception:

      java.lang.NullPointerException
      at com.liferay.portlet.documentlibrary.context.DefaultDLEditFileEntryDisplayContext._hasFolderWorkflowDefinitionLink(DefaultDLEditFileEntryDisplayContext.java:186)
      at com.liferay.portlet.documentlibrary.context.DefaultDLEditFileEntryDisplayContext.getPublishButtonLabel(DefaultDLEditFileEntryDisplayContext.java:77)
      at org.apache.jsp.html.portlet.document_005flibrary.edit_005ffile_005fentry_jsp._jspService(edit_005ffile_005fentry_jsp.java:2668)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:57)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
      at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
      at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:312)
      at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:193)
      at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:84)
      at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:3857)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      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:728)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        Attachments

          Activity

            People

            • Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              ivan.zaera Ivan Zaera
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 30 weeks, 5 days ago