Re: [ostorybook-dev] Remarques sur la version test ( .03)

[ Thread Index | Date Index | More lists.tuxfamily.org/ostorybook-dev Archives ]



Le 11/12/2020 à 21:33, oStorybook a écrit :

Le 11/12/2020 à 08:18, Bernard Méhaut a écrit :
    *Le bouton "Montrer / cacher les informations"*

Là il y a une astuce. Si on active le mode Dactylo via le menu (Vue >
Dactylo) ça ouvre un onglet "Dactylo". Il est surprenant que pour toi le
titre de l'onglet soit "!!" (qui signifie l'absence de la traduction de
la clé "typist"). C'est le cas avec ta capture d'écran.
J'ai effacé le répertoire caché pour repartir sur des bases claires. Le programme se relance ( sélection de la langue etc.). J'active le mode Dactylo via le menu (Vue > Dactylo) mais le titre de l'onglet qui s'ouvre est toujours "!!". J'ai fermé l'onglet puis réactivé le mode Dactylo à plusieurs reprises avec toujours le même titre de l'onglet "!!".

L'autre comportement à signaler c'est l'icône de la barre d'outil qui va
enclencher en plus un mode plein écran. C'est plutôt ce mode qui est à
privilégier. Le mode en onglet peut provoquer une perte d'informations,
en fait tout ce qui est à droite. Bon c'est une anomalie finalement, je
vais essayer d'arranger ça.

J'ai cliqué sur l'icône, ce qui a provoqué la fermeture du programme ! En le relançant, je constate que le dernier fichier ne s'est pas rouvert automatiquement malgré la validation de l'option "Réouvrir le dernier projet". Je sélectionne "Fichier > Derniers ouverts > Essai et j'obtiens l'écran suivant  ci-dessous ( je fais le même constat en sélectionnant Fichier > Ouvrir etc.. et ce , quel que soit le format choisi - .osbk ou mb.db). Je ne peux plus accéder au fichier. Dans le "meilleur" des cas, l'icône d'attente signalant le chargement apparaît et tourne, tourne !.


Voici le contenu du message

Exception Message:
null

