title: Eclipse stop responding when running a java program
body: <pre><code>package com.selenium;
  import java.io.FileInputStream;
  import org.apache.poi.ss.usermodel.*;
  import org.apache.poi.ss.usermodel.WorkbookFactory;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.WebElement;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import java.io.IOException;
  
  public class Exxcel {
  public static void main(String[] args) throws Exception,NullPointerException{
      //WebDriver driver= new FirefoxDriver();
      //WebElement wb;
      String Value;
      try{
      FileInputStream file= new FileInputStream("C:\\Documents and Settings\\OMEGA\\Desktop\\Test Planning And Documents\\Automation Data.xlsx");
      Workbook data=WorkbookFactory.create(file);
      Sheet sheet=data.getSheet("Sheet1");
      for(int i=1;i&lt;=sheet.getLastRowNum();i++){
          Row row = sheet.getRow(i);
          if(row != null){
          // Putting condition to check row is null or not
              for (int j = 1; j &lt; row.getLastCellNum();) {
              if (row.getCell(j) != null) {
                  // Putting condition to check row cell is null or not
                  String value=row.getCell(j).getStringCellValue();
                  Value=value;
                  //String value1=row.getCell(j+1).getStringCellValue();
                  String[] array= new String[2];
                  array[0]=Value;
                  //array[1]=value1;
                  if( array[0] != null  ) {
                      // Putting condition to check array[] is null or not
                      System.out.println(array[0]); 
                      //System.out.println(array[1]);
                   }   
                  }
              }  
          }
        } 
      }catch(NullPointerException n){
          n.printStackTrace();
          //System.out.println("Null");
          }// catch
      }//main
  }//class
  </code></pre>
  
  <p>This is the code which i am trying to run but as soon as i click on run buton the entier eclipse stops responding. Don't know why its happening?</p>