exception 1 « Exception « Java Database Q&A





1. How to catch a specific exceptions in JDBC?    stackoverflow.com

How to catch a specific exceptions in JDBC? Examples: primary key exception or foreign key exception.

2. Exception in Database    stackoverflow.com

HI I made a method in my class that is:

public void addInfo(String username, String password, String name, String family) {
        try {

 String sql = ...

3. Solr DataImporter config exception    stackoverflow.com

Starting Apache Solr Admin (Win7), after configuring Solr DataImportHandler to connect to SQL Server using JDBC SQLServerDriver, produces following error. MS Sql JDBC Connector sqljdbc4.jar is placed in bin, and lib ...

4. "Type interface is not known to the MapperRegistry" exception using mybatis    stackoverflow.com

I'm setting up mybatis using annotations, and getting this helpful exception

org.apache.ibatis.binding.BindingException: Type interface org.foo.Bar is not known to the MapperRegistry
Googling it doesn't find anything, nor ...

5. how to handle exceptions in the while loop?    stackoverflow.com

I have a situation in java where in:

while(resultset.next()){
   try{
      //some executable prepared statements written
   }
   catch(MySQLIntegrityConstraintViolationException ex){
    ...

6. Exceptions caught by BatchUpdateException java    stackoverflow.com

I am trying to connect to a database [MSSQL server] and do a batch update. However, I want to catch the BatchUpdateException thrown and then do a processing on the returned ...

7. Database Exceptions -> Throw exceptions in Database class or in Controller class    stackoverflow.com

I'm writing a j2me(mobile) which uses a db a lot. But now I don't know how to do the following. Should I throw Exceptions in the database class itself, and use a ...

8. c3p0 getConnection does not return or throw Exception once acquireRetryAttempts reached    stackoverflow.com

Using c3p0 for my connection pool, the thread calling c3p0 appears to be terminated or left in an undefined state after the connection pool exhausts its retry attempts. The connection pool is ...

9. Cast bigint to long    stackoverflow.com

I am getting data from a database. I am getting classcastexception. In database my id is saved as BIGINT but in code(object) it is long. Is there is any problem while casting bigint ...





10. exception with jdbc    stackoverflow.com

i'm a beginner with jdbc, i have a DB in sql server and i connected to a java app code when i run it i resive this: run: The SQL connection was successful. JDBC ...

11. Exception while using OPENROWSET with XA login    stackoverflow.com

I am using java 6, Mssql 2008. In my code I have used XA connection to execute query across schema. There is one condition which execute Simple query i.e. normal connection and for ...

12. db module "play db:import" give this exception    stackoverflow.com

I have a mysql DB that I want to import to playframework. Using the db 1.1 module from http://www.playframework.org/modules/db-1.1/home I get this exception:

Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.mapping.Si
mpleValue.<init>(Lorg/hibernate/mapping/Table;)V
at org.hibernate.cfg.JDBCBinder.bindColumnToSimpleValue(JDBCBinder.java:
589)
at org.hibernate.cfg.JDBCBinder.bindPrimaryKeyToProperties(JDBCBinder.ja
va:443)
  ...

13. when this exception occurs?    stackoverflow.com

com.mysql.jdbc.CommunicationsException: Communications link failure due to und
lying exception:

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection timed out: connect

STACKTRACE:

java.net.ConnectException: Connection timed out: 

connect
        at java.net.DualStackPlainSocketImpl.connect0

(Native Method)
  ...

14. If you're saving Java Exception information in the DB, what parts of the Exception should you save to help figure out the problem without redundancy?    stackoverflow.com

Which parts of the java.lang.Exception object need to be saved in the database to give you the best chance of recreating the problem that led to the Exception being thrown? And which ...

15. NumberFormatException when Persisting to Mongo Database    stackoverflow.com

I am creating a simple VO object and then trying to persist it into Mongo Database am getting NumberFormatException worst part is that exception is not being thrown from object itself ...

16. how to handle nested exception in java?    stackoverflow.com

I am trying to connect to mysql database. I am using try catch while establishing connection. I want that I should be able to know what exception was caught, so that, ...





17. Rest Dao design and exception handling    stackoverflow.com

I have to design a DAO that makes a call to a REST WS. This WS must return the user Credentials from the given username and password. Case 1 : the ...

18. AspectData Throwing an Exception at start    stackoverflow.com

AspectData Throwing an Exception I am using

C:\Users\My>java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)
To Know about AspectData, Refer to ...

19. Spy memcached cast exception, possible bug?    stackoverflow.com

There is an infrequent error that I see in my serverlogs which is hard to track down. I am wondering would cause such an exception so I can identify what in ...

20. createDDl.jdbc FileNotFound exception    forums.netbeans.org

shalabhvyas Joined: 18 Aug 2009 Posts: 5 Posted: Sun Aug 30, 2009 6:40 am Post subject: createDDl.jdbc FileNotFound exception I created an Enterprise Application in NetBeans also creating ...

21. createDDl.jdbc FileNotFound exception    forums.netbeans.org

shalabhvyas Joined: 18 Aug 2009 Posts: 5 Posted: Sun Aug 30, 2009 6:41 am Post subject: createDDl.jdbc FileNotFound exception I created an Enterprise Application in NetBeans also creating ...

22. Exception in NetBeans database app tutorial.    forums.netbeans.org

I'm doing the "Creating a Custom Java Desktop Database Application" NetBeans tutorial. There's a section called "Customizing the Master/Detail View". Everything is fine until I get to the end of that section. I've completed all the instructions and checked all the changes the instructions said to make. The instructions say that the application should run OK but without some of its ...

23. Exception while using JDBC Request (UnsatisfiedLinkError)    jmeter.512774.n5.nabble.com

Hello, I am trying to make a JDBC test request. I am getting the following exception. I am using DB2 V7.x as database. JMeter V2.3.2 Java 1.6 OS: Windows XP To work with database drivers, we have 'db2java.zip' file which is to be set in CLASSPATH of environment variables. Since, Jmeter requires JAR file and it does not work with ZIP, ...

24. Exceptions during the DB Performance Test    jmeter.512774.n5.nabble.com

Hi: I get the following Error while running the Database Performance test scripts. And the error % is really high because of this issue. Please do explain why this is happening and how it can be fixed. I don't get this error when I run the test with 1 thread, but as I keep increasing the number of threads my errors ...

25. RE: JDBC NoAvailableConnectionException Problem + new Io exception    jmeter.512774.n5.nabble.com

Thanks again Sebb: >How many threads have you got? > >If you want your threads to act as independent users, then you should >set the pool size to be at least as big. This should prevent the >timeouts. Thanks Sebb. I have a maximum of about 1500 concurrent threads. A JDBC thread pool that large isn't feasible, ...

26. Exception DB is already in use by another service, While Deploying the Portal    coderanch.com

Hi I am using the Liferay Portlet with Tomcat 5.5. I created a Portal setup by customizing that from another portal setup in our application. Either of the two portals are working fine while deploying them separately. But while deploying both I am getting the Exception : DB is already in use by another service. Not able to access the portlet.db ...

27. access control exception    coderanch.com

I've gone through the netscape preferences to see if can lower the security guard. I could not find anything related. All of a sudden my applet started working fine in the browser. I didn't change any code. However if i run the same applet using applet viewer, i still get the access control exception

29. Io Exception : Broken Pipe    coderanch.com

30. y this simple program throws exception??    coderanch.com

I think you need to do 1 of 2 things (do one or the other, but not both!): 1. close the prepared statement in your finally block. Each iteration creates a new prepared statement and the memory is not released. 2. make your prepared statement a class variable (along with the connection so it is created only once and reused in ...

31. Uncommon Exception    coderanch.com

Howdy all! Recently I have been working with connecting to a database that is outside this network (on a different server). I thought that I would be smooth and just make a System DSN for it. With the windows odbc manager, I set it all up. Now when I try to connect to it, I get the following error: java.sql.SQLException: [Sybase][ODBC ...

32. exception when I use moveTo InsertRow    coderanch.com

33. EXCEPTION_ACCESS_VIOLATION    coderanch.com

I'm running Tomcat on Apache on a Windows 2000 box, java build 1.3.1-B24, hitting MSSQL 2000, SP3. I'm working on a JSP app that uses a database with sun.jdbc.odbc.JdbcOdbcDriver. The app seems to work fine for a while, like 10 minutes... then Tomcat crashes. Outputting errors to command line produces the following upon crash: ========================================= Dynamic libraries: 0x00400000 - 0x00405000 c:\jdk1.3.1\bin\java.exe ...

34. Multiple DB access Exception    coderanch.com

36. rs.beforeFirst() exception    coderanch.com

37. no data found exception    coderanch.com

I m getting an exception like " java.sql.SQLException: No Data found " i m using tomcat server and MS SQL as backend.Though i m able to run the query successfully in query analyser and fetch the results ,it does not work in my jsp page. i m calling a prepared statement and passing an int as a parameter My query is ...

38. Exception handler    coderanch.com

40. hi,what cause this Exception?    coderanch.com

41. Exception in thread "main" ?please help    coderanch.com

Hi friends, My application is so simple and it was working before I just rename the program and now when I want to run the program again, it gives me Exception in thread "main" and I can not figure out why? I didn't change any thing... Hope to hear from you guys so soon. Elahe [error] java.lang.NoClassDefFoundError: WEB-INF/classes/com/srs/bugtrack/DateTransfer (wrong name: com/srs/bugtrack/DateTransfer) ...

42. access control exception    coderanch.com

43. class not found exception    coderanch.com

When using the "jre/lib/ext" method you need to be careful that you are putting your jars in the right place. On Windows systems, for example, there is often another "JRE" in Program Files, which may be used in preference to the one where you have put your jar file. If you are running on a Windows system, please do a "find" ...

44. Pool Exception    coderanch.com

Hi I facing one pbm .I using weblogic7.0 now and working too.I wrote one database pgm through connectionnpool.When i run this program first time its working fine and exact results too. After some time when i run again same program i got this exception ....................................................................... whats the reason for this one.Even though oradsn is cc reated also showing no oradsn connectionpool...so ...

46. Exception handling    coderanch.com

47. help with a exception    coderanch.com

48. help with another exception    coderanch.com

49. dont know y it occurs Exception: Too few arguments. Expected 2    coderanch.com

i m using access data base.. and following table i created.. 1. chater fields. user_id int,nick string,status int 2. buddys fileds. id int,buddy_id int ,status int here is my simple query String String q1 = "select b.*,c.nick from buddylist b,chater c where b.id=? "+ "and b.buddy_id=c.user_id"; i use this same query on hsql managar its work fine but in my class ...

50. getting batch updation exception.    coderanch.com

Hi Guys, While adding batch for updation i am getting strange exception can any body tell me what to do in this case? I am using prepareStatement for this case. -- psmt=con.prepareStatement("?"); psmt.setString(1,SBf.toString()); addBatch() Error is like this when i try to execute executeBatch() --------------------------- Query built->insert into kemp (EMPNO, ENAME, SAL) values (13,'Try1',1000) Batch Added Query built->insert into kemp (EMPNO, ...

51. Exception thrown outside VM    coderanch.com

Hi, I'm developing an application that use a MS Access DB. When I try to add data to the DB I recieve an Exception that I dont't really understand. The Exception is as follows: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77FCB89A Function=RtlFreeHeap+0x209 Library=C:\WINNT\System32\ntdll.dll Current Java thread: at sun.jdbc.odbc.JdbcOdbc.ReleaseStoredBytes(Native Method) ...

52. help with DateTime overflow exception- please!!!!!!    coderanch.com

I have written the following code for getting a day, month year and time from a form and inserting this into a table in Access, but always get the errorjava.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Datetime field overflow (null) Also how would I get this code to update a table which already has the date and time inserted into it? Thanks for your ...

53. Broken Pipe Exception    coderanch.com

54. Exception management    coderanch.com

hi all I have a database with unique constraint. How can I differentiate the "unique constraint exception" (and manage this one in the application) and an another exception that i don't want to manage (just catch and no information to final user). Do I have to check the constraint with a request before and throw my own exception or is it ...

55. Io exception: Invalid Packet Lenght    coderanch.com

56. why do I get this exception    coderanch.com

Hello All, When I click on a table name called 00_BPDCON I get the Exception: SQL Exception: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server] Line 1: Incorrent Syntax near '00' . I don't know why this is happerning? import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.sql.*; public class ComboBoxDemo extends JPanel { static Connection conn; DatabaseMetaData DMD; JComboBox group = new JComboBox(); ...

57. Exception in Bean Service    coderanch.com

hi, i have this wholesaler deployment that im doing.In the beanservice i connect to the database and store the order there.But everytime i get this exception:No suitable driver found.The database access in the other files work perfectly except beanservice. This is my code: public class ProjectBeanService1 { public String processProject1(Order order) throws Exception { String insertQuery = new String(); ResultSet rsb ...

58. EXCEPTION_ACCESS_VIOLATION    coderanch.com

i'm receiving this kind of error: Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D366658 Function=[Unknown.] Library=C:\Program Files\Java\j2re1.4.0_01\bin\client\jvm.dll NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at sun.jdbc.odbc.JdbcOdbc.setStmtAttrPtr(Native Method) at sun.jdbc.odbc.JdbcOdbc.SQLSetStmtAttrPtr(Unknown Source) at sun.jdbc.odbc.JdbcOdbcResultSet.setRowStatusPtr(Unknown Source) at sun.jdbc.odbc.JdbcOdbcResultSet.initialize(Unknown Source) at sun.jdbc.odbc.JdbcOdbcStatement.getResultSet(Unknown Source) - locked ...

59. lack of exception    coderanch.com

... ResultSet rs = null; try { int custid = ... // some code rs = stmt.executeQuery("select name from cust where custid = " + custid); if (!rs.next()) { // This would mean no rows returned. But we consider this an error so // let's throw our own custom exception throw new CustomerNotFoundException(custid); // Of course, you could throw a built-in ...

60. System Exception Borken Pipe    coderanch.com

Our live project site has been shifted to a new server with new database server. Since then we are getting a error frequently System Exception Broken Pipe and my database connection is lost i have to restart the jrun server to re-establish it. Can some help on this. I m using jrun in which i have defined datasource to a sql ...

61. AS400 Class not found exception    coderanch.com

62. Broken Pipe exception    coderanch.com

I also saw java.sql.SQLException: Io exception: Broken pipe or sometimes java.sql.SQLException: No more data to read from socket I did manage to make the problem go away, but my fix is not very clean and efficient. I'm working with an old JDBC version which doesn't provide 'DataSource' connection pooling, so I'm having to use DBConnectionBroker from javaexchange.com to connect to Oracle ...

63. java/sql/Savepoint Exception    coderanch.com

Odd. java.sql.SavePoint is part of the JDK (it in rt.jar as of JDK1.4 I think) so its nothing to do with your driver classes. Are you using an old version of the JDK? [ October 22, 2004: Message edited by: Paul Sturrock ] [ October 22, 2004: Message edited by: Paul Sturrock ]

64. Exception DominoDriver    coderanch.com

Benjamin, The no suitable driver message is just a symptom of the class not found problem. I suspect this is an IDE configuration issue. WSAD has two paths: a compile time path and a runtime path. The compile time path (properties->build path) is used at compile time. This is probably what you set when you say you set the classpath. The ...

66. jdbc exception    coderanch.com

67. How can we know exact position of exception    coderanch.com

I am using the executeUpdate for insertion of a row with the syntax " Insert into Tab_name (column_list) values (value_list)" If any integrity constraint is violated then it is giving an exception. But how can we know the exact column at which the integrity constraint has been violated How can we diffrentiate between primary key and unique key violations since it ...

68. new jdbc exception    coderanch.com

69. getBlob() gives exception    coderanch.com

70. Exception    coderanch.com

Originally posted by David O'Meara: [QB]I'd also check the DRiver and database versions, sometimes you can have problems if they're not the same. yes David , I am using WAS as my App server and Websphere IBM embedded SQL Server JDBC driver. I have a DAO which calls the SP's running on the microsoft SQL server 2000. When my application is ...

72. JDBC Exception Handling    coderanch.com

First of all, you should use the UBB CODE tags to preserve formatting in any code that you post here. It will make it much easier to read Second, I don't think this code will compile. You have to give names to all the Exception references in the catch statment. For example, you need something like try { // ... } ...

73. JDBC Exceptions    coderanch.com

74. Question on Unhandled Exception - please help!    coderanch.com

In my code I have a method whereby I am trying to connect either to a local server or a mainframe (only this first if statement is shown) but in the BOLDED line below I am getting a "Unhandled exception type ClassNotFoundException". Any help or direction would be appreciated. Here is my code: public Connection createConnection() throws SQLException { String mainFrameConn ...

75. exception    coderanch.com

Hi, I have a question.I am using Oracle database. I want to insert a record into a table.If the record already exists,I want to throw an exception. I am not checking whether the record exists or not,before inserting into the database. My questions are 1.What exception will be thrown if I try to insert a record that already exists in the ...

76. Exception while using select    coderanch.com

77. Primary Key Exception    coderanch.com

Hi, I have an insert application, which has a primary key column. If any primary key exceptions are encountered, its been caught in the try-catch block. But, whenever I get any primary key exceptions, I need to restart my webserver to continue inserting the record. Is there any solution for this, without the webserver restart. Thanks.

78. Trouble decrypting from an Access DB w/ weird exception    coderanch.com

private String Decrypt(byte[] password){ char[] charArrayPassword = new char[128]; try{ //char d = charArrayPassword = passPhrase.toCharArray(); //Begin Crypto code from http://java.sun.com/j2se/1.4.2/docs/guide/security/jce/JCERefGuide.html#PBEEx javax.crypto.spec.PBEKeySpec pbeKeySpec; javax.crypto.spec.PBEParameterSpec pbeParamSpec; SecretKeyFactory keyFac; // Create PBE parameter set pbeParamSpec = new javax.crypto.spec.PBEParameterSpec(salt, count); System.out.flush(); pbeKeySpec = new javax.crypto.spec.PBEKeySpec(charArrayPassword); keyFac = SecretKeyFactory.getInstance(PBE_WITH_MD5_AND_DES); SecretKey pbeKey = keyFac.generateSecret(pbeKeySpec); // Create pbeCipher Cipher Cipher pbeCipher = Cipher.getInstance(PBE_WITH_MD5_AND_DES); // ...

79. invalid Handle exception!!    coderanch.com

80. JDBC : java heap space exception    coderanch.com

Thanks stu. I changed my Catalina.sh to have 'Xmx500M' for the heap size, but now the process runs forever.I know inserting 30,000 rows shouldn't take this long. I need the complete result set because I write the rows in to a txt file and massage the data thru shell script inside a scheduled kron job. Is there anything else I can ...

81. How to handle a JDBC DAO 's Exception?    coderanch.com

82. Constraint Exceptions    coderanch.com

Apologies if this is a silly question.. Say I have a constraint on a couple ot tables so that you can't delete from one without deleting from the other. If I issue a DELETE statement on one of the tables, I'll obviously get an SQLException. How would I go about translating that exception into a meaningful message to the user? Or, ...

83. a question about throw exception    coderanch.com

84. Address Bind Exception    coderanch.com

85. Exception on Websphere/ Jdbc    coderanch.com

I am deploying my application on Websphere: Here are errors I am getting. My jdbc driver is Jtds 1.2 driver. There is a connection leak and I want to force close the connection if open. Here is the exception. [6/3/06 20:56:26:220 CDT] 2a464bb0 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper. [6/3/06 20:56:36:224 CDT] 2a464bb0 FreePool ...

86. Disconnect Exception    coderanch.com

88. exceptions    coderanch.com

private void DateFunction(String toDate,String fromDate) throws SQLException { connection = cmdConnection.connPool.connection(); Connection connection=null; ResultSet resultSet=null; Statement statement=null; connection=getConnection(); System.out.println("The conn="+connection); System.out.println("toDate"+toDate); System.out.println("fromDate"+fromDate); try { statement = connection.createStatement(); resultSet = statement.executeQuery("SELECT Convert(varchar(20),Candidate_Interview_Date) ,Candidate_Interview_Result,Candidate_Interviewer_Name,Candidate_Feedback FROM CANDIDATE_INTERVIEW_RECORD WHERE Candidate_Interview_Date between '" +toDate+ "'and'" +fromDate+ "'"); System.out.println("The Result Set ="+resultSet); while (resultSet.next()) { CandidateInterviewDate.add((String) resultSet.getString(2)); InterviewResult.add((String)resultSet.getString(3)); InterviewerName.add((String)resultSet.getString(4)); CandFeedBack.add((String)resultSet.getString(5)); } System.out.println("The arraylist from DB "+CandidateInterviewDate); } ...

89. Get Exception Details    coderanch.com

Dear all, I am currently using SQLServer 2000 as the DB server for my Java Web application. I used msbase.har, msutil.jar, mssqlserver.jar as my JDBC driver. My application is using Store Procedure to process some of the business logic. I want to ask the following question. I will call Store procedure by using the preparestatement from java, and I am not ...

90. Got minus one from a read call - IO Exception    coderanch.com

Hi, I was connection to Oracle 10g database from my application. I am not able to get the connection as I am getting the following error. I have the latest driver ojdbc.jar. Has anyone faced this before? Please help me. Exception in thread "main" org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:91) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:79) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:318) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:109) at ...

92. How do i avoid this exception    coderanch.com

tableOne and tableTwo are temporary tables which i need to delete from the database. However the method createTable throws an exception @ line 7 and the tables don't get deleted. Details of the exception thrown are attached... Note: Both tableOne and tableTwo hold references to the same Connection 'con'. 1 public JDBCAdapter createTable(Connection con, String name1, String name2, String newTableName) throws ...

93. EXCEPTION_ACCESS_VIOLATION    coderanch.com

Hi all I'm running a java program that uses the JDBC-ODBC driver to connect to Interbase to transfer data. After running for a while, it crashes with the following error. Suspecting it has something to do with JDBC-ODBC driver. Any ideas? Pls advise. Thanks An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) ...

94. Exception in Pooling    coderanch.com

I am trying to get a connection pool. I have the oracle db on a server and i am trying to connect via tomcat/apache. here is the error in which I am receiving. September 18, 2006 2:58:32 PM EDT: SQLException occurred in JDBCPool: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection params: oracle.jdbc.driver.OracleDriver, jdbc:oracle:thin:144.15.12.444:4533:DBNAME. Please check your username, ...

96. Exception in getConnection()    coderanch.com

Hi, There doesn't seem to be any apparent reason why it should not work with classes12.jar. One of the things you could verify is that your classes12.jar is not corrupted. If you want to debug this further, copy and paste the entire exception stack trace. Also paste your code again with the line numbers, so that the lines in the exception ...

97. Exception calling Stored Procedure    coderanch.com

98. what is cause of this exception?    coderanch.com

99. Class not found exception...    coderanch.com

100. Raise an Exception in PL/SQL but not got @ JAVA End    coderanch.com

Hi Friends, I have raised an exception in PL/SQL Stored Procedures which is of catagory "WHEN OTHERS THEN" Now here I wrote "RAISE" as the last statement. I was calling this SP from JAVA but when I ran this program, I found that at Oracle side the exception was raised, I mean excution went in exception block but neverthless I haven't ...