there is a text file having data in rows and column with positoning the tabs and \n . i am getting all rows. now the first element in row is a primary key in a (DB) table. and i want to do the operations on the other column.
Problem is that when i retrives a row, at last its showing null charecter or space type.
now for 124 id. its primary key in a table master table. and other column in mastertable having primary key 124 is its name.
Am splitng a row on "\t" string and store in String array now it gives total 6 values in string array 123, 4, 30, no$, 0 and last is null i.e. nothing
my code is
DefaultSupString uses searchrecord class
java.lang.NullPointerException at supstring.SearchRecord.getRecordSet(SearchRecord.java:37) at supstring.DefaultSupString.itemaspv(DefaultSupString.java:24) at supstring.DefaultSupString.main(DefaultSupString.java:58)