Erreur N4DS

Répondre
musiquepers
Messages : 2
Enregistré le : mar. oct. 09, 2012 8:55 pm

mar. oct. 09, 2012 9:08 pm

Bonjour,

Dans l'optique d'utiliser Open Concerto dans notre école de musique associative, nous sommes en train de voir s'il peut s'appliquer à notre mode de gestion et de calcul des paies.
Nous avons donc saisi la paie d'un professeur sur l'année 2012 et tout semble parfait... sauf que la génération du fichier N4DS entraîne un long message d'erreur :

UncaughtException on thread Thread[AWT-EventQueue-0,6,main]

String index out of range: 9
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:86)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:90)
at org.openconcerto.erp.config.Gestion$1.uncaughtException(Gestion.java:117)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.awt.EventDispatchThread.processException(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: java.lang.StringIndexOutOfBoundsException: String index out of range: 9
etc. etc.


Merci de vos lumières.
Luc
Avatar du membre
guillaume
Messages : 2457
Enregistré le : ven. févr. 11, 2011 7:15 pm

sam. oct. 13, 2012 8:43 pm

Bonsoir Luc,

Une valeur est surement manquante (non saisie) et nous avons du louper une vérification,
merci de nous fournir l'erreur entière :)

Cordialement,
Directeur technique d'OpenConcerto qui dans son temps libre s'occupe du forum.
Pour une assistance pro, nous sommes joignables à ILM Informatique contre quelques jetons.
Pensez aussi à lire le manuel !
musiquepers
Messages : 2
Enregistré le : mar. oct. 09, 2012 8:55 pm

dim. oct. 14, 2012 7:12 am

Bonjour et merci de votre réponse,

Voici le message d'erreur entier :

UncaughtException on thread Thread[AWT-EventQueue-0,6,main]

String index out of range: 9
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:86)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:90)
at org.openconcerto.erp.config.Gestion$1.uncaughtException(Gestion.java:117)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.awt.EventDispatchThread.processException(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: java.lang.StringIndexOutOfBoundsException: String index out of range: 9
at java.lang.String.substring(Unknown Source)
at org.openconcerto.erp.core.humanresources.employe.report.N4DS.writeS10(N4DS.java:330)
at org.openconcerto.erp.core.humanresources.employe.report.N4DS.createDocument(N4DS.java:77)
at org.openconcerto.erp.core.humanresources.employe.action.N4DSAction.actionPerformed(N4DSAction.java:35)
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.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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$200(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$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.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$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
... 6 more
Répondre