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]