-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multipart content not working after release 9.3.11 #3596
Comments
Multipart must be handled with https://docs.oracle.com/javaee/6/tutorial/doc/gmhba.html. I'm surprised Please update your code to use the correct API and report back if it works for you. |
Hi, yes, i am using already getParts after getParameterMap(). So if i lose getParameterMap() and then call I get the same, crashes out. I am now thinking maybe i am missing a library, we use ant builds so not automatically pulling in all jetty and javax libs maybe. Would you happen to know which one this would be looking for and I can check that? I am using 9.4.9 BTW. |
Do you get a stacktrace?
If so, can you copy/paste it here?
Joakim Erdfelt / joakim@webtide.com
…On Fri, May 3, 2019 at 9:57 AM exdirectory ***@***.***> wrote:
Hi, yes, i am using already getParts after getParameterMap(). So if i lose
getParameterMap() and then call
for (Part part : request.getParts()) {
I get the same, crashes out. I am now thinking maybe i am missing a
library, we use ant builds so not automatically pulling in all jetty and
javax libs maybe. Would you happen to know which one this would be looking
for and I can check that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3596 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOZ2IS35GZZDE2KM7B3XLPTRHE7ANCNFSM4HITS5EA>
.
|
No , unusually not, which is why it makes me think it could be missing library. Using Eclipse in debug, just literally bombs out. Like the web servlet call terminates and nothing more happens. |
Regarding the debugging in Eclipse ... The Jetty threads are likely timing out and being terminated. |
Solved, was bringing in wrong servlet-api jar version. Thanks for your help. |
I have tried a few times to use later versions but find our file upload code fails each time, this is what we are doing...
On 3.11 this works fine, on anything later it crashes out on the request.getParameterMap(). Did a new library get added that we might be missing or a change in spec?
The text was updated successfully, but these errors were encountered: