Foren

WOL Wall broken with NullPointerException

thumbnail
John Martin, geändert vor 15 Jahren.

WOL Wall broken with NullPointerException

Junior Member Beiträge: 29 Beitrittsdatum: 23.06.08 Neueste Beiträge
Any thoughts on this? TIA!

I have WOL 5.1.1 installed and when I go to the user home page where the Wall is displayed I get the following errors/exceptions in the log file:

19:50:10,251 ERROR [PortletRequestDispatcherImpl:311] org.apache.jasper.JasperException: An exception occurred processing JSP page /wall/view.jsp at line 84

81: total = WallEntryLocalServiceUtil.getWallToWallEntriesCount(group.getGroupId(), user.getGroup().getGroupId(), user2.getUserId(), user.ge
tUserId());
82: }
83: else {
84: total = WallEntryLocalServiceUtil.getWallEntriesCount(group.getGroupId());
85: }
86:
87: searchContainer.setTotal(total);


Stacktrace:
org.apache.jasper.JasperException: An exception occurred processing JSP page /wall/view.jsp at line 84

81: total = WallEntryLocalServiceUtil.getWallToWallEntriesCount(group.getGroupId(), user.getGroup().getGroupId(), user2.getUserId(), user.ge
tUserId());
82: }
83: else {
84: total = WallEntryLocalServiceUtil.getWallEntriesCount(group.getGroupId());
85: }
86:
87: searchContainer.setTotal(total);


Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
…..
Caused by: java.lang.NullPointerException
at com.liferay.wol.service.impl.WallEntryLocalServiceImpl.getWallEntriesCount(WallEntryLocalServiceImpl.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy534.getWallEntriesCount(Unknown Source)

I am also getting a similar problem with the WOL svn page:

137: <%
138: for (String url : SVNConstants.SVN_URLS) {
139: try {
140: SVNRepository svnRepository = SVNRepositoryLocalServiceUtil.getSVNRepository(url);
141: }
142: catch (NoSuchSVNRepositoryException nssvnre) {
143: %>


Stacktrace:
org.apache.jasper.JasperException: An exception occurred processing JSP page /svn/view.jsp at line 140

137: <%
138: for (String url : SVNConstants.SVN_URLS) {
139: try {
140: SVNRepository svnRepository = SVNRepositoryLocalServiceUtil.getSVNRepository(url);
141: }
142: catch (NoSuchSVNRepositoryException nssvnre) {
143: %>


Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
Caused by: java.lang.NullPointerException
at com.liferay.wol.service.impl.SVNRepositoryLocalServiceImpl.getSVNRepository(SVNRepositoryLocalServiceImpl.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
thumbnail
Christopher Jimenez, geändert vor 12 Jahren.

RE: WOL Wall broken with NullPointerException

New Member Beiträge: 11 Beitrittsdatum: 23.12.11 Neueste Beiträge
Same thing happens in social-networking-portlet