We have a VOLT application that has a request page to search through data in a Notes database. It has a drop down populated from a service accessing a view in the .nsf
Anonymous access has been set up both for the VOLT application (initiator role) and for the .nsf database (anonymous access in the ACL)
However, we have a problem. Whereas once logged in, the drop down shows all entries in the view coming from the notes database via the service, if it is an anonymous access, nothing comes from the service and I get an error message requesting I contact my administrator.
I did try to open the nsf from a browser using the ?openView command, the list appears, so the nsf is accessible for anonymous, the view and the data as well.
So what am I doing wrong ?
Thank you for your assistance
What do you see in the log after making this request?
Here is the message I get
Translated into english that means : Service call failure. If the error persists, contact the application creator
The .nsf DB has anonymous access set to author, and the anonymous entry has an 'Anonymous' role. The VOLT Db has the same settings
If, instead of using an iframe I use the launch link, the same error happens.
The log looks like this :
<values>java.lang.NullPointerException
	at com.ibm.form.nitro.service.services.impl.mapping.Mapper.visit(Mapper.java:297)
	at com.ibm.form.nitro.service.services.impl.mapping.ServiceMappingElementImpl.accept(ServiceMappingElementImpl.java:158)
	at com.ibm.form.nitro.service.services.impl.ServiceMappingImpl.execute(ServiceMappingImpl.java:122)
	at com.ibm.form.nitro.service.services.impl.ServicesService.invoke(ServicesService.java:1139)
	at com.ibm.form.nitro.service.services.impl.ServicesService.invoke(ServicesService.java:944)
	at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.ibm.form.platform.service.rest.jaxrs.model.RESTMethod.invoke(RESTMethod.java:347)
	at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl</values>
<values>._process(RESTApplicationImpl.java:1334)
	at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl.restProcess(RESTApplicationImpl.java:390)
	at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl.process(RESTApplicationImpl.java:352)
	at com.ibm.form.nitro.endpoints.RESTEntryPoint.performView(RESTEntryPoint.java:324)
	at com.ibm.form.platform.impl.dispatcher.simple.SimpleDispatcher.performServletWork(SimpleDispatcher.java:396)
	at com.ibm.form.platform.impl.front.internal.java.FrameworkJavaAccess.performServletWork(FrameworkJavaAccess.java:375)
	at dleap.FSPServlet.service(FSPServlet.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:9</values>
<values>0)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule.invokeServlet(OSGIModule.java:167)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule.access$0(OSGIModule.java:153)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule$1.invokeServlet(OSGIModule.java:134)
	at com.ibm.domino.xsp.adapter.osgi.AbstractOSGIModule.invokeServletWithNotesContext(AbstractOSGIModule.java:181)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule.doService(OSGIModule.java:128)
	at com.ibm.domino.xsp.adapter.osgi.OSGIService.doService(OSGIService.java:418)
	at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
	at com.ibm.designer.</values>
<values>runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
	at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
</values>
The .nsf DB has anonymous access set to author, and the anonymous entry has an 'Anonymous' role. The VOLT Db has the same settings
If, instead of using an iframe I use the launch link, the same error happens.
The log looks like this :
<values>java.lang.NullPointerException
	at com.ibm.form.nitro.service.services.impl.mapping.Mapper.visit(Mapper.java:297)
	at com.ibm.form.nitro.service.services.impl.mapping.ServiceMappingElementImpl.accept(ServiceMappingElementImpl.java:158)
	at com.ibm.form.nitro.service.services.impl.ServiceMappingImpl.execute(ServiceMappingImpl.java:122)
	at com.ibm.form.nitro.service.services.impl.ServicesService.invoke(ServicesService.java:1139)
	at com.ibm.form.nitro.service.services.impl.ServicesService.invoke(ServicesService.java:944)
	at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.ibm.form.platform.service.rest.jaxrs.model.RESTMethod.invoke(RESTMethod.java:347)
	at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl</values>
<values>._process(RESTApplicationImpl.java:1334)
	at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl.restProcess(RESTApplicationImpl.java:390)
	at com.ibm.form.platform.service.rest.jaxrs.impl.RESTApplicationImpl.process(RESTApplicationImpl.java:352)
	at com.ibm.form.nitro.endpoints.RESTEntryPoint.performView(RESTEntryPoint.java:324)
	at com.ibm.form.platform.impl.dispatcher.simple.SimpleDispatcher.performServletWork(SimpleDispatcher.java:396)
	at com.ibm.form.platform.impl.front.internal.java.FrameworkJavaAccess.performServletWork(FrameworkJavaAccess.java:375)
	at dleap.FSPServlet.service(FSPServlet.java:87)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:9</values>
<values>0)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule.invokeServlet(OSGIModule.java:167)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule.access$0(OSGIModule.java:153)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule$1.invokeServlet(OSGIModule.java:134)
	at com.ibm.domino.xsp.adapter.osgi.AbstractOSGIModule.invokeServletWithNotesContext(AbstractOSGIModule.java:181)
	at com.ibm.domino.xsp.adapter.osgi.OSGIModule.doService(OSGIModule.java:128)
	at com.ibm.domino.xsp.adapter.osgi.OSGIService.doService(OSGIService.java:418)
	at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
	at com.ibm.designer.</values>
<values>runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
	at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
</values>
Hi Christophe - I assume this is still and issue. Can you tell me the privileges set for anon in the ACL of the Domino db you are trying to call? Is it set for Reader?
We either need to publish some advice on this or address an issue in the sw (if there is one)
Marty,
the ACL on Anonymous is set to Author. I can access each view used by a service can be opened from a browser in Anonymous mode using the URL with ?OpenView, so the issue seems to be in between the Notes DB and the VOLT application as all works when I am in developper (connected) mode.
Found a workaround
Make sure the default access in the Notes DB's ACL is set to 'Reader'. Then it works.