Stack Trace:
java.lang.NullPointerException
    at net.infonode.docking.AbstractTabWindow.getChildWindow(AbstractTabWindow.java:441)
    at net.infonode.docking.DockingWindow.readLocations(DockingWindow.java:1479)
    at net.infonode.docking.DockingWindow.readLocations(DockingWindow.java:1483)
    at net.infonode.docking.DockingWindow.readLocations(DockingWindow.java:1483)
    at net.infonode.docking.RootWindow.newInternalRead(RootWindow.java:743)
    at net.infonode.docking.RootWindow.read(RootWindow.java:781)
    at storybook.toolkit.DockUtil.loadLayout(DockUtil.java:161)
    at storybook.ui.MainFrame.initUi(MainFrame.java:221)
    at storybook.ui.MainFrame.<init>(MainFrame.java:146)
    at storybook.App.lambda$openFile$1(App.java:350)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Merci de signaler cette erreur à l'équipe de développement.

 J'ai lancé la version .02b sans succès. J'obtiens un message d’erreur similaire ( je joins les deux messages pour comparaison ( j'utilise Meld que je trouve très pratique).

J'ai de nouveau supprimé le fichier caché, sans résultat.

Je supprime le fichier caché et je réinstalle la version .02b sur celle existante : même constat.

Concrètement : je ne peux plus utiliser oStorybook.


Au passage tu me diras ce qui est le mieux, le plein écran ou l'onglet.
On peut garder les deux mais ça peut être perturbant.

Stack Trace:
java.lang.NullPointerException
    at net.infonode.docking.AbstractTabWindow.getChildWindow(AbstractTabWindow.java:441)
    at net.infonode.docking.DockingWindow.readLocations(DockingWindow.java:1479)
    at net.infonode.docking.DockingWindow.readLocations(DockingWindow.java:1483)
    at net.infonode.docking.DockingWindow.readLocations(DockingWindow.java:1483)
    at net.infonode.docking.RootWindow.newInternalRead(RootWindow.java:743)
    at net.infonode.docking.RootWindow.read(RootWindow.java:781)
    at storybook.toolkit.DockUtil.loadLayout(DockUtil.java:161)
    at storybook.ui.MainFrame.initUi(MainFrame.java:221)
    at storybook.ui.MainFrame.<init>(MainFrame.java:146)
    at storybook.App.lambda$openFile$1(App.java:350)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Merci de signaler cette erreur à l'équipe de développement.
Exception Message:
Cannot open connection

Stack Trace:
org.hibernate.exception.GenericJDBCException: Cannot open connection
	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
	at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)
	at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:81)
	at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:345)
	at com.sun.proxy.$Proxy2.beginTransaction(Unknown Source)
	at storybook.model.AbstractModel.beginTransaction(AbstractModel.java:50)
	at storybook.model.hbn.entity.Book.getNbChapters(Book.java:680)
	at storybook.ui.StatusBarPanel.computeStatistics(StatusBarPanel.java:129)
	at storybook.ui.StatusBarPanel.init(StatusBarPanel.java:84)
	at storybook.ui.panel.AbstractPanel.initAll(AbstractPanel.java:75)
	at storybook.ui.StatusBarPanel.<init>(StatusBarPanel.java:55)
	at storybook.ui.MainFrame.initUi(MainFrame.java:203)
	at storybook.ui.MainFrame.<init>(MainFrame.java:146)
	at storybook.App.lambda$openFile$1(App.java:333)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-189]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
	at org.h2.message.DbException.get(DbException.java:168)
	at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:187)
	at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:167)
	at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:99)
	at org.h2.engine.Database.getPageStore(Database.java:2450)
	at org.h2.engine.Database.open(Database.java:672)
	at org.h2.engine.Database.openDatabase(Database.java:269)
	at org.h2.engine.Database.<init>(Database.java:263)
	at org.h2.engine.Engine.openSession(Engine.java:65)
	at org.h2.engine.Engine.openSession(Engine.java:175)
	at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153)
	at org.h2.engine.Engine.createSession(Engine.java:136)
	at org.h2.engine.Engine.createSession(Engine.java:28)
	at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349)
	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
	at org.h2.Driver.connect(Driver.java:72)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:189)
	at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
	... 32 more
Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/bernard/ostory_v6/essai ostory/Essai.mv.db [1.4.189/7]
	at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773)
	at org.h2.mvstore.FileStore.open(FileStore.java:172)
	at org.h2.mvstore.MVStore.<init>(MVStore.java:342)
	at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2884)
	at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:154)
	... 50 more
Merci de signaler cette erreur à l'équipe de développement.
Import SQL exception

Exception Message:
Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-189]

Stack Trace:
org.h2.jdbc.JdbcSQLException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-189]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
	at org.h2.message.DbException.get(DbException.java:168)
	at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:187)
	at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:167)
	at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:99)
	at org.h2.engine.Database.getPageStore(Database.java:2450)
	at org.h2.engine.Database.open(Database.java:672)
	at org.h2.engine.Database.openDatabase(Database.java:269)
	at org.h2.engine.Database.<init>(Database.java:263)
	at org.h2.engine.Engine.openSession(Engine.java:65)
	at org.h2.engine.Engine.openSession(Engine.java:175)
	at org.h2.engine.Engine.createSessionAndValidate(Engine.java:153)
	at org.h2.engine.Engine.createSession(Engine.java:136)
	at org.h2.engine.Engine.createSession(Engine.java:28)
	at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:349)
	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
	at org.h2.Driver.connect(Driver.java:72)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
	at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
	at storybook.model.H2File.open(H2File.java:228)
	at storybook.App.openFile(App.java:304)
	at storybook.App.openFile(App.java:275)
	at storybook.action.MainAction.fileOpen(MainAction.java:55)
	at storybook.ui.MainMenu.lambda$initMenuFile$41(MainMenu.java:591)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.IllegalStateException: The file is locked: nio:/home/bernard/ostory_v6/essai ostory/Essai.mv.db [1.4.189/7]
	at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773)
	at org.h2.mvstore.FileStore.open(FileStore.java:172)
	at org.h2.mvstore.MVStore.<init>(MVStore.java:342)
	at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2884)
	at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:154)
	... 58 more
Merci de signaler cette erreur à l'équipe de développement.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/