I have many jUpload applet in one web page.
somethies(not always), in HttpProtocolFinderThread.start() will be error: \"Unknown to get protocol in the given postURL.....\"
the error reseaon is java.util.ConcurrentModificationException,
The error stack is :
HttpProtocolFinderThread.java Line 124 computedProtocol = new HttpConnect(this.uploadPolicy).getProtocol();
HttpConnect.java Line 265 HTTPConnectionHelper connectionHelper = new HTTPConnectionHelper(url,\"HEAD\", false, true, this.uploadPolicy);
HTTPConnectionHelper.java Line 246 initRequest(url, method, bChunkEnabled, bLastChunk);
HTTPConnectionHelper.java Line 288 initByteArrayEncoder();
HTTPConnectionHelper.java Line 808 this.uploadPolicy.onAppendHeader(this.byteArrayEncoder);
DefaultUploadPolicy.java Line 1329 header = it.next();
when do it.next(), java.util.ConcurrentModificationException occured.
I think the reseason is before applet start(), when new applet, HttpProtocolFinderThread will be new and will start.
so, the thread of HttpProtocolFinderThread ,and the other thread are run together.
so , other thread modified the it.head.
Anonymous
Hi,
This one is a tricky one.
The problem doesn't seem to be related to interferences between the 'numerous' applets you have in your page. It is inside each applet instead.
By having several applets, you have more chance to have this error.
I was not able to reproduce the bug, even with 21 applets in the same page. So I'm not sure it's really corrected. I removed one call to the HttpProtocolFinderThread class. It should be Ok now, but I'm not that sure.
If the next release doesn't correct this one, I'll try again to reproduce it. Would it be possible for you to give me an access to a page, where the problem occurs.
Etienne