Joined: Thu May 09, 2013 12:18 pm Posts: 2
|
Hi everyone!
Many people starts getting into my application, and they start getting the following error:
java.lang.NullPointerException org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:526) org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:265) org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:245) org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) dao.DaoBCB.ModifierUtilisateur(DaoBCB.java:41) business.BusinessBCB.modifierUtilisateur(BusinessBCB.java:30) control.rapports.FermetureSessionVenteAction.execute(FermetureSessionVenteAction.java:84) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
this is my hibernate config:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory name="RestoPlusSessionFactory"> <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property> <property name="hibernate.connection.url">jdbc:oracle:thin:@localhost:1521:BCB</property> <property name="hibernate.connection.username">****</property> <property name="hibernate.connection.password">***</property> <!-- <property name="hibernate.connection.url">jdbc:oracle:thin*****</property> <property name="hibernate.connection.username">****</property> <property name="hibernate.connection.password">****</property> --> <property name="hibernate.dialect">org.hibernate.dialect.OracleDialect</property> <property name="hibernate.search.autoregister_listeners">false</property> <property name="hibernate.connection.autocommit">true</property> <property name="hibernate.cache.provider_class">org.hibernate.cache.NoCacheProvider</property> <!-- <property name="hbm2ddl.auto">create-drop</property> --> <property name="hbm2ddl.auto">update</property> <property name="hibernate.show_sql">true</property> <property name="current_session_context_class">thread</property> <property name="hiernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
<property name="hibernate.c3p0.acquire_increment">1</property> <property name="hibernate.c3p0.idle_test_period">100</property> <property name="hibernate.c3p0.timeout">100</property> <property name="hibernate.c3p0.max_size">50</property> <property name="hibernate.c3p0.min_size">5</property>
I have searched everywhere but nothing !
Any idea please ? Any help ? Thanks in advance guys
|
|