Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5931

NPE when connecting(starting) a database in master replication mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.5.3.0
    • None
    • Replication
    • Windows XP
    • Normal
    • Crash, Seen in production

    Description

      java.lang.NullPointerException
      at org.apache.derby.impl.store.replication.master.MasterController.flushedTo(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
      at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
      at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
      at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
      at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown Source)
      at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown Source)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)
      at org.apache.derby.impl.drda.Database.commit(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)

      ------------ BEGIN SHUTDOWN ERROR STACK -------------

      ERROR XSTB0: An exception was thrown during transaction abort.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.preComplete(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.Xact.abort(Unknown Source)
      at org.apache.derby.impl.store.raw.xact.XactContext.cleanupOnError(Unknown Source)
      at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown Source)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(Unknown Source)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)
      at org.apache.derby.impl.drda.Database.commit(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)

      Connection URL:

      jdbc:derby://127.0.0.1:1527/provision;user=aaadbr;password=XXXXXXXX;startMaster=true;slaveHost=135.244.44.80;slavePort=4851

      Attachments

        Activity

          People

            Unassigned Unassigned
            glennmcg Glenn McGregor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: