Hi all,

 

I hate to dredge this one up again, but I’ve encountered the same problem

again and hope that someone out there may have as well.  I can’t be

unique.

 

When I last tried to incorporate the Embargo code (User:Emetsger:Embargo)

into DSpace 1.5.1, I ran into a problem where I could no longer browse using

a field which I had newly defined, e.g. dc.description.consignmentnumber. 

When a new patch recently came out for 1.5.2, I figured it was worth a try.

Unfortunately, I have precisely the same problem.

 

I followed the patch instructions to the letter and browse worked perfectly

before, so it can’t be my configuration.  The advanced search function works

fine on the same field. 

 

The error follows.  Perhaps it will mean more to you than it does to me.

 

java.lang.NullPointerException:

 

Cocoon stacktrace [hide]

Could not read resource cocoon://DRI/4/browse

context:/resource://aspects/Administrative/sitemap.xmap - 862:31             <map:serialize type="xml">

context:/resource://aspects/Administrative/sitemap.xmap - 271:38             <map:transform type="Navigation">

context:/resource://aspects/Administrative/sitemap.xmap - 270:44             <map:transform type="SystemwideAlerts">

context:/resource://aspects/Administrative/sitemap.xmap - 268:19             <map:generate>

context:/resource://aspects/EPerson/sitemap.xmap - 332:31         <map:serialize type="xml">

context:/resource://aspects/EPerson/sitemap.xmap - 137:38         <map:transform type="Navigation">

context:/resource://aspects/EPerson/sitemap.xmap - 126:19         <map:generate>

context:/resource://aspects/Submission/sitemap.xmap - 300:38    <map:serialize type="xml">

context:/resource://aspects/Submission/sitemap.xmap - 143:45    <map:transform type="Navigation">

context:/resource://aspects/Submission/sitemap.xmap - 140:26    <map:generate>

context:/jndi:/localhost/xmlui//aspects/aspects.xmap - 115:34       <map:serialize type="xml">

context:/jndi:/localhost/xmlui//aspects/aspects.xmap - 114:43       <map:transform type="PageNotFound">

context:/jndi:/localhost/xmlui//aspects/aspects.xmap - 113:22       <map:generate>

context:/jndi:/localhost/xmlui//themes/SRO/sitemap.xmap - 165:34            <map:serialize type="xhtml">

context:/jndi:/localhost/xmlui//themes/SRO/sitemap.xmap - 159:33            <map:transform type="i18n">

context:/jndi:/localhost/xmlui//themes/SRO/sitemap.xmap - 154:35            <map:transform>

context:/jndi:/localhost/xmlui//themes/SRO/sitemap.xmap - 139:45            <map:transform type="IncludePageMeta">

context:/jndi:/localhost/xmlui//themes/SRO/sitemap.xmap - 125:55            <map:generate type="file">

context:/jndi:/localhost/xmlui//themes/SRO/sitemap.xmap - 122:28            <map:match>

context:/jndi:/localhost/xmlui//themes/themes.xmap - 63:45          <map:mount>

context:/jndi:/localhost/xmlui//themes/themes.xmap - 62:35          <map:match type="ThemeMatcher">

context:/jndi:/localhost/xmlui//sitemap.xmap - 383:73       <map:mount>

 

Java stacktrace [hide]

 

java.lang.NullPointerException

            at org.dspace.app.xmlui.aspect.artifactbrowser.ConfigurableBrowse.getValidity(ConfigurableBrowse.java:233)

            at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy13.getValidity(Unknown Source)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.getValidityForInternalPipeline(AbstractCachingProcessingPipeline.java:987)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.validatePipeline(AbstractCachingProcessingPipeline.java:601)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:717)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:480)

            at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy8.prepareInternal(Unknown Source)

            at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:292)

            at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:148)

            at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)

            at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)

            at org.dspace.app.xmlui.cocoon.AspectGenerator.setup(AspectGenerator.java:112)

            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy9.setup(Unknown Source)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:343)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:710)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:480)

            at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy8.prepareInternal(Unknown Source)

            at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:292)

            at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:148)

            at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)

            at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)

            at org.dspace.app.xmlui.cocoon.AspectGenerator.setup(AspectGenerator.java:112)

            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy9.setup(Unknown Source)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:343)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:710)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:480)

            at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy8.prepareInternal(Unknown Source)

            at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:292)

            at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:148)

            at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)

            at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)

            at org.dspace.app.xmlui.cocoon.AspectGenerator.setup(AspectGenerator.java:112)

            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy9.setup(Unknown Source)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:343)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:710)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:480)

            at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy8.prepareInternal(Unknown Source)

            at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:292)

            at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:148)

            at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)

            at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)

            at org.dspace.app.xmlui.cocoon.AspectGenerator.setup(AspectGenerator.java:112)

            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy9.setup(Unknown Source)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:343)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:710)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.prepareInternal(AbstractProcessingPipeline.java:480)

            at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy8.prepareInternal(Unknown Source)

            at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:292)

            at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:148)

            at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:62)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:153)

            at org.apache.cocoon.components.source.CocoonSourceResolver.resolveURI(CocoonSourceResolver.java:183)

            at org.apache.cocoon.generation.FileGenerator.setup(FileGenerator.java:99)

            at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy9.setup(Unknown Source)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:343)

            at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:710)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:466)

            at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:411)

            at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)

            at $Proxy8.process(Unknown Source)

            at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:147)

            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(AbstractParentProcessingNode.java:78)

            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)

            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)

            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)

            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)

            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)

            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:247)

            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)

            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(AbstractParentProcessingNode.java:78)

            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)

            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)

            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)

            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)

            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)

            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:247)

            at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)

            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)

            at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)

            at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:78)

            at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:81)

            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:239)

            at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:171)

            at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:247)

            at org.apache.cocoon.servlet.RequestProcessor.process(RequestProcessor.java:351)

            at org.apache.cocoon.servlet.RequestProcessor.service(RequestProcessor.java:169)

            at org.apache.cocoon.sitemap.SitemapServlet.service(SitemapServlet.java:84)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:468)

            at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:443)

            at org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:264)

            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

            at $Proxy5.service(Unknown Source)

            at org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:106)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

            at org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:142)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

            at org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:244)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

            at org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)

            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)

            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)

            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)

            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)

            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)

            at java.lang.Thread.run(Thread.java:595)

 

 

 

 

Cherrs,

Lyn

 

Lyn Amery

Web Analyst/Programmer

State Records Office

(08) 9427 3493

lyn.amery@sro.wa.gov.au