Having Problems when uploading PDF Documents to DSpace

34 views
Skip to first unread message

ELIJAH CHILESHE

unread,
Sep 3, 2021, 12:49:16 PM9/3/21
to DSpace Developers
Good evening, 

I am currently trying to upload a PDF from an application I am developing using JavaScript. Whenever I upload a PDF to a specified DSpace collection, it uploads the document but when I try to view the document from within DSpace, I get this error .

Unable to locate bitstream
context:/jndi:/localhost/xmlui/sitemap.xmap - 269:78
<map:read type="BitstreamReader">
context:/jndi:/localhost/xmlui/sitemap.xmap - 259:68
<map:select type="browser">
context:/jndi:/localhost/xmlui/sitemap.xmap - 258:88
<map:match type="request-parameter">
context:/jndi:/localhost/xmlui/sitemap.xmap - 257:70
<map:match>

Java stacktrace
org.apache.cocoon.ResourceNotFoundException: Unable to locate bitstream at <map:read type="BitstreamReader"> - jndi:/localhost/xmlui/sitemap.xmap:269:78 at <map:select type="browser"> - jndi:/localhost/xmlui/sitemap.xmap:259:68 at <map:match type="request-parameter"> - jndi:/localhost/xmlui/sitemap.xmap:258:88 at <map:match> - jndi:/localhost/xmlui/sitemap.xmap:257:70 at org.dspace.app.xmlui.cocoon.BitstreamReader.setup(BitstreamReader.java:317) at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy230.setup(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupReader(AbstractProcessingPipeline.java:560) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:464) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:411) at sun.reflect.GeneratedMethodAccessor196.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy229.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:94) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78) at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:87) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:55) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:87) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessor).


Your help will be highly appreciated.

Yours Sincerely,
Elijah.



CONFIDENTIAL NOTICE: This message (and its attachments) may contain confidential information. Any unauthorized use or disclosure is prohibited.
If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system.
Reply all
Reply to author
Forward
0 new messages