Can anybody tell me why am i getting java.lang.ArrayIndexOutOfBoundsException: 1? :  try{
        DefaultTableModel tm = (DefaultTableModel) jTable1.getModel();
        FileInputStream FI = new FileInputStream("C://Users//Dell-Pc//Documents//NetBeansProjects//MyBookShop//src//Layouts//book_store.txt");
        DataInputStream DI = new DataInputStream(FI);
        BufferedReader br= new BufferedReader(new InputStreamReader(DI));
        String line="";
        while((line=br.readLine()) != null){
            Map m1 = new HashMap(); 
            String[] data1=line.split(",");
            
                m1.put("ISBN", data1[0]);
                m1.put("TITLE", data1[1]);
                m1.put("AUTHOR", data1[2]);
                m1.put("PRICE", data1[3]);
                m1.put("NUMBER", data1[4]);
                //System.out.println(data1[1]);
                //System.out.println("\t"+m1);
                Vector v1 = new Vector();
                v1.add(m1.get("ISBN"));
                v1.add(m1.get("TITLE"));
                v1.add(m1.get("AUTHOR"));
                v1.add(m1.get("PRICE"));
                v1.add(m1.get("NUMBER"));

                tm.addRow(v1);

            //v.clear();
           //tm.setDataVector(data, cols);
            
        }
        }catch(Exception e){
//            JOptionPane.showMessageDialog(this, e);

Logger.getLogger(HomePage.class.getName()).log(Level.SEVERE, null, e);
        }