Topic
  • 2 replies
  • Latest Post - ‏2009-07-29T10:00:50Z by SystemAdmin
SystemAdmin
SystemAdmin
801 Posts

Pinned topic Paging using Data Column Modifier

‏2009-06-17T13:23:52Z |
Hi,

Hope any one could help with the error below..

I am trying to paginate the data using the PagingLinks builer. The page is initially empty with a dropdown and spits out data upon selecting a value in the dropdown. I guess the NullPointerException is because the initial page is empty and data is populated only upon selecting a value in the drop down. Not sure how to get around with this. Model attached for reference.
Uncaught service() exception root cause /genjsp/FrontEnd/LeadsPortlet21_MainPage.jsp: Error in method CalendarTableRow.getLastPage. java.lang.NullPointerException

SRVE0068E: Could not invoke the service() method on servlet /genjsp/FrontEnd/LeadsPortlet21_MainPage.jsp. Exception thrown : java.lang.NullPointerException
at com.bowstreet.builders.webapp.methods.BeanCollectionDataRetriever.getRowCount(BeanCollectionDataRetriever.java:270)
at com.bowstreet.builders.webapp.methods.PagingAssistant.getRowCountFromRetriever(PagingAssistant.java:1017)
at com.bowstreet.builders.webapp.methods.PagingAssistant.getRowCount(PagingAssistant.java:439)
at com.bowstreet.builders.webapp.methods.PagingAssistant.getLastPage(PagingAssistant.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.bowstreet.webapp.engine.actions.MethodAction.callAction(MethodAction.java:90)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:405)
at com.bowstreet.webapp.engine.WebAppAccessImpl.callMethod(WebAppAccessImpl.java:271)
at com.ibm._jsp._LeadsPortlet21_5F_MainPage._jspService(_LeadsPortlet21_5F_MainPage.java:250)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1697)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:826)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServlet

Thanks,
Neil

Paging using Data Column Modifier
Updated on 2009-07-29T10:00:50Z at 2009-07-29T10:00:50Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    801 Posts

    Re: Paging using Data Column Modifier

    ‏2009-06-18T08:49:17Z  
    Please re-post your question regarging paging on the PF forum where you can get better response.

    Here is the link,
    IBM WebSphere Portlet Factory - Best Practices
    http://www.ibm.com/developerworks/forums/forum.jspa?forumID=889
  • SystemAdmin
    SystemAdmin
    801 Posts

    Re: Paging using Data Column Modifier

    ‏2009-07-29T10:00:50Z  
    Pls refer to this link
    http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14264835