Page 1 sur 2

Accès impossible à OpenConcerto après mise à niveau Xubuntu

Posté : ven. mai 11, 2018 6:38 pm
par denis4
Bonjour,
J'utilisais OpenConcerto qui était placé dans le "Home" dans xubuntu version 16.
En passant à la version 18 mon "Home" s'est trouvé vide et OpenConcerto comme le reste de mes Documents s'est retrouvé dans le dossier "Media"
Quand je lance Openconcerto j'ai le message d'erreur :

Code : Tout sélectionner

UncaughtException on thread Thread[main,5,main]

com/sun/java/swing/plaf/windows/WindowsLookAndFeel
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[main,5,main]
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:121)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:125)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:198)
	at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1055)
	at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1050)
	at java.base/java.lang.Thread.dispatchUncaughtException(Thread.java:2053)
Caused by: java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/WindowsLookAndFeel
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:801)
	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:699)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:622)
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
	at org.openconcerto.erp.config.Gestion.main(Gestion.java:312)
Caused by: java.lang.ClassNotFoundException: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
	... 10 more
J'ai essayé de réinstaller OpenConcerto dans le "Home", il s'ouvre correctement mais comment restaurer la structure de ma société ?
Cordialement
Denis

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : sam. mai 12, 2018 4:57 pm
par Jérôme
Bonjour,
Étonnant pour le home dans media!?
Si c'est une base H2, il faut remettre le bon chemin vers celle ci depuis l'outil de configuration d'OP.
Jérôme

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : sam. mai 12, 2018 5:14 pm
par denis4
Bonjour,
Ok mais je ne vois pas d'accès à un outil de configuration. Je suis sous Linux en monoposte et c'est bien une base H2.
Denis

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : dim. mai 13, 2018 9:00 am
par SRI
Il faudrait que tu expliques plus comment tu es passé à Xubuntu 16 à 18, mais j'ai l'impression que tu n'as pas fait une vraie mise à jour, ou que celle-ci ne s'est pas passé comme prévue.

Ton /home devait être sur une partition différente de la partition système de Xubuntu 16. Quand tu es passé à la version 18, cette partition contenant ton /home n'a pas été reprise (pour une raison que j'ignore), donc l'installateur de la version 18 t'a recréé un dossier /home (et donc vide).
Par contre, ton ancienne partition contenant ton ancien /home existe toujours sur ton ordinateur, et Xubuntu 18 te propose d'y accéder par l'intermédiaire du dossier /media.

C'est en général dans ce dossier qu'on accède aux partitions Windows et aux clés USB qu'on branche.

Donc je tenterais un copier/coller de toutes les données (égalements les fichiers/dossiers cachés) de de ton home dans /media dans ton nouveau /home.
N'hésites pas nous donner plus de détails avant de te lancer la dedans si tu n'es pas très sûr.

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : dim. mai 13, 2018 10:54 am
par denis4
Bonjour,
J'ai suivi la procédure suivante sur Ubuntu :
Démarrez votre Live CD ou votre Live USB, et lancez l'installation.
Lors de l'installation de Ubuntu, à l'étape "Type d'installation" (Etape 3), il faut choisir "Autre chose"
puis cliquer sur « Suivant », ce qui affiche la table (la liste) des partitions existantes.
Double-cliquez sur la partition système Ubuntu que vous voulez remplacer.
Une fenêtre s'ouvre, qui s'appelle « modifier une partition ». Dans cette fenêtre, vous avez plusieurs zones :

« taille de la nouvelle partition » : conservez la taille actuelle.
« Utiliser comme » : choisir le format actuel de la partition1).
« Formater la partition » : ne cochez pas la case.
« Point de montage » : ouvrir la liste déroulante et choisir « / » (réinstallation sur la racine de la partition).

