Anomalie #66

Erreur lors de l'ajout d'un journal

Added by Tony Chemit over 2 years ago. Updated over 2 years ago.

Status:Résolu Start date:11/04/2009
Priority:Haut Due date:
Assignee:Geoffroy Lorieux % Done:

0%

Category:- Spent time: -
Target version:0.3.1

Description

J'ai une erreur lors de l'ajout d'un journal

Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at jaxx.runtime.Util$1.invoke(Util.java:150)
    at $Proxy4.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at jaxx.runtime.Util$1.invoke(Util.java:144)
    ... 26 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.LinkedList.entry(LinkedList.java:365)
    at java.util.LinkedList.get(LinkedList.java:315)
    at org.chorem.lima.DataManager.getCurrentPeriod(DataManager.java:224)
    at org.chorem.lima.table.model.TransactionDataTableModel.addEmptyTransaction(TransactionDataTableModel.java:250)
    at org.chorem.lima.table.model.TransactionFilteredTableModel.addEmptyTransaction(TransactionFilteredTableModel.java:279)
    at org.chorem.lima.table.model.TransactionSortedTableModel.addEmptyTransaction(TransactionSortedTableModel.java:270)
    at org.chorem.lima.table.model.TransactionFlattenTableModel.addEmptyTransaction(TransactionFlattenTableModel.java:587)
    at org.chorem.lima.ui.TransactionViewImpl.addEmptyTransaction(TransactionViewImpl.java:275)
    at org.chorem.lima.ui.TransactionView.doActionPerformed__on__addButton(TransactionView.java:167)
    ... 31 more

History

Updated by Tony Chemit over 2 years ago

  • Subject changed from NPE lors de l'ajout d'un journal to Erreur lors de l'ajout d'un journal

Updated by Jean Couteau over 2 years ago

  • Priority changed from Normal to Haut

Quand je crée un journal il me l'ajoute bien à l'interface mais je peux ni le modifier ni le supprimer (ce journal n'existe pas).

Si je redémarre lima, là je peux le supprimer.

Updated by Florian DESBOIS over 2 years ago

  • Status changed from Nouveau to Résolu
  • Assignee set to Geoffroy Lorieux
  • Target version set to 0.3.1

Also available in: Atom PDF