[
https://issues.apache.org/jira/browse/JSPWIKI-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Holeczek closed JSPWIKI-172.
------------------------------------
> Cannot upload attachments
> -------------------------
>
> Key: JSPWIKI-172
> URL: https://issues.apache.org/jira/browse/JSPWIKI-172
> Project: JSPWiki
> Issue Type: Bug
> Components: Core & storage
> Affects Versions: 2.6.0
> Environment: Windows Server 2003 Enterprise Edition, Tomcat 5.0.28,
> Java 1.4.2_05
> Reporter: John S. Eddie
> Priority: Blocker
> Fix For: 2.6.1
>
>
> I've just updated to 2.6.0. At the same time I accepted the auto update from
> Java to version 6, however I have now rolled back again to 1.4.2_05 and there
> is no difference.
> Everything seems to be working fine apart from attachments. Once you click on
> Upload I get the following error. I also tried this on a clean install of
> JSPWiki and get the same problem. I've been using JSPWiki for sometime now
> and unfortunately for me I require to attachments to function, which is why I
> have set the priority to blocker since it can be used but is severely limited
> with this bug. Hope something can be done. Thanks.
> type Exception report
> message
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
> exception
> javax.servlet.ServletException:
> java.lang.String.contains(Ljava/lang/CharSequence;)Z
> com.ecyrd.jspwiki.dav.WebdavServlet.service(WebdavServlet.java:174)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99)
> root cause
> java.lang.NoSuchMethodError:
> java.lang.String.contains(Ljava/lang/CharSequence;)Z
>
> com.ecyrd.jspwiki.attachment.AttachmentServlet.validateNextPage(AttachmentServlet.java:522)
>
> com.ecyrd.jspwiki.attachment.AttachmentServlet.upload(AttachmentServlet.java:575)
>
> com.ecyrd.jspwiki.attachment.AttachmentServlet.doPost(AttachmentServlet.java:454)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> com.ecyrd.jspwiki.dav.WebdavServlet.service(WebdavServlet.java:167)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99)
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.0.28 logs.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira