incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-172) Cannot upload attachments
Date Thu, 31 Jan 2008 17:25:07 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564413#action_12564413
] 

Harry Metske commented on JSPWIKI-172:
--------------------------------------

I might be mistaken, but I checked the source of both com.ecyrd.jspwiki.attachment.AttachmentServlet
and com.ecyrd.jspwiki.dav.WebdavServlet, but I don't find the java.lang.String.contains()
 statements at line 522 and 174 ?!

Did you download the (binary) war file ?
Did you compile from source ?


> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message