得到错误
E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:299)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
at java.util.concurrent.FutureTask.run(FutureTask.java:239)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.ExceptionInInitializerError
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:326)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:289)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:224)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:382)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:364)
at com.d.link.d.d.a(ExportUtils.java:134)
at com.d.link.activity.ey.a(SplashScreen.java:55)
at com.d.link.activity.ey.doInBackground(SplashScreen.java:51)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
Caused by: b.b.a.c.b.dj: Unable to determine record types
at b.b.a.c.b.dd.a(RecordFactory.java:434)
at b.b.a.c.b.dd.<clinit>(RecordFactory.java:292)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:326)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:289)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:224)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:382)
at b.b.a.c.c.p.<init>(HSSFWorkbook.java:364)
at com.d.link.d.d.a(ExportUtils.java:134)
at com.d.link.activity.ey.a(SplashScreen.java:55)
at com.d.link.activity.ey.doInBackground(SplashScreen.java:51)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)
对于第二行(来自 InputStream 的新 HSSFWorkbook)
FileInputStream fileInS = new FileInputStream(outputXlsFile);
hwb = new HSSFWorkbook(fileInS);
apachePoi 库org.apache.poi.hssf.usermodel.HSSFWorkbook
在哪里