-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: [Débutant] Erreur
PostPosted: Tue Sep 06, 2005 12:23 pm 
Newbie

Joined: Tue Sep 06, 2005 12:18 pm
Posts: 1
Bonjour j'ai un message d'erreur lorrque j'essaye de faire une requete via hibernate et je ne comprends pas très bien.

Voici l'erreur que me renvoit l'appliaction:

Code:
[06/09/05 18:22:54:783 CEST] 103d1baf RequestProces W org.apache.struts.action.RequestProcessor  Unhandled Exception thrown: class java.lang.NullPointerException
[06/09/05 18:22:54:783 CEST] 103d1baf ActionServlet E com.total.rm.evie.reference.action.ActionServlet  erreur: null
[06/09/05 18:22:54:830 CEST] 103d1baf OSEListenerDi E PLGN0021E: Exception de processeur de demande de servlet : Hôte virtuel/Groupe Web introuvable : Le groupe web /favicon.ico n'a pas été défini


Code:
public static List searchFiliale() throws  DaoException, Exception {
      
         List listeFiliales= null;
                  
         ConnectionManager manager = ConnectionManagerHelper.getConnectionManager();
         manager.begin();
         FilialeDAO requeteFiliales = DAOFactory.getFilialeDAO();
         
         listeFiliales = (List) requeteFiliales.getAllFilialeUtilisateur();      
            
            
         return listeFiliales;
      }


Code:
public void begin() throws ConnectionManagerException {
      try {
         openSession();
         currenttx = session.beginTransaction();
      } catch (HibernateException he) {
         logger.error("HibernateException", he);
         throw new ConnectionManagerException(he, getClass().getName(), he.getClass().getName());
      } catch (Exception e) {
         logger.error("Exception", e);
         throw new ConnectionManagerException(e, getClass().getName(), e.getClass().getName());
      }
   }


[/code]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 2:25 pm 
Pro
Pro

Joined: Fri Sep 02, 2005 4:21 am
Posts: 206
Location: Vienna
Bonjour,

Je ne vois rien dans ton message d'erreur qui me permette de penser que la cause de tes ennuis est liée à Hibernate.

Peut-être un expert en struts pourra-t-il t'aider davantage...

Erik


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.