title: Apache POI - xml:space="preserve" in .xlsx is crashing GUI, and badly formatted cell
body: <p>I have following document: <a href="https://mega.nz/#!etoyVSyA!bt7Lbf8A9__irLO-FUX4OF3AI7LzzXFU41lRENRzihY" rel="nofollow">supl_zak.xlsx</a>. My output from G6 is:  </p>
  
  <pre><code>10-20 12:55:38.521 30921-30921/tona_kriz.kriziksupl I/System.out: Row: 8 - Column: 7 =  
  </code></pre>
  
  <p>(yes, nothing) and the GUI will disappear (crash?) but the whole app still runs. It reads good every other one-line string not ending with space.</p>
  
  <p>I explored that .xlsx file and found string for that cell:  </p>
  
  <pre><code>&lt;t xml:space="preserve"&gt;Tv/Jk=0 ------- &lt;/t&gt;
  </code></pre>
  
  <p>How to make it not crashing and with output like <a href="http://s18.postimg.org/56kgjqkux/Screen_Lock.png" rel="nofollow">this?</a> </p>
  
  <p>(yes, I used Gimp to make it look like this :P, but transparency failed. PS: text colour does not matter, I used wrong colour.)</p>
  
  <p><em>My source is:</em></p>
  
  <p><strong>MainActivity</strong></p>
  
  <pre><code>import android.app.Activity;
  import android.content.res.AssetManager;
  import android.os.Bundle;
  import android.widget.TextView;
  import android.widget.Toast;
  
  import java.io.BufferedInputStream;
  import java.io.FileNotFoundException;
  import java.io.IOException;
  import java.io.InputStream;
  
  import org.apache.poi.xssf.usermodel.XSSFCell;
  import org.apache.poi.xssf.usermodel.XSSFSheet;
  import org.apache.poi.xssf.usermodel.XSSFWorkbook;
  
  public class MainActivity extends Activity {
  
      int wbs;
      XSSFWorkbook wb = null;
      XSSFSheet sheet = null;
      XSSFCell cell;
  
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
  
          //1. Open the file
          new Thread(loadWorkbook).start();
      }
  
  
      public Runnable loadWorkbook = new Runnable() {
          @Override
          public void run() {
              try {
                  AssetManager assManager = getApplicationContext().getAssets();
                  InputStream is = null;
                  try {
                      is = assManager.open("supl_zak.xlsx");
                  } catch (IOException e) {
                      // TODO Auto-generated catch block
                      e.printStackTrace();
                  }
                  InputStream caInput = new BufferedInputStream(is);
                  wb = new XSSFWorkbook(caInput);
                  wbs = wb.getNumberOfSheets();
              } catch (FileNotFoundException e) {
                  e.printStackTrace();
              } catch (IOException e) {
                  e.printStackTrace();
              }
              runOnUiThread(new Runnable() {
                  public void run() {
                      workWithWB();
                  }
              });
          }
  
  
      };
  
      void workWithWB() {
          //3. Get each cell by row &amp; column number
          Toast.makeText(getApplicationContext(), "number of sheets: " + wbs, Toast.LENGTH_SHORT).show();
          sheet = wb.getSheetAt(0);
          cell = sheet.getRow(7).getCell(5);
          String stringVal = cell.getStringCellValue();
          TextView test = (TextView)findViewById(R.id.textView);
          test.setText(stringVal);
          try {
              wb.close();
          } catch (IOException e) {
              e.printStackTrace();
          }
      }
  </code></pre>
  
  <p><strong>libraries</strong>
  <a href="https://github.com/andruhon/AndroidReadXLSX" rel="nofollow">https://github.com/andruhon/AndroidReadXLSX</a></p>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_7
          targetCompatibility JavaVersion.VERSION_1_7
      }
  
      dexOptions {
          preDexLibraries false
          //incremental true
          javaMaxHeapSize "4g"
      }
  
      afterEvaluate {
          tasks.matching {
              it.name.startsWith('dex')
          }.each { dx -&gt;
              if (dx.additionalParameters == null) {
                  dx.additionalParameters = ['--multi-dex']
              } else {
                  dx.additionalParameters += '--multi-dex'
             }
          }
      }
  
  
      packagingOptions {
          exclude 'META-INF/DEPENDENCIES'
          exclude 'META-INF/NOTICE'
          exclude 'META-INF/NOTICE.txt'
          exclude 'META-INF/LICENSE'
          exclude 'META-INF/LICENSE.txt'
      }
  
      defaultConfig {
          applicationId "awesomeapp.whichreadsexcell"
          minSdkVersion 16
          targetSdkVersion 23
          versionCode 1
          versionName "0.0.0.0.0.1 closed pre alpha"
  
          multiDexEnabled true
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  
      project.tasks.withType(com.android.build.gradle.tasks.Dex) {
          additionalParameters=['--core-library'] // --core-library option needed for now, will fix it soon
      }
  }
  
  dependencies {
      compile 'com.android.support:appcompat-v7:23.1.0'
      compile 'com.android.support:multidex:1.0.1'
      compile files('libs/poi-3.12-android.jar')
      compile files('libs/poi-ooxml-schemas-3.12-20150511.jar')
  }
  </code></pre>
  
  <p>Any solution for me? May I record (bandicam, fraps, ..) emulator and logcat how it looks?</p>
  
  <p><strong>logcat</strong> added</p>
  
  <pre><code>10-22 20:14:26.435 31444-31444 I/art: Late-enabling -Xcheck:jni
  10-22 20:14:26.525 31444-31444 W/ActivityThread: Application tona_kriz.kriziksupl can be debugged on port 8100...
  10-22 20:14:26.555 31444-31444 I/MultiDex: VM with version 2.1.0 has multidex support
  10-22 20:14:26.555 31444-31444 I/MultiDex: install
  10-22 20:14:26.555 31444-31444 I/MultiDex: VM has multidex support, MultiDex support library is disabled.
  10-22 20:14:26.555 31444-31444 V/Monotype: SetAppTypeFace- try to flip, app = tona_kriz.kriziksupl
  10-22 20:14:26.555 31444-31444 V/Monotype:     Typeface getFontPathFlipFont - systemFont = default
  10-22 20:14:26.565 31444-31444 V/Monotype: SetAppTypeFace- try to flip, app = tona_kriz.kriziksupl
  10-22 20:14:26.565 31444-31444 V/Monotype:     Typeface getFontPathFlipFont - systemFont = default
  10-22 20:14:26.575 31444-31444 I/System.out: Sending WAIT chunk
  </code></pre>