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

Grails Java Discussion :

Pb migration 1.3.6 vers 1.3.7


Sujet :

Grails Java

  1. #1
    Membre averti
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2005
    Messages
    218
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Octobre 2005
    Messages : 218
    Points : 311
    Points
    311
    Par défaut Pb migration 1.3.6 vers 1.3.7
    Bonjour,

    J'ai un petit souci suite à la migration vers la 1.3.7 :
    Quand j'execute le run-app, j'ai ces messages :
    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
    2011-05-06 23:11:12,841 [main] ERROR context.GrailsContextLoader  - Error executing bootstraps: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
    	at org.grails.tomcat.TomcatServer.start(TomcatServer.groovy:212)
    	at grails.web.container.EmbeddableServer$start.call(Unknown Source)
    	at _GrailsRun_groovy$_run_closure5_closure12.doCall(_GrailsRun_groovy:158)
    	at _GrailsRun_groovy$_run_closure5_closure12.doCall(_GrailsRun_groovy)
    	at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:280)
    	at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
    	at _GrailsRun_groovy$_run_closure5.doCall(_GrailsRun_groovy:149)
    	at _GrailsRun_groovy$_run_closure5.call(_GrailsRun_groovy)
    	at _GrailsRun_groovy.runInline(_GrailsRun_groovy:116)
    	at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)
    	at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)
    	at RunApp$_run_closure1.doCall(RunApp:33)
    	at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
    	at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
    	at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
    	at gant.Gant.withBuildListeners(Gant.groovy:427)
    	at gant.Gant.this$2$withBuildListeners(Gant.groovy)
    	at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
    	at gant.Gant.dispatch(Gant.groovy:415)
    	at gant.Gant.this$2$dispatch(Gant.groovy)
    	at gant.Gant.invokeMethod(Gant.groovy)
    	at gant.Gant.executeTargets(Gant.groovy:590)
    	at gant.Gant.executeTargets(Gant.groovy:589)
    Caused by: java.lang.NullPointerException
    	... 23 more
    Est-ce que quelqu'un peut m'aider?
    PS : un nouveau projet créer avec grails ne pose pas de souci

  2. #2
    Membre averti
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2005
    Messages
    218
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Octobre 2005
    Messages : 218
    Points : 311
    Points
    311
    Par défaut
    J'ai trouvé d'où vient mon pb après plusieurs heures de debuggage.
    Mon problème venait d'une classe avec une double relation many to many :

    En 1.3.6 j'avais écrit
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    static belongsTo =  Organisme , Delegue
    et cela ne posait pas de souci

    En corrigeant comme suit : ca refonctionne, ouf....
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    static belongsTo = [ Organisme , Delegue ]
    En version 1.3.6, il n'y avait pas de soucis...
    Pas évident à trouver vu le peu de clarté du message retourné.

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

Discussions similaires

  1. Réponses: 26
    Dernier message: 12/11/2008, 17h59
  2. migration de base access vers postgres
    Par greg_ggl dans le forum PostgreSQL
    Réponses: 3
    Dernier message: 09/03/2006, 10h33
  3. [PostGre] Migration de Oracle 8i vers PostGre ?
    Par delphim dans le forum Autres SGBD
    Réponses: 2
    Dernier message: 21/04/2004, 17h04
  4. [Migrat+doc] de Netbeans vers Eclipse d'une applic existante
    Par vempiria dans le forum Eclipse Java
    Réponses: 4
    Dernier message: 13/04/2004, 08h23
  5. Migration 7.3.4 vers 9.2
    Par childeric dans le forum Administration
    Réponses: 8
    Dernier message: 12/03/2004, 09h45

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