Maintenant soit je ré installe xubuntu 18 sans être sur de ne pas avoir le même résultat. Soit j'essaie de d'ouvrir OpenConcerto que j'avais initialement installé avec toutes les données mais voir le message d'erreur ci-dessus, soit j'utilise OpenConcerto que j'ai réinstallé dans le home mais qui n'a aucune donnée et dont je ne sais pas comment faire pour les récupérer.
Denis

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : dim. mai 13, 2018 1:37 pm
par SRI
Cela me conforte dans mon diagnostic : tu avais sous Xunbuntu 16 au moins deux partitions, une pour / et une pour /home. Quant tu as installé la version 18, tu as indiqué la partition / mais pas la partition contenant /home.

1er conseil : Si ce n'est pas déjà fait, sauvegarde ton ancien /home qui se trouve actuellement dans /media.

Après, difficile de te conseiller quelque chose, car je ne connais pas ton niveau de connaissance, ni comment était installé Xubuntu 16.

Désolé.

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : dim. mai 13, 2018 4:10 pm
par denis4
Excuses moi d'insister mais l'important pour moi aujourd'hui et de savoir comment je peux repartir de ma dernière sauvegarde OpenConcerto H2 sur une nouvelle installation. J'en ai vraiment besoin pour ma compte. Peu importe xubuntu.
Je ne dois pas être le premier à vouloir restaurer une sauvegarde de compta et de structure.
Dans un précédent post Jérome parlait d'outil de configuration mais je n'ai pas trouvé.
Denis

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : dim. mai 13, 2018 5:53 pm
par SRI
Pour ma part, je ne peux t'aider plus. J'ai souscrit depuis plusieurs mois à l'offre Cloud pour ne pas avoir à gérer ce genre de problème.

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : dim. mai 13, 2018 6:27 pm
par denis4
Merci tout de même.

J'ai réussi à installer la base H2 sur la version d'OpenConcerto dernièrement installé sur le home, j'ai toute ma compta mais j'ai un problème sur les comptes client. Je ne peux pas les modifier ou en ajouter un.
Voici l'erreur :
  • UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
    org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:129)
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:134)
    at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:201)
    at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1055)
    at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1050)
    at java.desktop/java.awt.EventDispatchThread.processException(EventDispatchThread.java:222)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:214)
    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.NullPointerException
    at org.openconcerto.erp.core.sales.product.element.ClientCodeArticleTable.init(ClientCodeArticleTable.java:52)
    at org.openconcerto.erp.core.sales.product.element.ClientCodeArticleTable.<init>(ClientCodeArticleTable.java:42)
    at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLComponent.<init>(CustomerSQLComponent.java:97)
    at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLElement.createComponent(CustomerSQLElement.java:47)
    at org.openconcerto.sql.element.SQLElement.createComponent(SQLElement.java:3004)
    at org.openconcerto.sql.element.SQLElement.createComponent(SQLElement.java:2985)
    at org.openconcerto.sql.element.SQLElement.createDefaultComponent(SQLElement.java:2972)
    at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:79)
    at org.openconcerto.sql.view.IListPanel.getCreateFrame(IListPanel.java:607)
    at org.openconcerto.sql.view.IListPanel.handleAction(IListPanel.java:519)
    at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:65)
    at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:468)
    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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270)
    at java.desktop/java.awt.Component.processMouseEvent(Component.java:6589)
    at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
    at java.desktop/java.awt.Component.processEvent(Component.java:6354)
    at java.desktop/java.awt.Container.processEvent(Container.java:2261)
    at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
    at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914)
    at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
    at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
    at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2305)
    at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
    at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
    at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
    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:87)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
    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:87)
    at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
    ... 5 more
Il faut peut être que je fasse un nouveau post ?

Re: Accès impossible à OpenConcerto après mise à niveau Xubu

Posté : lun. mai 14, 2018 8:01 pm
par guillaume
Bonjour,

Avez-vous bien reinstallé la même version d'OpenConcerto qu'auparavant?

Cordialement,