Hmm... Line 170 in that file is the patch for DS-898:

170 validity.add("total:"+queryResults.getHitCount());
171 validity.add("start:"+queryResults.getStart());

I'm going to add some info and will copy/paste your suggestion into the
ticket for DS-898. Thanks, Graham.


My short-term solution will be to go into production without this patch,
then I'll see about fixing up the patch in our dev environment (which
reproduces the error.... Yes, kicking myself now).
--
HARDY POTTINGER <[email protected]>
University of Missouri Library Systems
http://lso.umsystem.edu/~pottingerhj/
"No matter how far down the wrong road you've gone,
turn back." --Turkish proverb






On 5/15/11 3:36 PM, "Graham Triggs" <[email protected]> wrote:

>Hi,
>There is an error in the 1.7.1 source. Lines 170 & 171 of
>
>org.dspace.app.xmlui.aspect.artifactbrowser.AbstractSearchneed to be
>moved so that they come after the call to performSearch(). These two
>lines are expecting the queryResults object to be set, but that won't
>happen until after the search has been executed.
>Regards,G
>On 15 May 2011 20:50, Pottinger, Hardy J. <[email protected]>
>wrote:
>
>Hi, I'm in a pickle, our upgrade to 1.7.1 in production is not working
>out so well, we can browse OK, but searching is throwing NPE errors, I'm
>looking for advice to troubleshoot.
>
>Here's a link that is currently throwing an NPE:
>https://mospace.umsystem.edu/xmlui/search?query=test&submit=Go
>
>And of course, we didn't see anything like this in our testing. Both
>production and dev boxes are running the same toolchain on RHEL5. Very
>similar hardware.
>
>Have done the normal upgrade steps (have rebuilt the index a few times,
>restarted everything a few times, cleared the cocoon cache).
>
>Thanks for any pointers you can provide, I really appreciate it.
>
>--Hardy
>--------------------------------------------------------------------------
>----
>Achieve unprecedented app performance and reliability
>What every C/C++ and Fortran developer should know.
>Learn how Intel has extended the reach of its next-generation tools
>to help boost performance applications - inlcuding clusters.
>http://p.sf.net/sfu/intel-dev2devmay
>_______________________________________________
>DSpace-tech mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
>
>
>


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to