title: Importing CSV with groovy ArrayIndexOutOfBoundsException
body: <p>I'm importing a CSV with Groovy which basically works, but not for all fields.</p>
  
  <p>For some fields i get an <code>ArrayIndexOutOfBoundsException</code> </p>
  
  <p>My input-file looks like this:</p>
  
  <pre><code>Bonbons /t  hustenbonbons-und-halsbonbons /t csd00301 /t true /t /t /t Bonbons /t   csd00298 /t "&lt;h3&gt;Bonbons&lt;/h3&gt;\n&lt;div align=""justify""&gt;Bei Rachenproblemen wie z. B."    /t /t
  </code></pre>
  
  <p>The script looks like this:</p>
  
  <pre><code>  inFile.eachLine(){
      def fields = it.split("\t")
      def xsiteCode = fields[0]
      def seoName =   fields[1]
      def code =      fields[2] 
      def indi =      fields[3]
  </code></pre>
  
  <p>The error occurs when i try to read the field with the HTML etc. (<code>/t "&lt;h3&gt;Bonbons&lt;/h3&gt;\n&lt;div align=""justify""&gt;Bei Rachenproblemen wie z. B."  /t</code>)</p>
  
  <p>(I put in /t for the tabulator where he seperates the fields). Is it a problem with the HTML and special signs or why do i get this error and how can i evade it?</p>