pg_restore: ATTENTION: aucun droit n'a été accordé pour « public »
L'appli se ferme automatiquement : ok
Je la relance en mode normal. Je tente une connexion avec mon login « pcauquil »
(utilisateur que j'ai indiqué comme « technicien » lors de la migration. Une exception jaillit.
Même phénomène avec un autre login de technicien, comme ici avec « adamiano » :
java.lang.RuntimeException: Can not obtain list of interface fr.ird.observe.entities.referentiel.Programme
at jaxx.runtime.swing.nav.tree.NavTreeNode.populateChilds(NavTreeNode.java:253)
at fr.ird.observe.ui.tree.ObserveTreeHelper.createModel(ObserveTreeHelper.java:140)
at fr.ird.observe.ui.tree.ObserveTreeHelper.loadNavigationUI(ObserveTreeHelper.java:239)
at fr.ird.observe.ObserveContext$1.openOnUI(ObserveContext.java:522)
at fr.ird.observe.ObserveContext$1.onOpened(ObserveContext.java:374)
at fr.ird.observe.db.impl.AbstractDataSource.fireOpened(AbstractDataSource.java:573)
at fr.ird.observe.db.impl.AbstractDataSource.doOpen(AbstractDataSource.java:122)
at fr.ird.observe.ui.storage.StorageUIHandler.doChangeStorage(StorageUIHandler.java:487)
at fr.ird.observe.ui.storage.StorageUILauncher$1.doAction(StorageUILauncher.java:204)
at fr.ird.observe.ui.storage.StorageUILauncher$1.doAction(StorageUILauncher.java:142)
at jaxx.runtime.swing.wizard.WizardUILancher$1.run(WizardUILancher.java:173)
at jaxx.runtime.swing.application.ActionWorker.doInBackground(ActionWorker.java:80)
at javax.swing.SwingWorker$1.call(SwingWorker.java:277)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at javax.swing.SwingWorker.run(SwingWorker.java:316)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: fr.ird.observe.db.DataSourceException: Can not obtain list of interface fr.ird.observe.entities.referentiel.Programme
at fr.ird.observe.db.impl.AbstractDataSource.loadDecoratedEntities(AbstractDataSource.java:433)
at fr.ird.observe.db.impl.DataServiceImpl.loadDecoratedEntities(DataServiceImpl.java:1109)
at fr.ird.observe.ui.tree.loadors.RootNodeChildLoador.getData(RootNodeChildLoador.java:92)
at jaxx.runtime.swing.nav.NavNodeChildLoador.loadChilds(NavNodeChildLoador.java:121)
at jaxx.runtime.swing.nav.tree.NavTreeNode.populateChilds(NavTreeNode.java:251)
... 18 more
Caused by: org.nuiton.topia.TopiaException: Une erreur est apparue pendant le recherche (requête FROM fr.ird.observe.entities.referentiel.Programme) :
could not load an entity:
[fr.ird.observe.entities.referentiel.OrganismeImpl#fr.ird.observe.entities.referentiel.Organisme#1267835067241#0.6705236825871838]
at org.nuiton.topia.framework.TopiaContextImpl.find(TopiaContextImpl.java:963)
at org.nuiton.topia.framework.TopiaQuery.execute(TopiaQuery.java:1264)
at org.nuiton.topia.framework.TopiaQuery.executeToEntityList(TopiaQuery.java:1282)
at org.nuiton.topia.persistence.TopiaDAOImpl.findAllByQuery(TopiaDAOImpl.java:513)
at org.nuiton.topia.persistence.TopiaDAOImpl.findAll(TopiaDAOImpl.java:474)
at fr.ird.observe.db.impl.AbstractDataSource.loadDecoratedEntities(AbstractDataSource.java:425)
... 22 more
Caused by: org.hibernate.exception.SQLGrammarException: could not load an entity:
[fr.ird.observe.entities.referentiel.OrganismeImpl#fr.ird.observe.entities.referentiel.Organisme#1267835067241#0.6705236825871838]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1899)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3062)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:906)
at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:874)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:590)
at org.hibernate.type.EntityType.resolve(EntityType.java:412)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:139)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:877)
at org.hibernate.loader.Loader.doQuery(Loader.java:752)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)