IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Eclipse Platform Discussion :

Application RCP générée avec Tycho ne démarre pas


Sujet :

Eclipse Platform

  1. #1
    Membre habitué
    Développeur informatique
    Inscrit en
    Juillet 2007
    Messages
    167
    Détails du profil
    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Juillet 2007
    Messages : 167
    Points : 143
    Points
    143
    Par défaut Application RCP générée avec Tycho ne démarre pas
    Bonjour,

    mon appli ne démarre pas, voici le contenu du log du workspace. Est-ce que quelqu'un saurait m'aider svp? Merci d'avance pour votre aide.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    !SESSION 2021-03-25 09:59:48.028 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=10.0.2
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
    Command-line arguments:  -os win32 -ws win32 -arch x86_64
     
    !ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2021-03-25 09:59:49.072
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.osgi.framework.BundleException: Anomalie dans org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start() du paquet org.eclipse.equinox.p2.reconciler.dropins.
    	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:803)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:732)
    	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
    	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
    	at org.eclipse.osgi.container.Module.doStart(Module.java:588)
    	at org.eclipse.osgi.container.Module.start(Module.java:456)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1763)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1725)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1656)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)
    Caused by: java.lang.IllegalStateException: MetadataRepositoryManager not registered.
    	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:104)
    	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(RepositoryListener.java:62)
    	at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(DropinsRepositoryListener.java:85)
    	at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:519)
    	at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:175)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:782)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:775)
    	... 12 more
    Root exception:
    java.lang.IllegalStateException: MetadataRepositoryManager not registered.
    	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.initializeMetadataRepository(RepositoryListener.java:104)
    	at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.<init>(RepositoryListener.java:62)
    	at org.eclipse.equinox.internal.p2.reconciler.dropins.DropinsRepositoryListener.<init>(DropinsRepositoryListener.java:85)
    	at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.watchDropins(Activator.java:519)
    	at org.eclipse.equinox.internal.p2.reconciler.dropins.Activator.start(Activator.java:175)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:782)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
    	at java.base/java.security.AccessController.doPrivileged(Native Method)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:775)
    	at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:732)
    	at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1005)
    	at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:357)
    	at org.eclipse.osgi.container.Module.doStart(Module.java:588)
    	at org.eclipse.osgi.container.Module.start(Module.java:456)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1763)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1725)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1656)
    	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
    	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:343)

  2. #2
    Membre émérite
    Avatar de Mickael_Istria
    Homme Profil pro
    Développeur Expert Eclipse IDE/RCP, pour Red Hat
    Inscrit en
    Juillet 2008
    Messages
    1 469
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Expert Eclipse IDE/RCP, pour Red Hat
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 469
    Points : 2 997
    Points
    2 997
    Par défaut
    Je pense que ton application a un probleme avec les "startLevels" qui font que certains services ne sont pas prets a temps.
    Regarde par exemple le .product d'Eclipse SDK, qui configure ce genre de choses: https://git.eclipse.org/c/platform/e...rm.sdk.product
    Pour du HTML, CSS, JavaScript, TypeScript, JSon, Yaml, Node... dans Eclipse IDE, installe Eclipse Wild Web Developer
    Pour du Rust dans Eclipse IDE, installe Eclipse Corrosion
    Follow me on twitter

  3. #3
    Membre habitué
    Développeur informatique
    Inscrit en
    Juillet 2007
    Messages
    167
    Détails du profil
    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Juillet 2007
    Messages : 167
    Points : 143
    Points
    143
    Par défaut
    Citation Envoyé par Mickael_Istria Voir le message
    Je pense que ton application a un probleme avec les "startLevels" qui font que certains services ne sont pas prets a temps.
    Regarde par exemple le .product d'Eclipse SDK, qui configure ce genre de choses: https://git.eclipse.org/c/platform/e...rm.sdk.product
    Merci Mickael pour ton conseil. Je regarde l'exemple ainsi que ce qui est configuré dans mon projet.

  4. #4
    Membre habitué
    Développeur informatique
    Inscrit en
    Juillet 2007
    Messages
    167
    Détails du profil
    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Juillet 2007
    Messages : 167
    Points : 143
    Points
    143
    Par défaut
    Ça y est mon problème est enfin résolu... Le problème venait du .product de mon app: il me manquait "org.apache.felix.scr".

    J'ai également supprimer la référence à "org.eclipse.equinox.p2.reconciler.dropins" qui continuait à me poser des problèmes et qui n'est pas requise pour mon app.

    Encore merci pour le conseil Mickael, cela m'a orienté vers l'éditeur de produit qui n'avait pas été modifier jusqu’à présent

    Je vais pouvoir repartir à mes problèmes de tests d’intégrations KO avec Maven/Jenkins

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Réponses: 3
    Dernier message: 22/05/2010, 10h27
  2. Réponses: 1
    Dernier message: 26/04/2010, 10h58
  3. application RCP dependance avec projet java
    Par kespy13 dans le forum Eclipse Platform
    Réponses: 5
    Dernier message: 04/05/2009, 13h18
  4. [VS.Net 2005][ClickOnce] Mon application ne démarre pas
    Par Vonotar dans le forum Visual Studio
    Réponses: 3
    Dernier message: 07/12/2005, 14h44

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo