0

我想通过 My dsapce -> New user 创建一个用户。我收到完成注册的电子邮件。但是当我填写表格时,得到“内部系统错误”。环境:DSpace 版本:5.0-rc4-SNAPSHOT,tomcat7,Postgresql 9.3 java 版本“1.7.0_65”,操作系统:Linux(amd64) 版本 3.13.0-32-generic

这是 dspace/log/dspace.log 中的错误日志:

2015-01-01 21:54:48,220 INFO  org.dspace.browse.BrowseEngine @ xxx@yahoo.com:session_id=6D06ED6F708F84A7BFFB443D5FEA2D1F:ip_addr=192.168.2.150:browse_mini:
2015-01-01 21:54:48,242 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ facets for scope, null: 3
2015-01-01 21:54:52,149 INFO  org.dspace.app.webui.servlet.EditProfileServlet @ xxx@yahoo.com:session_id=6D06ED6F708F84A7BFFB443D5FEA2D1F:ip_addr=192.168.2.150:view_profile:
2015-01-01 21:55:14,082 INFO  org.dspace.app.webui.servlet.EditProfileServlet @ xxx@yahoo.com:session_id=6D06ED6F708F84A7BFFB443D5FEA2D1F:ip_addr=192.168.2.150:edit_profile:password_changed=true
2015-01-01 21:55:14,082 INFO  org.dspace.eperson.EPerson @ xxx@yahoo.com:session_id=6D06ED6F708F84A7BFFB443D5FEA2D1F:ip_addr=192.168.2.150:update_eperson:eperson_id=1
2015-01-01 21:55:14,092 WARN  org.dspace.content.DSpaceObject @ Invalid metadata field: [eperson.lastname] : [aaa]
2015-01-01 21:55:14,092 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ xxx@yahoo.com:session_id=6D06ED6F708F84A7BFFB443D5FEA2D1F:ip_addr=192.168.2.150:database_error:java.sql.SQLException\colon; Invalid metadata field\colon; [eperson.lastname]
java.sql.SQLException: Invalid metadata field: [eperson.lastname]
        at org.dspace.content.DSpaceObject.updateMetadata(DSpaceObject.java:122)
        at org.dspace.eperson.EPerson.update(EPerson.java:1056)
        at org.dspace.app.webui.servlet.EditProfileServlet.doDSPost(EditProfileServlet.java:88)
        at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
        at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
4

1 回答 1

0

请尝试全新安装,因为我无法在http://demo.dspace.org上重现该问题

您看到的错误很可能与新的 DSpace 5 功能“所有 DSpace 对象的元数据”有关,该功能也对 Eperson 对象进行了一些更改。

https://jira.duraspace.org/browse/DS-1582

如果您在 DSpace 5 之前启动的数据库上运行 DSpace 5 代码库,则可能会出现这种错误。相反,如果您在 DSpace 5 数据库上运行 pre-DSpace 5 代码,您可能会看到类似的情况。

于 2015-01-15T14:18:02.463 回答