com.xpn.xwiki.XWikiException

Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = []) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = "") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == "") #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}], type = [WIKI], parent = [null]]]] Wrapped Exception: Error number 3301 in 3: Exception while switching to database []) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = "") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == "") #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}] Wrapped Exception: invalid schema name: ]) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = "") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == "") #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName} in statement [SET SCHEMA "]) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = """") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == """") #set($temp = $wikidocument.set('owner', ""${xcontext.mainWikiName}"]

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 web345

  • via XWiki.org JIRA by Bogdan Flueras, 10 months ago
    }], type = [WIKI], parent = [null]]]] Wrapped Exception: Error number 3301 in 3: Exception while switching to database []) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok
  • via XWiki.org JIRA by Vincent Massol, 1 year ago
    Error number 3005 in 3: Migration failed Wrapped Exception: Error number 3005 in 3: R4359XWIKI1459 migration failed Wrapped Exception: Data truncation: Column was set to data type implicit default; NULL supplied for NOT NULL column 'XWD_ARCHIVE' at row 1
  • via XWiki.org JIRA by Sorin Burjan, 10 months ago
    Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki
  • Stack trace

    • com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = []) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = "") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == "") #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}], type = [WIKI], parent = [null]]]] Wrapped Exception: Error number 3301 in 3: Exception while switching to database []) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = "") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == "") #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName}] Wrapped Exception: invalid schema name: ]) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = "") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == "") #set($temp = $wikidocument.set('owner', "${xcontext.mainWikiName} in statement [SET SCHEMA "]) #set ($paramtable = $request.getParameterValues($paramname)) #if ($paramtable && $paramlist) #set ($ok = $paramlist.clear()) #foreach($paramvalue in $paramtable) #set ($ok = $paramlist.add($paramvalue)) #end #end #end ############################################################################################ ## TOOLS #set ($ALIASSUFFIX = """") ## ############################################################################################ ## REQUEST PARAMETERS #set ($wikidocument = $WikiManager.createWikiDocument()) #set ($wikidocumentobject = $wikidocument.updateObjectFromRequest('XWiki.XWikiServerClass')) #set ($wikidocumentWorkspaceObject = $wikidocument.updateObjectFromRequest('WorkspaceManager.WorkspaceClass')) ## #if ($request.actioncreate) #set ($action = 'create') #else #set ($action = $request.getParameter('action')) #end ## #set ($wikiname = $request.getParameter('wikiname')) ## Make sure to prefix the owner user with the wiki name. #if ($wikidocument.owner == """") #set($temp = $wikidocument.set('owner', ""${xcontext.mainWikiName}"] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1492)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2229)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2261)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.useDefaultAction(XWiki.java:6250)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.addName(XWikiServletURLFactory.java:300)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.web.XWikiServletURLFactory.createURL(XWikiServletURLFactory.java:244)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.web.XWikiDefaultURLFactory.createURL(XWikiDefaultURLFactory.java:40)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:310)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:209)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilter.java:91)[radeox-1.0-b2.jar:na] at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)[radeox-1.0-b2.jar:na] at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java:89)[radeox-1.0-b2.jar:na] at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)[radeox-1.0-b2.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.render(XWikiRadeoxRenderEngine.java:95)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.java:128)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks10(XWikiHibernateStore.java:1866)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1824)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:676)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1403)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1359)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:745)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:603)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:316)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:137)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)[struts-1.2.9.jar:1.2.9] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)[struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)[struts-1.2.9.jar:1.2.9] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)[struts-1.2.9.jar:1.2.9] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)[servlet-api-2.5.jar:2.5] at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)[servlet-api-2.5.jar:2.5] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)[xwiki-platform-legacy-oldcore-3.3-20111104.115141-117.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)[xwiki-platform-wysiwyg-server-3.3-SNAPSHOT.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)[xwiki-platform-webdav-server-3.3-20111104.115727-116.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)[xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)[xwiki-platform-container-servlet-3.3-20111104.113212-144.jar:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)[jetty-security-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)[jetty-servlet-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.Server.handle(Server.java:346)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)[jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)[jetty-http-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)[jetty-server-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)[jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[jetty-io-7.4.5.v20110725.jar:7.4.5.v20110725] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)[jetty-util-7.4.5.v20110725.jar:7.4.5.v20110725] at java.lang.Thread.run(Thread.java:619)[na:1.6.0_20]

    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.