Re: [ostorybook-dev] Version 5.05.06 alpha Bug (ponctuel) vue gestion

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



Le 21/01/2022 à 12:37, oStorybook a écrit :
Le 20/01/2022 à 15:22, Bernard Méhaut a écrit :
Bonjour,

J'ai constaté que la vue Gestion ne s'affichait pas en ouvrant un projet
très léger dédié aux tests. Par contre, cela ne se produit pas avec un
autre projet plus conséquent.

  J'ai vérifié que les scènes étaient bien classées dans des chapitres /
parties.

Bernard
Il y a un bug c'est certain. Pourrais-tu lancer en ligne de commande de
manière à récupérer les messages d'erreur?

Voici les logs et le fichier utilisé.

Je n'ai utilisé que le projet joint NouvelEssai2022.osbk

Au lancement,  la barre de menu seule est visible. Rien ne s'affiche.

J'ai sélectionné Fenêtres - Charger la disposition Vue_gestion (enregistrée précédemment et affichant un contenu vide).  Rien ne s'affiche. ("Réinitialiser la disposition" tourne à vide)

Pour obtenir le contenu des objets sélectionnés, j'ai chargé la disposition Personnages préexistante au bug. Tout s'affiche.

Lorsque j'ajoute la vue Gestion, son contenu n'apparaît pas.

Je joins le fichier de log (la commande " java -jar oStorybook.jar &> Sortie_vue_gestion2.log" est très pratique !)

Bonne soirée

Bernard

Attachment: NouvelEssai2022.osbk
Description: application/vnd.ostorybook

oStorybook 5.05.06 alpha starting with: 
Assistant from default /home/bernard/apps/ostory_05alpha/./Assistant/Assistant_fr.properties
query test OK
SCENE_INIT Exception:null
java.lang.NullPointerException
	at storybook.ui.panel.book.BookInfoPanel.initUi(BookInfoPanel.java:112)
	at storybook.ui.panel.book.BookInfoPanel.<init>(BookInfoPanel.java:62)
	at storybook.ui.panel.book.BookScenePanel.refresh(BookScenePanel.java:78)
	at storybook.ui.panel.book.BookScenePanel.initUi(BookScenePanel.java:68)
	at storybook.ui.panel.book.BookScenePanel.<init>(BookScenePanel.java:41)
	at storybook.ui.panel.book.BookPanel.refresh(BookPanel.java:228)
	at storybook.ui.panel.book.BookPanel.modelPropertyChange(BookPanel.java:174)
	at storybook.ctrl.AbstractCtrl.propertyChange(AbstractCtrl.java:132)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
	at storybook.model.AbstractModel.firePropertyChange(AbstractModel.java:96)
	at storybook.model.AbstractModel.firePropertyChange(AbstractModel.java:74)
	at storybook.model.Model.fireAgainScenes(Model.java:444)
	at storybook.model.Model.fireAgain(Model.java:283)
	at storybook.ui.MainFrame.initAfterPack(MainFrame.java:481)
	at storybook.ui.MainFrame.initUi(MainFrame.java:207)
	at storybook.ui.MainFrame.<init>(MainFrame.java:142)
	at storybook.App.lambda$openFile$1(App.java:426)
	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)
unable to restore layout, setting default
unable to restore layout, setting default
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at storybook.ui.panel.manage.dnd.ScenePanel.initUi(ScenePanel.java:107)
	at storybook.ui.panel.AbstractPanel.initAll(AbstractPanel.java:76)
	at storybook.ui.panel.manage.dnd.ScenePanel.<init>(ScenePanel.java:65)
	at storybook.ui.panel.manage.dnd.DTScenePanel.<init>(DTScenePanel.java:42)
	at storybook.ui.panel.manage.dnd.DTScenePanel.<init>(DTScenePanel.java:34)
	at storybook.ui.panel.manage.ChapterPanel.initUi(ChapterPanel.java:204)
	at storybook.ui.panel.AbstractPanel.initAll(AbstractPanel.java:76)
	at storybook.ui.panel.manage.ChapterPanel.<init>(ChapterPanel.java:67)
	at storybook.ui.panel.manage.ManagePanel.refresh(ManagePanel.java:208)
	at storybook.ui.panel.manage.ManagePanel.initUi(ManagePanel.java:191)
	at storybook.ui.panel.AbstractPanel.initAll(AbstractPanel.java:76)
	at storybook.ui.SbViewFactory.loadView(SbViewFactory.java:532)
	at storybook.ui.MainFrame$MainDockingWindowAdapter.windowAdded(MainFrame.java:915)
	at net.infonode.docking.DockingWindow.fireWindowAdded(DockingWindow.java:1172)
	at net.infonode.docking.DockingWindow.addWindow(DockingWindow.java:1634)
	at net.infonode.docking.AbstractTabWindow.addTabNoSelect(AbstractTabWindow.java:345)
	at net.infonode.docking.TabWindow.addTabNoSelect(TabWindow.java:229)
	at net.infonode.docking.DockingWindow.insertTab(DockingWindow.java:2089)
	at net.infonode.docking.DockingWindow.restoreItem(DockingWindow.java:1978)
	at net.infonode.docking.DockingWindow.restoreViews(DockingWindow.java:1953)
	at net.infonode.docking.DockingWindow.restore(DockingWindow.java:448)
	at storybook.ui.MainFrame.showAndFocus(MainFrame.java:519)
	at storybook.ui.MainMenu.lambda$initMenuView$122(MainMenu.java:1004)
	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)
query test OK
SCENE_INIT Exception:null
java.lang.NullPointerException
	at storybook.ui.panel.book.BookInfoPanel.initUi(BookInfoPanel.java:112)
	at storybook.ui.panel.book.BookInfoPanel.<init>(BookInfoPanel.java:62)
	at storybook.ui.panel.book.BookScenePanel.refresh(BookScenePanel.java:78)
	at storybook.ui.panel.book.BookScenePanel.initUi(BookScenePanel.java:68)
	at storybook.ui.panel.book.BookScenePanel.<init>(BookScenePanel.java:41)
	at storybook.ui.panel.book.BookPanel.refresh(BookPanel.java:228)
	at storybook.ui.panel.book.BookPanel.modelPropertyChange(BookPanel.java:174)
	at storybook.ctrl.AbstractCtrl.propertyChange(AbstractCtrl.java:132)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
	at storybook.model.AbstractModel.firePropertyChange(AbstractModel.java:96)
	at storybook.model.AbstractModel.firePropertyChange(AbstractModel.java:74)
	at storybook.model.Model.fireAgainScenes(Model.java:444)
	at storybook.model.Model.fireAgain(Model.java:283)
	at storybook.ui.MainFrame.initAfterPack(MainFrame.java:481)
	at storybook.ui.MainFrame.initUi(MainFrame.java:207)
	at storybook.ui.MainFrame.<init>(MainFrame.java:142)
	at storybook.App.lambda$openFile$1(App.java:426)
	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)
unable to restore layout, setting default


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