-->
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: Can't understant where the problem is, please help !
PostPosted: Thu May 09, 2013 12:24 pm 
Newbie

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


Top
 Profile  
 
 Post subject: Re: Can't understant where the problem is, please help !
PostPosted: Tue May 14, 2013 7:58 am 
Newbie

Joined: Thu May 09, 2013 12:18 pm
Posts: 2
Still waiting for help :(


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.