MCD inaccessible apres fermeture du logiciel

Bug #1414955 reported by didier flourac
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
AnalyseSI
New
Undecided
Unassigned

Bug Description

Apres fermeture et réouverture du logiciel et du fichier asi le MCD est inaccessible .
Le dictionnaire est correct, la verification aussi ainsi que la génération du code SQL.
Mais on ne peut plus accéder au MCD.
Merci de votre réponse .
A part ça ce petit logiciel est super et réponds exactement a ce que je cherchais.

Revision history for this message
Antoine Nosal (antoine-nosal) wrote :

Bonjour,

J'ai eu exactement le même problème aujourd'hui !

C'est extrêmement handicapant, y a-t-il une solution ?

Merci,
Antoine.

Revision history for this message
Olivier DOSSMANN (odossmann) wrote :

Bonjour,

Même problème ce jour en ajouter un nouveau champ comme ID (donc premier élément) à la place d'un autre.

Cela bloque la génération du SQL à un point précis, ce qui me fait penser aux nouveaux champs ajoutés justement dans cette table.

Après avoir supprimé les nouveaux champs du dictionnaire (qui d'ailleurs n'était liés à aucune Table d'après le tableau), le MCD commence à s'afficher si on reste dessus assez longtemps. Ça fait 5 minutes et je vois désormais les boutons pour exporter au format PNG, ce que je fais => le MCD est correct sur le PNG, mais il n'est pas encore affiché en totalité sur AnalyseSI.

Revision history for this message
Olivier DOSSMANN (odossmann) wrote :
Download full text (6.4 KiB)

Voici l'erreur que j'obtiens - dans une console - lorsque je tente d'ouvrir l'onglet MCD :

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.elementData(ArrayList.java:400)
        at java.util.ArrayList.get(ArrayList.java:413)
        at org.analyse.merise.gui.table.DictionnaireTable.getValueAt(DictionnaireTable.java:293)
        at org.analyse.merise.gui.table.DictionnaireTable.getValue(DictionnaireTable.java:277)
        at org.analyse.merise.mcd.composant.MCDEntite.updateSize(MCDEntite.java:112)
        at org.analyse.merise.mcd.composant.MCDEntite.paint(MCDEntite.java:71)
        at org.analyse.core.gui.zgraph.ZGraphique.paintComponent(ZGraphique.java:460)
        at javax.swing.JComponent.paint(JComponent.java:1046)
        at javax.swing.JComponent.paintChildren(JComponent.java:879)
        at javax.swing.JComponent.paint(JComponent.java:1055)
        at javax.swing.JViewport.paint(JViewport.java:731)
        at javax.swing.JComponent.paintChildren(JComponent.java:879)
        at javax.swing.JComponent.paint(JComponent.java:1055)
        at javax.swing.JComponent.paintChildren(JComponent.java:879)
        at javax.swing.JComponent.paint(JComponent.java:1055)
        at javax.swing.JComponent.paintChildren(JComponent.java:879)
        at javax.swing.JComponent.paint(JComponent.java:1055)
        at javax.swing.JComponent.paintToOffscreen(JComponent.java:5223)
        at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
        at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
        at javax.swing.JComponent._paintImmediately(JComponent.java:5171)
        at javax.swing.JComponent.paintImmediately(JComponent.java:4982)
        at javax.swing.RepaintManager$3.run(RepaintManager.java:808)
        at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
        at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
        at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
        at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
        at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
        at java.awt.EventQueue.access$300(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.awt.EventQueue$3.run(EventQueue.java:704)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThre...

Read more...

Revision history for this message
Olivier DOSSMANN (odossmann) wrote :

Navré d'envoyer plusieurs message, je n'ai pas réfléchi de suite à tout cela.

Ci-joint le fichier qui pose problème.

PS : Y a-t-il une raison pour que le format du fichier ne soit pas sous une forme XML ou lisible/modifiable en plain text ? Cela m'aurait permis de bidouiller un peu pour supprimer les quelques champs problématiques (si s'en sont).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.