Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-58400

Upload image cause NullPointerException

    Details

    • Fix Priority:
      3

      Description

      1. Start server with clean database.
      2. Go to Control Panel => Users and Organization.
      3. Create new user.
      4. Give the User a profile picture.

      Actual Result:

      01:46:00,311 ERROR [http-bio-8080-exec-4][status_jsp:681] null
      01:46:00,318 ERROR [http-bio-8080-exec-4][DynamicIncludeUtil:79] java.lang.NullPointerException
      java.lang.NullPointerException
              at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:101)
              at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:50)
              at com.liferay.portlet.css.web.servlet.taglib.PortletCSSBottomDynamicInclude.include(PortletCSSBottomDynamicInclude.java:49)
              at com.liferay.portal.kernel.servlet.taglib.DynamicIncludeUtil.include(DynamicIncludeUtil.java:76)
              at com.liferay.taglib.util.DynamicIncludeTag.doEndTag(DynamicIncludeTag.java:32)
              at org.apache.jsp.html.common.themes.bottom_jsp._jspx_meth_liferay_002dutil_005fdynamic_002dinclude_005f1(bottom_jsp.java:2089)
              at org.apache.jsp.html.common.themes.bottom_jsp._jspService(bottom_jsp.java:1746)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:75)
              at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:52)
              at com.liferay.taglib.util.VelocityTaglibImpl.include(VelocityTaglibImpl.java:587)
              at sun.reflect.GeneratedMethodAccessor1028.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
      

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.0.0 Alpha 2