Upload Control Causes Application to Quit

0
0

I’ve been having an issue with an application that just quits unexpectedly when I upload a file, and I just found that I can replicate the issue with the WiseJ Demo Browser. Here’s how to replicate it:

  1. Download the Demo Browser from here:https://github.com/iceteagroup/wisej-demobrowser
  2. Run it and navigate to the Editors -> Upload section.
  3. Select the Choose Image button, choose an image.

At this point, the application shows the “Offline” message and just quits. This is the same thing that is happening in my application.

Update: This is related to the Upload control. Using it in 3.5.11 crashes my app and the demo app.

Please see the screenshot attached, and if so desired, download the Demo Browser and see for yourself.

Any ideas on how to fix this? I’ve been looking into it for about a week now and I’m glad to be able to replicate it with the Demo Browser… hopefully someone knows what’s going on here?

FYI here is what shows up in the browser console:

POST http://localhost:5000/postback.wx?res=1ecc44b470b75ce0&x=ewAiAGkAZAAiADoAIgBpAGQAXwAyADEANgAiAH0A net::ERR_CONNECTION_REFUSED
uploadFiles @ wisej.js?v=3.5.12.4:61787
sendFiles @ wisej.js?v=3.5.12.4:62181
_onChange @ wisej.js?v=3.5.12.4:62148
dispatchEvent @ qx.js?v=3.5.12.4:21674
dispatchEvent @ qx.js?v=3.5.12.4:18608
fireEvent @ qx.js?v=3.5.12.4:19042
(anonymous) @ qx.js?v=3.5.12.4:61099
(anonymous) @ qx.js?v=3.5.12.4:12948
(anonymous) @ qx.js?v=3.5.12.4:12688
wisej.js?v=3.5.12.4:70141 WebSocket connection to ‘ws://localhost:5000/ws.wx?url=http://localhost:5000/’ failed:
WisejCore.sendWebSocketRequest @ wisej.js?v=3.5.12.4:70141
WisejCore.sendRequest @ wisej.js?v=3.5.12.4:69972
WisejCore.processEventQueue @ wisej.js?v=3.5.12.4:69945
(anonymous) @ wisej.js?v=3.5.12.4:69903
qx.js?v=3.5.12.4:173740 058443 Wisej: WebSocket Error
process @ qx.js?v=3.5.12.4:173740
__log @ qx.js?v=3.5.12.4:15982
WisejQX.log @ wisej.js?v=3.5.12.4:73324
WisejCore.log @ wisej.js?v=3.5.12.4:70603
WisejCore.logError @ wisej.js?v=3.5.12.4:70557
ws.onerror @ wisej.js?v=3.5.12.4:70168
error
WisejCore.sendWebSocketRequest @ wisej.js?v=3.5.12.4:70166
WisejCore.sendRequest @ wisej.js?v=3.5.12.4:69972
WisejCore.processEventQueue @ wisej.js?v=3.5.12.4:69945
(anonymous) @ wisej.js?v=3.5.12.4:69903
setTimeout
WisejCore.processEventQueueAsync @ wisej.js?v=3.5.12.4:69901
WisejCore.performRequest @ wisej.js?v=3.5.12.4:69879
WisejCore.fireEvent @ wisej.js?v=3.5.12.4:71025
handler @ wisej.js?v=3.5.12.4:921
dispatchEvent @ qx.js?v=3.5.12.4:21674
dispatchEvent @ qx.js?v=3.5.12.4:18608
fireNonBubblingEvent @ qx.js?v=3.5.12.4:19075
fireDataEvent @ qx.js?v=3.5.12.4:19425
sendFiles @ wisej.js?v=3.5.12.4:62222
_onChange @ wisej.js?v=3.5.12.4:62148
dispatchEvent @ qx.js?v=3.5.12.4:21674
dispatchEvent @ qx.js?v=3.5.12.4:18608
fireEvent @ qx.js?v=3.5.12.4:19042
(anonymous) @ qx.js?v=3.5.12.4:61099
(anonymous) @ qx.js?v=3.5.12.4:12948
(anonymous) @ qx.js?v=3.5.12.4:12688
wisej.js?v=3.5.12.4:69595

Thanks in advance!

Lloyd Work

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.