DSPACE 7.3 installation error

123 views
Skip to first unread message

Jan Broulím

unread,
Jul 4, 2022, 7:57:47 AM7/4/22
to DSpace Community

Hi,

we are testing DSpace 7.3.

From build we get this warning
 WARN  org.dspace.servicemanager.DSpaceServiceManager @ Unable to locate bean by name or id=database. Will try to look up bean by type next.

The "create-administrator" command fails with this exception:
java.lang.NullPointerException
    at org.dspace.core.AbstractHibernateDAO.getHibernateSession(AbstractHibernateDAO.java:59)
    at org.dspace.core.AbstractHibernateDAO.createQuery(AbstractHibernateDAO.java:137)
    at org.dspace.eperson.dao.impl.GroupDAOImpl.findByName(GroupDAOImpl.java:104)
    at org.dspace.eperson.GroupServiceImpl.findByName(GroupServiceImpl.java:401)
    at org.dspace.administer.CreateAdministrator.createAdministrator(CreateAdministrator.java:223)
    at org.dspace.administer.CreateAdministrator.negotiateAdministratorDetails(CreateAdministrator.java:197)
    at org.dspace.administer.CreateAdministrator.main(CreateAdministrator.java:84)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

The same installation scripts works fine with version 7.2.1.

Thanks

Jan

Jan Broulím

unread,
Jul 11, 2022, 9:10:25 AM7/11/22
to DSpace Community
It is solved.

For those with the same problem, check the parameter db.dialect = org.hibernate.dialect.PostgreSQL94Dialect.

DSpacePostgreSQL82Dialect was working fine with DSpace 7.2, but not with DSpace 7.3

Hope it helps.

Jan
Reply all
Reply to author
Forward
0 new messages