La migration de base centrale depuis v3 ne fonctionne plus
D'après une retour d'expérience de l'IEO/Espagne, une migration v3 vers v5.3.3 ne passe pas. Il semblerait que ce soit un problème lié au nommage d'un des scripts de migration.
org.nuiton.topia.persistence.TopiaException: Exception during schema migration at org.nuiton.topia.migration.AbstractTopiaMigrationCallback.doMigration(AbstractTopiaMigrationCallback.java:148) at org.nuiton.topia.migration.TopiaMigrationEngine.runSchemaMigration(TopiaMigrationEngine.java:355) at fr.ird.observe.services.topia.service.DataSourceServiceTopia.migrateData(DataSourceServiceTopia.java:533) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at fr.ird.observe.services.topia.ObserveServiceFactoryTopia$ObserveServiceInvocationHandler.invokeMethod(ObserveServiceFactoryTopia.java:242) at fr.ird.observe.services.topia.ObserveServiceFactoryTopia$ObserveServiceInvocationHandler.invoke(ObserveServiceFactoryTopia.java:175) at com.sun.proxy.$Proxy7.migrateData(Unknown Source) at fr.ird.observe.application.swing.db.ObserveSwingDataSource.migrateData(ObserveSwingDataSource.java:324) at fr.ird.observe.application.swing.ui.storage.ObstunaAdminAction$2$1.execute(ObstunaAdminAction.java:238) at fr.ird.observe.application.swing.ui.storage.RemoteUILauncher.doAction(RemoteUILauncher.java:109) at fr.ird.observe.application.swing.ui.storage.RemoteUILauncher.doAction(RemoteUILauncher.java:42) at jaxx.runtime.swing.wizard.WizardUILancher$1.run(WizardUILancher.java:170) at fr.ird.observe.application.swing.ui.storage.StorageUIHandler.launchApply(StorageUIHandler.java:305) at fr.ird.observe.application.swing.ui.storage.StorageUI.doActionPerformed__on__applyAction(StorageUI.java:547) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at jaxx.runtime.JAXXUtil$1.invoke(JAXXUtil.java:253) at com.sun.proxy.$Proxy5.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: org.nuiton.topia.persistence.TopiaException: Exception during schema migration at org.nuiton.topia.migration.AbstractTopiaMigrationCallback.doMigration(AbstractTopiaMigrationCallback.java:136) ... 71 more Caused by: java.lang.NullPointerException at java.io.Reader.<init>(Unknown Source) at java.io.InputStreamReader.<init>(Unknown Source) at org.apache.commons.io.IOUtils.copy(IOUtils.java:2272) at org.apache.commons.io.IOUtils.toString(IOUtils.java:1041) at fr.ird.observe.entities.migration.AbstractObserveMigrationCallBack.loadScript(AbstractObserveMigrationCallBack.java:98) at fr.ird.observe.entities.migration.AbstractObserveMigrationCallBack.addScript(AbstractObserveMigrationCallBack.java:83) at fr.ird.observe.entities.migration.versions.DataSourceMigrationForVersion_4_0_RC2.prepareMigrationScript(DataSourceMigrationForVersion_4_0_RC2.java:84) at org.nuiton.topia.migration.TopiaMigrationCallbackByClass$MigrationCallBackForVersion.prepareMigration(TopiaMigrationCallbackByClass.java:107) at org.nuiton.topia.migration.TopiaMigrationCallbackByClass.migrateForVersion(TopiaMigrationCallbackByClass.java:77) at org.nuiton.topia.migration.AbstractTopiaMigrationCallback.doMigration(AbstractTopiaMigrationCallback.java:123) ... 71 more