Results 1 to 2 of 2
  1. #1
    drimades is offline Member
    Join Date
    Mar 2012
    Posts
    27
    Rep Power
    0

    Default Error in recreating table

    I'm trying to recreate a table from a grab file in NetBeans, but it gives the folloqing error:
    Java Code:
    unable to recreate table.Java.lang.StringIndexOutOFBoundsException: String index out of range: -1
    Any idea of why? It seems to me that the data types are correct. here is what I'm using as grab file:

    Java Code:
    create table "EUS".TATIMPAGUES
    (
    	KODIPERSONAL VARCHAR(20) not null primary key,
    	EMRI VARCHAR(30),
    	MBIEMRI VARCHAR(30),
    	VENDBANIMI VARCHAR(50),
    	AKTIV SMALLINT default 1 not null,
    	SIPERFAQETOKEBUJQESORE INTEGER,
    	SIPERFAQEBANESE INTEGER
    )

  2. #2
    roozeech is offline Member
    Join Date
    Mar 2012
    Location
    Belarus, Minsk
    Posts
    5
    Rep Power
    0

    Default Re: Error in recreating table

    The exception message also tells you on which line the error happened. Read carefully through the stack trace and you'll find it.
    Very strange position at "-1"

Similar Threads

  1. Recreating Thread Object After Termination
    By TyCox94 in forum New To Java
    Replies: 3
    Last Post: 02-11-2012, 03:48 PM
  2. Error in table creation
    By asifzbaig in forum JDBC
    Replies: 2
    Last Post: 06-11-2011, 11:25 PM
  3. error in reading data from table in pidgree database
    By chethan_kc in forum Java Servlet
    Replies: 17
    Last Post: 02-18-2011, 02:11 PM
  4. Recreating toUpperCase method
    By theoneroo in forum New To Java
    Replies: 1
    Last Post: 01-28-2011, 05:59 AM
  5. Getting error with table packages..
    By doha786 in forum New To Java
    Replies: 2
    Last Post: 03-31-2010, 10:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •