[Dspace-tech] dpsace 4.2 - Clicking myAccount-Submissions causes error
hi All, We are using Dspace 4.2 with XMLUI and with Mirage template. After logging-in, when we hit the Submissions link under My Account we get java.lang.StringIndexOutOfBoundsException: String index out of range: 10 error msg. Stacktraces are pasted below: Any ideas or hints to correct this? Cocoon stacktrace is: Failed to process pipeline context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 96:31 map:serialize type=xml context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 95:55 map:generate type=file context:/resource://aspects/ViewArtifacts/sitemap.xmap - 340:32 map:serialize type=xml context:/resource://aspects/ViewArtifacts/sitemap.xmap - 88:59 map:transform type=Navigation context:/resource://aspects/ViewArtifacts/sitemap.xmap - 76:40 map:generate context:/resource://aspects/BrowseArtifacts/sitemap.xmap - 108:40 map:serialize type=xml context:/resource://aspects/BrowseArtifacts/sitemap.xmap - 47:47 map:transform type=Navigation context:/resource://aspects/BrowseArtifacts/sitemap.xmap - 41:28 map:generate context:/resource://aspects/Discovery/sitemap.xmap - 214:40 map:serialize type=xml context:/resource://aspects/Discovery/sitemap.xmap - 78:47 map:transform type=Navigation context:/resource://aspects/Discovery/sitemap.xmap - 66:28 map:generate context:/resource://aspects/Administrative/sitemap.xmap - 1037:31 map:serialize type=xml context:/resource://aspects/Administrative/sitemap.xmap - 282:38 map:transform type=Navigation context:/resource://aspects/Administrative/sitemap.xmap - 281:44 map:transform type=SystemwideAlerts context:/resource://aspects/Administrative/sitemap.xmap - 279:19 map:generate context:/resource://aspects/EPerson/sitemap.xmap - 302:31 map:serialize type=xml context:/resource://aspects/EPerson/sitemap.xmap - 107:38 map:transform type=Navigation context:/resource://aspects/EPerson/sitemap.xmap - 96:19map:generate context:/resource://aspects/Submission/sitemap.xmap - 251:38 map:serialize type=xml context:/resource://aspects/Submission/sitemap.xmap - 144:48 map:transform type=Submissions context:/resource://aspects/Submission/sitemap.xmap - 107:45 map:transform type=Navigation context:/resource://aspects/Submission/sitemap.xmap - 104:26map:generate context:/resource://aspects/Statistics/sitemap.xmap - 292:36 map:serialize type=xml context:/resource://aspects/Statistics/sitemap.xmap - 37:19 map:generate context:/resource://aspects/Workflow/sitemap.xmap - 139:38 map:serialize type=xml context:/resource://aspects/Workflow/sitemap.xmap - 98:48 map:transform type=Submissions context:/resource://aspects/Workflow/sitemap.xmap - 76:26 map:generate context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 85:34 map:serialize type=xml context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 84:43 map:transform type=PageNotFound context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 83:22 map:generate context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 164:34 map:serialize type=xhtml context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 158:33 map:transform type=i18n context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 153:51 map:transform context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 140:55 map:transform type=IncludePageMeta context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 135:55 map:transform type=IncludePageMeta context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 126:55 map:transform type=IncludePageMeta context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 120:55 map:generate type=file context:/jndi:/localhost/xmlui/themes/Mirage/sitemap.xmap - 117:28 map:match context:/jndi:/localhost/xmlui/themes/themes.xmap - 33:45 map:mount context:/jndi:/localhost/xmlui/themes/themes.xmap - 32:35 map:match type=ThemeMatcher context:/jndi:/localhost/xmlui/sitemap.xmap - 680:94map:mount JAVA Stacktrace is: java.lang.StringIndexOutOfBoundsException: String index out of range: 10 at java.lang.String.substring(String.java:1907) at org.dspace.app.xmlui.aspect.submission.Submissions.addPreviousSubmissions(Submissions.java:399) at org.dspace.app.xmlui.aspect.submission.Submissions.addBody(Submissions.java:140) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at com.sun.proxy.$Proxy43.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at
[Dspace-tech] dpsace 4.2 - Clicking myAccount-Submissions causes error - SOLVED
We made the mistake of setting acquisition dates (during import) to 2015/7/26 rather than 2015/07/26 So all dates in Dspace probably should be in /MM/DD format, i.e day of month and month of year WITH leading zeros hi All, We are using Dspace 4.2 with XMLUI and with Mirage template. After logging-in, when we hit the Submissions link under My Account we get java.lang.StringIndexOutOfBoundsException: String index out of range: 10 error msg. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Dspace 4.2 - Video Pseudo Streaming (seeking into unloaded video parts) solved
Hi all, We have solved the problem of Playing videos on item views with pseudo streaming for Dspace 4.2. Didn't look into ver. 5 yet. With our GPL solution, visitors can now seek forward into the videos without having to wait till the whole file is downloaded. There is a live demo Dspace installation at http://139.179.38.53:8080/xmlui/handle/123456789/1640 which points to an item with two video bitstreams; one in mp4 and one in webm format (actually the videos are identical except their formats). A very detailed write-up of the solution (for Linux servers) can be found at: http://139.179.39.120/dspace-pseudo-streaming-seeking-into-unloaded-video/ Hope this can be of some help to others who need the same service on their repositories. Can Ugur Ayfer -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette