Re: null excetion when using workbook write function

2019-01-13 Thread Kevin Yao
Hi, Sorry, I always use mail to communicate with apache community, so I didn't check dev-list for reply answsers. In my expectation, I think it would reply under my email like you. Now I got it. Thank you, Kevin On Sun, Jan 13, 2019 at 4:43 PM Dominik Stadler wrote: > Hi, > > You received an

Re: null excetion when using workbook write function

2019-01-13 Thread Dominik Stadler
Hi, You received an answer at https://lists.apache.org/thread.html/460102624d77cf10f0e6a259c2f84163f73f5772bfdc6bcf38377a43@%3Cdev.poi.apache.org%3E but you did not react in any way to that, so what do you expect? If you post to dev-list, you are expected to also look at the dev-list for

Re: null excetion when using workbook write function

2019-01-12 Thread Kevin Yao
I am very disappointed about that. On Sat, Jan 5, 2019 at 10:20 AM Kevin Yao wrote: > Can andbody help me ? I will be very grateful. > > Thanks, > Kevin > > On Fri, Jan 4, 2019 at 8:12 PM Kevin Yao wrote: > >> hi, >> I get a null exception when I use workbook write function with Apache POI.

Re: null excetion when using workbook write function

2019-01-04 Thread Kevin Yao
Can andbody help me ? I will be very grateful. Thanks, Kevin On Fri, Jan 4, 2019 at 8:12 PM Kevin Yao wrote: > hi, > I get a null exception when I use workbook write function with Apache POI. > My java code is > > try (OutputStream out = new FileOutputStream(saveUrl)) { >

Re: null excetion when using workbook write function

2019-01-04 Thread pj.fanning
The directoryEntry that is causing in the NullPointerException is set in the HSSFWorkbook constructor. Could you be passing a null into this constructor? -- Sent from: http://apache-poi.1045710.n5.nabble.com/POI-Dev-f2312866.html

null excetion when using workbook write function

2019-01-04 Thread Kevin Yao
hi, I get a null exception when I use workbook write function with Apache POI. My java code is try (OutputStream out = new FileOutputStream(saveUrl)) { workbook.write(out); } catch (IOException e) { System.err.println(e.getMessage()); } The exception log is shown below.