posted 14 years ago
I'm at a loss and have been trying to find a solution for the past 2 days for adding a dao layer to my portlet mvc project.
I'm not sure where the problem is...probably has to do with not successfully writing my xml files and referencing everything together but I'm not sure.
Any help will be extremely appreciated!
THANKS.
The error I keep receiving is:
org.jasig.portal.PortalException: org.jasig.portal.PortalException: javax.portlet.PortletException: Request processing failed
at org.jasig.portal.channels.portlet.CPortletAdapter.renderCharacters(CPortletAdapter.java:514)
at org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:540)
at org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27)
at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:431)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:166)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jasig.portal.PortalException: javax.portlet.PortletException: Request processing failed
at org.jasig.portal.channels.portlet.CPortletAdapter.getMarkup(CPortletAdapter.java:613)
at org.jasig.portal.channels.portlet.CPortletAdapter.renderCharacters(CPortletAdapter.java:511)
... 7 more
Caused by: javax.portlet.PortletException: Request processing failed
at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:496)
at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:453)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:178)
at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218)
at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
Caused by: java.lang.NullPointerException
at notices.portlet.NoticesViewController.handleRenderRequestInternal(NoticesViewController.java:32)
at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:219)
at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:811)
at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:483)
... 25 more
Here is what I have so far: