Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

NullPointerException when uploading a file .xlsx

Eugen LangJan 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

Soukaina IDRISSI

Is there any clue or solution ?

Adnen Chebaane

Use dialog close event. Otherwise, try to avoid calling the modal by page redirection.

Franck N

Hi,

how about using Popup LOV. for this instance.

Plus point you do not require any additional implementation to achieve you requirement.

regards,

Franck

1 - 3

Post Details

Added on Jan 18 2023
0 comments
187 views