Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered "special database object cannot be located" on server but not client #261

Open
jesse-gallagher opened this issue Feb 16, 2021 · 1 comment
Labels
bug Something isn't working odpexporter ODP exporter implementation and servlet

Comments

@jesse-gallagher
Copy link
Member

jesse-gallagher commented Feb 16, 2021

This occurred in the 3.5.0-SNAPSHOT stream, exporting a database located on a second, distinct server referenced like -DdatabasePath=server!!foo.nsf.

org.openntf.nsfodp.commons.odp.notesapi.NDominoException: com.darwino.domino.napi.DominoException: Special database object cannot be located
	at org.openntf.nsfodp.notesapi.darwinonapi.DarwinoNDatabase.getNoteByID(DarwinoNDatabase.java:43)
	at org.openntf.nsfodp.exporter.ODPExporter.export(ODPExporter.java:298)
	at org.openntf.nsfodp.exporter.servlet.ODPExporterServlet.handle(ODPExporterServlet.java:148)
	at org.openntf.nsfodp.exporter.servlet.ODPExporterServlet.doGet(ODPExporterServlet.java:61)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
	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:90)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
	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.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
	at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
Caused by: 
com.darwino.domino.napi.DominoException: Special database object cannot be located
	at com.darwino.domino.napi.DominoAPIImpl.NSFNoteOpenExt(Native Method)
	at com.darwino.domino.napi.wrap.NSFDatabase.getNoteByID(NSFDatabase.java:124)
	at org.openntf.nsfodp.notesapi.darwinonapi.DarwinoNDatabase.getNoteByID(DarwinoNDatabase.java:40)
	... 19 more
Encountered native exception while processing special note 256: com.darwino.domino.napi.DominoException: Special database object cannot be located
org.openntf.nsfodp.commons.odp.notesapi.NDominoException: com.darwino.domino.napi.DominoException: Special database object cannot be located
	at org.openntf.nsfodp.notesapi.darwinonapi.DarwinoNDatabase.getNoteByID(DarwinoNDatabase.java:43)
	at org.openntf.nsfodp.exporter.ODPExporter.export(ODPExporter.java:298)
	at org.openntf.nsfodp.exporter.servlet.ODPExporterServlet.handle(ODPExporterServlet.java:148)
	at org.openntf.nsfodp.exporter.servlet.ODPExporterServlet.doGet(ODPExporterServlet.java:61)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
	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:90)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
	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.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
	at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)
Caused by: 
com.darwino.domino.napi.DominoException: Special database object cannot be located
	at com.darwino.domino.napi.DominoAPIImpl.NSFNoteOpenExt(Native Method)
	at com.darwino.domino.napi.wrap.NSFDatabase.getNoteByID(NSFDatabase.java:124)
	at org.openntf.nsfodp.notesapi.darwinonapi.DarwinoNDatabase.getNoteByID(DarwinoNDatabase.java:40)
	... 19 more
Encountered native exception while processing special note 2: com.darwino.domino.napi.DominoException: Special database object cannot be located
@jesse-gallagher jesse-gallagher added bug Something isn't working odpexporter ODP exporter implementation and servlet labels Feb 16, 2021
@jesse-gallagher
Copy link
Member Author

This also led to "Unexpected end of ZLIB input stream" on the client, masking the problem on the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working odpexporter ODP exporter implementation and servlet
Projects
None yet
Development

No branches or pull requests

1 participant