From 223e4df88b3e53709d31e435f039a260da640baf Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 25 Aug 2016 14:59:59 +0300 Subject: [PATCH] Update notes for 2016-08-25 --- content/2016-08.md | 24 ++++++++++++++++++++++++ public/2016-08/index.html | 26 ++++++++++++++++++++++++++ public/index.xml | 26 ++++++++++++++++++++++++++ public/tags/notes/index.xml | 26 ++++++++++++++++++++++++++ 4 files changed, 102 insertions(+) diff --git a/content/2016-08.md b/content/2016-08.md index b945f1136..885f0e8e4 100644 --- a/content/2016-08.md +++ b/content/2016-08.md @@ -231,3 +231,27 @@ dspacetest=# select distinct text_value from metadatavalue where metadata_field_ Error creating bean with name 'MetadataStorageInfoService' ... ``` + +- Atmire sent an updated version of `dspace/config/spring/api/atmire-cua.xml` and now XMLUI starts but gives a null pointer exception: + +``` +Java stacktrace: java.lang.NullPointerException + at org.dspace.app.xmlui.aspect.statistics.Navigation.addOptions(Navigation.java:129) + at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:228) + at sun.reflect.GeneratedMethodAccessor126.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.$Proxy103.startElement(Unknown Source) + at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) + at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) + at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) +... +``` + +- Import the 47 CCAFS records to CGSpace, creating the SimpleArchiveFormat bundles and importing like: + +``` +$ ./safbuilder.sh -c /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/3546.csv +$ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/bin/dspace import -a -e aorth@mjanja.ch -c 10568/3546 -s /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/SimpleArchiveFormat -m 3546.map +``` diff --git a/public/2016-08/index.html b/public/2016-08/index.html index f6c999baa..36f87f48f 100644 --- a/public/2016-08/index.html +++ b/public/2016-08/index.html @@ -351,6 +351,32 @@ context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77
...
 Error creating bean with name 'MetadataStorageInfoService'
 ...
+
+ + + +
Java stacktrace: java.lang.NullPointerException
+    at org.dspace.app.xmlui.aspect.statistics.Navigation.addOptions(Navigation.java:129)
+    at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:228)
+    at sun.reflect.GeneratedMethodAccessor126.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.$Proxy103.startElement(Unknown Source)
+    at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
+    at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140)
+    at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
+...
+
+ + + +
$ ./safbuilder.sh -c /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/3546.csv
+$ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/bin/dspace import -a -e aorth@mjanja.ch -c 10568/3546 -s /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/SimpleArchiveFormat -m 3546.map
 
diff --git a/public/index.xml b/public/index.xml index 8d1288f81..181fb922b 100644 --- a/public/index.xml +++ b/public/index.xml @@ -290,6 +290,32 @@ context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77 Error creating bean with name 'MetadataStorageInfoService' ... </code></pre> + +<ul> +<li>Atmire sent an updated version of <code>dspace/config/spring/api/atmire-cua.xml</code> and now XMLUI starts but gives a null pointer exception:</li> +</ul> + +<pre><code>Java stacktrace: java.lang.NullPointerException + at org.dspace.app.xmlui.aspect.statistics.Navigation.addOptions(Navigation.java:129) + at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:228) + at sun.reflect.GeneratedMethodAccessor126.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.$Proxy103.startElement(Unknown Source) + at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) + at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) + at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) +... +</code></pre> + +<ul> +<li>Import the 47 CCAFS records to CGSpace, creating the SimpleArchiveFormat bundles and importing like:</li> +</ul> + +<pre><code>$ ./safbuilder.sh -c /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/3546.csv +$ JAVA_OPTS=&quot;-Dfile.encoding=UTF-8 -Xmx512m&quot; /home/cgspace.cgiar.org/bin/dspace import -a -e aorth@mjanja.ch -c 10568/3546 -s /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/SimpleArchiveFormat -m 3546.map +</code></pre> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index b38231692..d1a38a35e 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -290,6 +290,32 @@ context:/jndi:/localhost/themes/0_CGIAR/sitemap.xmap - 136:77 Error creating bean with name 'MetadataStorageInfoService' ... </code></pre> + +<ul> +<li>Atmire sent an updated version of <code>dspace/config/spring/api/atmire-cua.xml</code> and now XMLUI starts but gives a null pointer exception:</li> +</ul> + +<pre><code>Java stacktrace: java.lang.NullPointerException + at org.dspace.app.xmlui.aspect.statistics.Navigation.addOptions(Navigation.java:129) + at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:228) + at sun.reflect.GeneratedMethodAccessor126.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.$Proxy103.startElement(Unknown Source) + at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) + at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) + at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) +... +</code></pre> + +<ul> +<li>Import the 47 CCAFS records to CGSpace, creating the SimpleArchiveFormat bundles and importing like:</li> +</ul> + +<pre><code>$ ./safbuilder.sh -c /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/3546.csv +$ JAVA_OPTS=&quot;-Dfile.encoding=UTF-8 -Xmx512m&quot; /home/cgspace.cgiar.org/bin/dspace import -a -e aorth@mjanja.ch -c 10568/3546 -s /tmp/Thumbnails\ to\ Upload\ to\ CGSpace/SimpleArchiveFormat -m 3546.map +</code></pre>