留言板

Exception while editing User in Liferay

Shashant Panwar,修改在8 年前。

Exception while editing User in Liferay

Junior Member 帖子: 28 加入日期: 12-9-21 最近的帖子
Hi,

Can someone help me with the below error? It seems like one of the tag lib is throwing an exception.
I am using LR-6.2ee sp11 tomcat bundle with apache2 in front of it.

portal-ext.properties:
#
#setting liferay to use port 80
#
web.server.http.port=80
web.server.https.port=443

Error Logs:-
16:13:40,190 ERROR [ajp-bio-8009-exec-1][IncludeTag:129] Current URL /group/control_panel/manage?p_p_id=125&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&refererPlid=20185&controlPanelCategory=users&_125_p_u_i_d=20435&_125_redirect=http%3A%2F%2Flocalhost%2Fgroup%2Fcontrol_panel%2Fmanage%3Fp_p_id%3D125%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26refererPlid%3D20185%26controlPanelCategory%3Dusers%26_125_cur2%3D1%26_125_delta2%3D20%26_125_keywords%3D%26_125_advancedSearch%3Dfalse%26_125_andOperator%3Dtrue%26_125_status%3D0%26_125_emailAddress%3D%26_125_firstName%3D%26_125_lastName%3D%26_125_middleName%3D%26_125_organizationId%3D0%26_125_roleId%3D0%26_125_screenName%3D%26_125_userGroupId%3D0%26_125_orderByCol%3Dlast-name%26_125_orderByType%3Dasc&_125_struts_action=%2Fusers_admin%2Fedit_user generates exception: null
java.lang.NullPointerException
at org.apache.jsp.html.portlet.users_005fadmin.user.roles_jsp._jspService(roles_jsp.java:1153)
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:295)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
at org.apache.jsp.html.taglib.ui.form_005fnavigator.page_jsp._jspService(page_jsp.java:1142)
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:295)
at com.liferay.taglib.util.IncludeTag.doInclude(IncludeTag.java:192)
at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:83)
at org.apache.jsp.html.portlet.users_005fadmin.edit_005fuser_jsp._jspService(edit_005fuser_jsp.java:1387)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

Thanks in advance!
thumbnail
Andew Jardine,修改在8 年前。

RE: Exception while editing User in Liferay

Liferay Legend 帖子: 2416 加入日期: 10-12-22 最近的帖子
Are you only getting this exception for this one page? Are you using TOMCAT? If so I can suggest a couple of things that might help (that have worked for me in the past anyway)

1. Stop TOMCAT and clear the work and temp folder.
2. Start TOMCAT and try again.

... if the issue persists, then ...

3. Stop TOMCAT
4. Replace the webapps/ROOT/html folder with the html folder from a freshly downloaded bundle (I've had corrupted files give me this probaly before).

.. the report back and let us know if either or those things helped.