Good morning,

I am currently trying to upload a PDF from an application I am making using 
JavaScript. Whenever I select the PDF to be uploaded from my computer and 
send it 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._

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-community/421a2ccf-4d0d-4496-8aed-566cb5ea0175n%40googlegroups.com.

Reply via email to