Skip to Main Content

NullPointerException when uploading a file .xlsx

User_BMQ12Jan 18 2023 — edited Jan 18 2023

Hello everybody! Such a problem, I follow the instructions from
http://www.awasthiashish.com/2017/01/import-data-from-xls-and-xlsx-excel-to.html
On the line throws NullPointerException

CollectionModel cModel = (CollectionModel) empTable.getValue();

I don't understand what to do, please help me!
error log:
erorr log.png
jsff file:
Screenshot 2023-01-18 111450.pngbean class
Screenshot 2023-01-18 111520.png:

Comments
Post Details
Added on Jan 18 2023
0 comments
58 views