org.apache.velocity.exception.MethodInvocationException

Invocation of method 'copyDocument' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki Wrapped Exception: null at /templates/copy.vm[line 51, column 18]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web572

  • via XWiki.org JIRA by Elena-Oana Tabaranu, 10 months ago
    Invocation of method 'copyDocument' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki Wrapped Exception: null at /templates/copy.vm[line 51, column 18]
  • via XWiki.org JIRA by Rob Johnson, 10 months ago
    Invocation of method 'searchDocuments' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with SQL space, doc.name, publish Date.value from XWiki Document as
  • via XWiki.org JIRA by Vincent Massol, 10 months ago
    Invocation of method 'createNewWiki' in class com.xpn.xwiki.plugin.wikimanager.internal.WikiManagerScriptService threw exception com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment bg2.png.jpg of document ColorThemes.Creme Wrapped Exception: null at xwiki:WikiManager.CreateNewWikiline 161, column 32?
  • Stack trace

    • org.apache.velocity.exception.MethodInvocationException: Invocation of method 'copyDocument' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3301 in 3: Exception while switching to database xwiki Wrapped Exception: null at /templates/copy.vm[line 51, column 18] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.