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 On Monday, July 4, 2022 at 1:57:47 PM UTC+2 Jan Broulím wrote: > > 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 > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/e8e0e948-48c3-469b-922a-2099fc71872cn%40googlegroups.com.
