Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
John Martin
WOL Wall broken with NullPointerException
28. August 2008 13:09
Antwort

John Martin

Rang: Junior Member

Nachrichten: 29

Eintrittsdatum: 23. Juni 2008

Neue 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)
Christopher Jimenez
RE: WOL Wall broken with NullPointerException
12. Januar 2012 11:56
Antwort

Christopher Jimenez

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 23. Dezember 2011

Neue Beiträge

Same thing happens in social-networking-portlet