NPE sur la méthode Exporter#execute

XMLWordImprimable

    • Type: Bug
    • Résolution: Clôture automatique
    • Priorité: Mineur
    • master
    • Affecte la/les version(s): 1.07.04
    • Composants: Aucune
    • Aucune

      En appellant la méthode Exporter#execute (OMContext ctx, Map<String,String> mapParams, File file), une NPE est déclarée :

      Cette méthode appelle la méthode suivante avec infoBean == null :

      public void execute(final OMContext ctx, final Map<String, String> mapParams, final File file) throws ErreurApplicative { 
          execute(null, ctx, mapParams, file); 
      }
      
      private void execute(final InfoBean infoBean, final OMContext ctx, final Map<String, String> mapParams, final File file) throws ErreurApplicative {
       final boolean infoBeanOk = infoBean != null;
       session = infoBean.getSessionHttp(); <----- NPE
      ...
      }
      

            Personne assignée:
            Morgan BLANLOEIL [X] (Inactif)
            Rapporteur:
            Gabriel BOURSIER [X] (Inactif)
            Votes:
            0 Voter pour ce ticket
            Gérer les observateurs:
            1 Démarre l'observation de ce ticket

              Création:
              Mise à jour:
              Résolue: