Unable to delete an attachment

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to delete an attachment

Marc Lijour
I am new to XWiki.

This post is related with my previous one (Cannot recover a page).
I want to remove the attachment which is caused problems. Now I get this
page (displayed with header xwiki this time).

To me it looks like Hibernate does not find it. However, how come is this
attachment listed here then?? How can I remove it?

Thanks.

Marc

---------------
Un problème est apparu en essayant de réaliser cette action. Veuillez
contacter le support si cela se reproduit

Information détaillée:

Error number 3233 in 3: Exception while deleting attachment
Le_reglement_de_la_salle_informatique.png of document Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
com.xpn.xwiki.XWikiException: Error number 3233 in 3: Exception while
deleting attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
        at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1647)
        at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
        at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
        at com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
        at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:595)



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unable to delete an attachment

cburleso

The error might be related to the content itself, not the size. When you go to the page, try just manually changing the mode in the URL to edit instead of view. This might give you access to the code of the page so that you can either delete the code contents or try to correct the script.

For example, if the URL is:

http://www.myplace.com/xwiki/bin/view/Main/WebHome

Change it to:

http://www.myplace.com/xwiki/bin/edit/Main/WebHome


==================================
Cody Burleson





"Marc Lijour" <[hidden email]>

09/16/2005 12:11 PM

Please respond to
[hidden email]

To
[hidden email]
cc
Subject
[xwiki-users] Unable to delete an attachment





I am new to XWiki.

This post is related with my previous one (Cannot recover a page).
I want to remove the attachment which is caused problems. Now I get this
page (displayed with header xwiki this time).

To me it looks like Hibernate does not find it. However, how come is this
attachment listed here then?? How can I remove it?

Thanks.

Marc

---------------
Un problème est apparu en essayant de réaliser cette action. Veuillez
contacter le support si cela se reproduit

Information détaillée:

Error number 3233 in 3: Exception while deleting attachment
Le_reglement_de_la_salle_informatique.png of document Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
com.xpn.xwiki.XWikiException: Error number 3233 in 3: Exception while
deleting attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: Error number 3231 in 3: Exception while loading
attachment Le_reglement_de_la_salle_informatique.png of document
Cours.INFO8
Wrapped Exception: No row with the given identifier exists:
[com.xpn.xwiki.doc.XWikiAttachmentContent#-1460361804]
                at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1647)
                at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiAttachment(XWikiHibernateStore.java:1525)
                at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:1514)
                at com.xpn.xwiki.XWikiService.actionDelattachment(XWikiService.java:105)
                at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:198)
                at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
                at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
                at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
                at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
                at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
                at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
                at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
                at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
                at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
                at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
                at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
                at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
                at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
                at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
                at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
                at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
                at java.lang.Thread.run(Thread.java:595)


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unable to delete an attachment

Marc Lijour
> The error might be related to the content itself, not the size. When you

> go to the page, try just manually changing the mode in the URL to edit
> instead of view. This might give you access to the code of the page so
> that you can either delete the code contents or try to correct the script.
>
> For example, if the URL is:
>
> http://www.myplace.com/xwiki/bin/view/Main/WebHome
>
> Change it to:
>
> http://www.myplace.com/xwiki/bin/edit/Main/WebHome

Thanks but unfortunately I got the same kind of error:

Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'parseContent' in class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null

Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Invocation of method 'parseContent' in  class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page
Wrapped Exception: Invocation of method 'parseContent' in  class
com.xpn.xwiki.api.XWiki threw exception class
java.lang.NullPointerException : null
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
        at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
        at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
        at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
        at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
        at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172)
        at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
        at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
        at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:595)


Wrapped Exception:

java.lang.NullPointerException
        at com.xpn.xwiki.XWiki.parseContent(XWiki.java:772)
        at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:250)
        at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
        at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
        at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
        at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
        at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
        at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
        at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:254)
        at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
        at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
        at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
        at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172)
        at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
        at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
        at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
        at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:50)
        at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:244)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
        at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:595)

${doc.fullName}
$msg.get("login")
$msg.get("register")
XWiki Version 0.9.840
$msg.get("problemoccured")

$msg.get("detailedinformation"):

Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -7
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -7
        at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:224)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

(...)



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unable to delete an attachment

Matthew Conway
In reply to this post by cburleso
And if it _is_ the attachment, you can try deleting it directly by  
the same method, though I've never done it so I can't say if it works  
or not :)

http://www.myplace.com/xwiki/bin/delattachment/Main/WebHome/yourfile.jpg

Matt




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unable to delete an attachment

Marc Lijour
On September 16, 2005 13:35, Matthew Conway wrote:
> And if it _is_ the attachment, you can try deleting it directly by
> the same method, though I've never done it so I can't say if it works
> or not :)
>
> http://www.myplace.com/xwiki/bin/delattachment/Main/WebHome/yourfile.jpg
>
> Matt

Yes. It is exactly the link which is giving me an error:

Error number 3233 in 3: Exception while deleting attachment
Le_reglement_de_la_salle_informatique.png of document Cours.INFO8



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unable to delete an attachment: done

Marc Lijour
In reply to this post by Marc Lijour
For the record

I run XWiki Version 0.9.840.
I added another attachment with the same file name. Then I deleted this
attachment. It got the problem fixed!

It would be nice to check for zero-length files and get them totally removed
and out of the list. Don't know how to do it yet ;-)



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Unable to delete an attachment: done

Ludovic Dubost

Right.. You should add a JIRA task for "delete" to be non sensitive to
errors and delete what it can delete
http://jira.xwiki.org

Ludovic

Marc Lijour wrote:

> For the record
>
> I run XWiki Version 0.9.840.
> I added another attachment with the same file name. Then I deleted this
> attachment. It got the problem fixed!
>
> It would be nice to check for zero-length files and get them totally removed
> and out of the list. Don't know how to do it yet ;-)
>
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws