What kind of "Uploader" component do you use?

Thanks,
Lofi
[email protected] schrieb am Montag, 2. August 2021 um 09:39:30 UTC+2:

> I upgrade a project from GWT 2.5.1+Java 8 to GWT 2.9 +Java 11
>
> I got (TYpeError): Cannot read property 'Xe' of null when I 
>
> IUploader currentUploader = new Uploader(fileInputType, 
> autoSubmit);//autosubmit = true
> IUploadStatus statusWidget = new IUploadStatus();
> try{
> currentUploader.setStatusWidget(statusWidget);
> }catch(Exception e){
>    //print error here
>    // (TYpeError): Cannot read property 'Xe' of null got printed here
> }
>
> This code does not have any problems when I use GWT 2.5+Java 8
>
> //Symptom 
> The upload file GWT File control is shown. I can clicked the control and 
> select a file to upload
>
> The control shows the selected file name but it does not call http servlet 
> that is on server side.
>
> Web.xml
> <servlet>     
> <servlet-name>uploadServlet</servlet-name>          
> <servlet-class>
>             
>  edu.vanderbilt.mc.aries.server.rpc.control.AttachmentUploaderService
>         </servlet-class>   
> </servlet>   
>
> <servlet-mapping>     
> <servlet-name>uploadServlet</servlet-name>     
> <url-pattern>*.gupld</url-pattern>   
> </servlet-mapping>
>
>
> I ggogled the erro rmessage. It seems that this is a JQuery error
>
> Any suggestions or comments are really appreciated
>
> Yibin Li 
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/335b05f6-b79e-4fd0-8277-65859f5c2c4en%40googlegroups.com.

Reply via email to