• xe:viewJsonLegacyService startkeys and categoryfilter combination

    By F. Kranenburg 1 decade ago

    I'm not sure if it's by design, but I'm using the legacy service because it faster than the normal service. I have a categorized view and would like to use the 'startkeys' property in combination with a categoryfilter.

    It always returns a view navigator error but maybe this is by design. Let me know if this could be fixed or I have to find another way.
     

    This is my error :

    {

     

    "code":500,

     

    "text":"Internal Error",

     

    "message":"",

     

    "type":"text",

     

    "data":"java.lang.NullPointerException\r\n\tat com.ibm.domino.services.rest.das.view.RestViewNavigatorFactory$ViewNavigatorNavigator.getTopLevelEntryCount(RestViewNavigatorFactory.java:594)\r\n\tat com.ibm.domino.services.rest.das.view.RestViewNavigatorFactory$CategoryNavigator.getTopLevelEntryCount(RestViewNavigatorFactory.java:667)\r\n\tat com.ibm.domino.services.rest.das.view.RestViewLegacyService.renderServiceGet(RestViewLegacyService.java:109)\r\n\tat com.ibm.domino.services.rest.das.view.RestViewJsonLegacyService.renderServiceJSONGet(RestViewJsonLegacyService.java:413)\r\n\tat com.ibm.domino.services.rest.das.view.RestViewJsonLegacyService.renderService(RestViewJsonLegacyService.java:391)\r\n\tat com.ibm.domino.services.HttpServiceEngine.processRequest(HttpServiceEngine.java:167)\r\n\tat com.ibm.xsp.extlib.component.rest.UIBaseRestService._processAjaxRequest(UIBaseRestService.java:252)\r\n\tat com.ibm.xsp.extlib.component.rest.UIBaseRestService.processAjaxRequest(UIBaseRestService.java:229)\r\n\tat com.ibm.xsp.util.AjaxUtilEx.renderAjaxPartialLifecycle(AjaxUtilEx.java:206)\r\n\tat com.ibm.xsp.webapp.FacesServletEx.renderAjaxPartial(FacesServletEx.java:221)\r\n\tat com.ibm.xsp.webapp.FacesServletEx.serviceView(FacesServletEx.java:166)\r\n\tat com.ibm.xsp.webapp.FacesServlet.service(FacesServlet.java:160)\r\n\tat com.ibm.xsp.webapp.FacesServletEx.service(FacesServletEx.java:137)\r\n\tat com.ibm.xsp.webapp.DesignerFacesServlet.service(DesignerFacesServlet.java:103)\r\n\tat com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(ComponentModule.java:576)\r\n\tat com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(NSFComponentModule.java:1267)\r\n\tat com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(ComponentModule.java:847)\r\n\tat com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(ComponentModule.java:796)\r\n\tat com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(ComponentModule.java:565)\r\n\tat com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(NSFComponentModule.java:1251)\r\n\tat com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(NSFService.java:598)\r\n\tat com.ibm.domino.xsp.module.nsf.NSFService.doService(NSFService.java:421)\r\n\tat com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:341)\r\n\tat com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:297)\r\n\tat com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)\r\n"

    }

    • keys property

      By F. Kranenburg 1 decade ago

      I have solved it by using the 'keys' property. But I still wonder what the categoryfilter does.