Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-6471

database validation tools for connfluence

    XMLWordPrintable

Details

    • Bug
    • Resolution: Support Request
    • Low
    • None
    • 2.1.5
    • None
    • windows

    Description

      sorry for long story.

      some times agom i playef with conflunce api on work system.
      and something happens, confluence broken (sorry, i don't reproduce steps)
      (i play with creatr/delete user and spaces, and rights)
      i fix this situation manualy remove bad user from database (i known, i do wrong)

      some time ago, i try backup confluence and recive error message
      in web windows i see following error message on red background

      2006-06-27 14:01:11,406 ERROR [confluence.importexport.impl.BackupExporter] backupEntities Couldn't backup database data.
      net.sf.hibernate.LazyInitializationException: Exception initializing proxy: com.opensymphony.user.provider.hibernate.impl.HibernateUserImpl#171
      at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:64)
      at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.maybeInitializeIfProxy(XMLDatabinder.java:224)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.associatedObjectFound(XMLDatabinder.java:649)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.expandEntity(XMLDatabinder.java:634)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.collectObjectGraph(XMLDatabinder.java:558)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.toGenericXML(XMLDatabinder.java:133)
      at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEntities(AbstractXmlExporter.java:177)
      at com.atlassian.confluence.importexport.impl.AbstractXmlExporter.backupEverything(AbstractXmlExporter.java:85)

      i see in log file
      and see another error message

      2006-06-27 14:01:11,390 ERROR [sf.hibernate.proxy.LazyInitializer] initializeWrapExceptions Exception initializing proxy
      net.sf.hibernate.ObjectNotFoundException: No row with the given identifier exists: 171, of class: com.opensymphony.user.provider.hibernate.impl.HibernateUserImpl
      at net.sf.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:24)
      at net.sf.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:1946)
      at net.sf.hibernate.proxy.LazyInitializer.initialize(LazyInitializer.java:53)
      at net.sf.hibernate.proxy.LazyInitializer.initializeWrapExceptions(LazyInitializer.java:60)
      at net.sf.hibernate.proxy.LazyInitializer.getImplementation(LazyInitializer.java:164)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.maybeInitializeIfProxy(XMLDatabinder.java:224)
      at com.atlassian.confluence.importexport.impl.XMLDatabinder.associatedObjectFound(XMLDatabinder.java:649)

      i manualy add in database user with ID 171, and backup succefuly finished.

      i understand, i do wrong
      but maybe need some tools for database validation ?
      integrity testing ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            4a00ac45b4f1 Sergey Erokhin
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: