voyent
fileEntry in IE 11 NullPointerException  XML
Forum Index -> General Help
Author Message
00005156

Joined: 27/Jan/2017 10:12:29
Messages: 2
Offline


Hello,

Just wanted to see if anyone might an idea as to why I'm getting a NullPointerException when I click submit on a form with the fileEntry tag in IE 11. Currently it works fine in Firefox, and Chrome.

I'm using icefaces 3.3 and Websphere 8.5.

Thanks!
 Filename NullPointerException_log.txt [Disk] Download
 Description
 Filesize 5 Kbytes
 Downloaded:  563 time(s)

00005156

Joined: 27/Jan/2017 10:12:29
Messages: 2
Offline


Solution:

I had the results attached to a FileEntryResults object in the backing bean.

Code:
<ace:fileEntry id="attachmentUploader" maxFileCount="1" results="#{auditResultController.attachmentResults}" />


Apparently IE 11 cannot handle that variable being set to null.
Code:
attachmentResults = null;


tldr; If you want to support IE 11 do not set FileEntryResults objects to null.
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team