Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7210

Stacktrace when clicking on Main wiki or Workspace top bar

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.3-milestone-2
    • {Unused} Workspaces
    • None
    • Unknown

    Description

      Steps to reproduce:

      • login as admin or simple user
      • go to a workspace homepage
      • click the section highlighted in the attached image
      • you get a huge stack, beginning with that you see below
      com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [8b63bd71-3f49-47e5-bc69-fe4e4237600c], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [qaworkspace:qaworkspace], type = [WIKI], parent = [null]]]]
      Wrapped Exception: Error number 3301 in 3: Exception while switching to database [qaworkspace:qaworkspace]
      Wrapped Exception: Unknown database 'qaworkspace:qaworkspace'
      	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853)
      	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449)
      	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1503)
      	at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:596)
      	at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:313)
      	at com.xpn.xwiki.api.XWiki.hasAccessLevel(XWiki.java:1664)
      	at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
      	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
      	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
      	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
      	at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:530)
      	at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:104)
      	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
      	at org.apache.velocity.runtime.parser.node.ASTOrNode.evaluate(ASTOrNode.java:98)
      	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
      	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85)
      	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      
      

      Attachments

        Issue Links

          Activity

            Loading...
            Uploaded image for project: 'XWiki Platform'
            1. XWiki Platform
            2. XWIKI-7210

            Stacktrace when clicking on Main wiki or Workspace top bar

            Details

              • Bug
              • Resolution: Duplicate
              • Major
              • None
              • 3.3-milestone-2
              • {Unused} Workspaces
              • None
              • Unknown

              Description

                Steps to reproduce:

                • login as admin or simple user
                • go to a workspace homepage
                • click the section highlighted in the attached image
                • you get a huge stack, beginning with that you see below
                com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [name = [8b63bd71-3f49-47e5-bc69-fe4e4237600c], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [qaworkspace:qaworkspace], type = [WIKI], parent = [null]]]]
                Wrapped Exception: Error number 3301 in 3: Exception while switching to database [qaworkspace:qaworkspace]
                Wrapped Exception: Unknown database 'qaworkspace:qaworkspace'
                	at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:853)
                	at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
                	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1449)
                	at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1503)
                	at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:596)
                	at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:313)
                	at com.xpn.xwiki.api.XWiki.hasAccessLevel(XWiki.java:1664)
                	at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
                	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                	at java.lang.reflect.Method.invoke(Method.java:616)
                	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
                	at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
                	at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
                	at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
                	at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:530)
                	at org.apache.velocity.runtime.parser.node.ASTAndNode.evaluate(ASTAndNode.java:104)
                	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
                	at org.apache.velocity.runtime.parser.node.ASTOrNode.evaluate(ASTOrNode.java:98)
                	at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)
                	at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85)
                	at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
                
                

                Attachments

                  Issue Links

                    Activity

                      People

                        enygma Eduard Moraru
                        sorinello Sorin Burjan
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        0 Start watching this issue

                        Dates

                          Created:
                          Updated:
                          Resolved:

                          People

                            enygma Eduard Moraru
                            sorinello Sorin Burjan
                            Votes:
                            0 Vote for this issue
                            Watchers:
                            0 Start watching this issue

                            Dates

                              Created:
                              Updated:
                              Resolved: