Hi helix84.
Recently, we have this problem to access to “Control Panel/ DSpace
Configuration”. A few weeks ago, this option usually worked and we have not
made recent changes to DSpace.
org.dspace.app.xmlui.wing.WingInvalidArgument: The 'characters' parameter is
required for list items.
Java stacktrace
org.dspace.app.xmlui.wing.WingInvalidArgument: The 'characters' parameter is
required for list items.
at
org.dspace.app.xmlui.wing.element.AbstractWingElement.require(AbstractWingElement.java:117)
at org.dspace.app.xmlui.wing.element.List.addItem(List.java:292)
at
org.dspace.app.xmlui.aspect.administrative.ControlPanel.addDSpaceConfiguration(ControlPanel.java:527)
at
org.dspace.app.xmlui.aspect.administrative.ControlPanel.addBody(ControlPanel.java:324)
In dspace.cfg and build.properties files, "db.maxconnections" parameter isn’t
empty or commented. We have DSpace 4.0.
Regards.
[http://www.eafit.edu.co/firmadigital/logo-EAFIT-color-peq-01.jpg]
Walter Blandón
Profesional-Analista Gestión Tecnológica
Centro Cultural Biblioteca LEV
Teléfono (57 4) 261 9500, extensión 9365
[email protected]<mailto:[email protected]>
________________________________
Carrera 49 N 7 sur – 50, Medellín - Colombia
Línea de atención al usuario: (57 4) 4489500
www.eafit.edu.co<http://www.eafit.edu.co/>
De: helix84 [mailto:[email protected]]
Enviado el: lunes, 11 de marzo de 2013 10:11 a.m.
Para: Alan Orth
CC: [email protected]
Asunto: Re: [Dspace-tech] Strange issue with DSpace 3.0
Hi Alan,
you can determine the cause by looking at this part of the stacktrace:
Caused by: org.dspace.app.xmlui.wing.WingInvalidArgument: The 'characters'
parameter is required for list items.
at
org.dspace.app.xmlui.wing.element.AbstractWingElement.require(AbstractWingElement.java:117)
at org.dspace.app.xmlui.wing.element.List.addItem(List.java:292)
at
org.dspace.app.xmlui.aspect.administrative.ControlPanel.addDSpaceConfiguration(ControlPanel.java:511)
This tells you that the 'characters' parameter is an empty string and addItem
uses the require() method to check for that. If you go up a call, addItem() is
called from the ControlPanel class, specifically line 511:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/administrative/ControlPanel.java#L511
The parameter passed to addItem() is db.maxconnections property from
dspace.cfg. So it seems you either didn't define it or left it empty. If you
didn't touch this property in dspace.cfg, the problem is in build.properties.
All properties defined in build.properties are transferred to dspace.cfg when
you execute ant (update or fresh_install). You have to make sure you do not
comment out any line in build.properties. Read the warning here:
https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-Thebuild.propertiesConfigurationPropertiesFile
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette