留言板

Serve Resource method throwing an error

yogesh chandra,修改在7 年前。

Serve Resource method throwing an error

New Member 帖子: 23 加入日期: 15-5-7 最近的帖子
Hi,
I am using liferay6.2 CE ga6 server while calling
super.serveResource(resourceRequest, resourceResponse) ; in serveResource method it is throwing error

SEVERE: Servlet.service() for servlet iowvacationaction Servlet threw exception
java.lang.NullPointerException

Please help................

Thanks
thumbnail
David H Nebinger,修改在7 年前。

RE: Serve Resource method throwing an error

Liferay Legend 帖子: 14916 加入日期: 06-9-2 最近的帖子
Well, you'd have to provide the stack trace, the message is not enough.

The stack trace will point to the line of code that the NPE is generating, from there you can review the line and see what is null/missing.