This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleAttachment exceptions
Date22-Jun-2006 21:10:34 EEST
Bug criticalityBadBug
Browser version6.0
Bug statusNotReallyBug
PageProvider used
Servlet Container
Operating SystemWindows
Java version1.4.02

Uploading Attachment Fails sometimes giving the foll. error. Workaround of this bug for now is to close the browser, Launch HDC Wiki and try to attach the file once again.

type Exception report 


description The server encountered an internal error () that prevented it from fulfilling this request. 


javax.servlet.ServletException: Invalid Form Data, no boundary encountered. com.ecyrd.jspwiki.dav.WebdavServlet.service( javax.servlet.http.HttpServlet.service( 

root cause Invalid Form Data, no boundary encountered. http.utils.multipartrequest.MultipartRequest.parse( http.utils.multipartrequest.MultipartRequest.initParser( http.utils.multipartrequest.MultipartRequest.<init>( com.ecyrd.jspwiki.attachment.AttachmentServlet.upload( com.ecyrd.jspwiki.attachment.AttachmentServlet.doPost( javax.servlet.http.HttpServlet.service( com.ecyrd.jspwiki.dav.WebdavServlet.service( javax.servlet.http.HttpServlet.service( 

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs

The above exception is thrown when there is a delay in attaching a file. If file is attached instantly from browse button, no exception is thrown??

Downgraded in priority, as there is a workaround. This sort of sounds like something to do with the browser. Does this occur consistently with one type of browser?

-- JanneJalkanen

Bug reporter doesn't answer your question, (it's 6 month since you asked), bug gets closed.

-- HarryMetske

I have the same problem with JSPWiki-2.4.102 on JBoss-4.0.5.GA every time when using IE6. Firefox works ok, but it's no workaround for me since the default enterprise browser is IE6. It's interesting that the fckeditor upload works always fine.

14:49:51,700 ERROR [[AttachmentServlet]] Servlet.service() for servlet AttachmentServlet threw exception Invalid Form Data, no boundary encountered.
	at http.utils.multipartrequest.MultipartRequest.parse(
	at http.utils.multipartrequest.MultipartRequest.initParser(
	at http.utils.multipartrequest.MultipartRequest.<init>(
	at com.ecyrd.jspwiki.attachment.AttachmentServlet.upload(
	at com.ecyrd.jspwiki.attachment.AttachmentServlet.doPost(
	at javax.servlet.http.HttpServlet.service(
	at com.ecyrd.jspwiki.dav.WebdavServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
	at org.apache.catalina.core.StandardContextValve.invoke(
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

-- DimitarMarinov

Ok, i found the reason for the exceptions now. It's not really JSPWiki bug. The problem appears only when using the NTLM for authentication. Once using NTLM filter in some context the M$ browser IE expects NTLM through the rest of the whole session for this context. If it's not there IE sends ContentLength:0 and the upload fails. So, the solution is just to turn on the NTLM filter for all pages and everything works like a charm.

-- DimitarMarinov

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 28-May-2007 13:25 by