Ravinder Kalsi (Staff) ha scritto:
> ..
> "An internal server error occurred on http://bura.brunel.ac.uk:
>
> Date:       06/11/07 19:04
> Session ID: 9C54F0079FA5642B51A8F28F339584E7
>
> -- URL Was: 
> http://bura.brunel.ac.uk/simple-search?advanced=true&conjunction1=AND&conjunction2=AND&field1=ANY&field2=ANY&field3=ANY&location=%2F&query1=archive&query2=&submit=Search
> -- Method: GET
> -- Parameters were:
> -- query2: ""
> -- submit: "Search"
> -- field1: "ANY"
> -- conjunction2: "AND"
> -- advanced: "true"
> -- query1: "archive"
> -- field2: "ANY"
> -- location: "/"
> -- conjunction1: "AND"
> -- field3: "ANY"
>
>   
the query3 argument is missed so you get a nullpointer... from dspace
1.4 this is not more a problem but if you don't want update, a quick fix
can be
change the QueryArgs class adding a null check
line155: if (query1.length() > 0) -> if (query1 != null &&
query1.length() > 0)
line 160: if (query2.length() > 0) -> if (query2 != null &&
query2.length() > 0)
line 168: if (query3.length() > 0) -> if (query3 != null &&
query3.length() > 0)

after the change you need to recompile & deploy dspace (i.e. ant
-Dconfig=/path/to/dspace.cfg update and copy of dspace.war in tomcat)

Andrea

-- 
Dott. Andrea Bollini
Responsabile tecnico sviluppo e formazione applicativi JAVA
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292831  cel. +39 348-8277525


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to