db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Resch (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6556) StackOverflowError at Cleanup action
Date Fri, 25 Apr 2014 13:24:14 GMT
Andreas Resch created DERBY-6556:
------------------------------------

             Summary: StackOverflowError at Cleanup action
                 Key: DERBY-6556
                 URL: https://issues.apache.org/jira/browse/DERBY-6556
             Project: Derby
          Issue Type: Bug
          Components: Store
    Affects Versions: 10.8.1.2
         Environment: Apache Derby: 10.8.1.2 (1095077), RT info | os.arch=x86 |  | os.name=Windows
2003 |  | os.version=5.2 |  | java.version=1.6.0_17 |  | -Xmx512m
            Reporter: Andreas Resch


Database cannot be used anymore. Following stacktrace appear in the derby.log

Wed Apr 23 08:09:39 CEST 2014 Thread[DRDAConnThread_6,5,derby.daemons] (XID = 9981486), (SESSIONID
= 7), (DATABASE = 1), (DRDAID = ????????.??-521290258635547491{5745}), Cleanup action starting
Wed Apr 23 08:09:39 CEST 2014 Thread[DRDAConnThread_6,5,derby.daemons] (XID = 9981486), (SESSIONID
= 7), (DATABASE = 1), (DRDAID = ????????.??-521290258635547491{5745}), Failed Statement is:
null with 4 parameters begin parameter #1: 154643 :end parameter begin parameter #2: xxx.xxxxxxx.xx.xx
:end parameter begin parameter #3: 108 :end parameter begin parameter #4: 1 :end parameter

java.lang.StackOverflowError
	at java.io.File.exists(Unknown Source)
	at org.apache.derby.impl.store.raw.data.StreamFileContainer.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.derby.impl.store.raw.data.StreamFileContainer.privExists(Unknown Source)
	at org.apache.derby.impl.store.raw.data.StreamFileContainer.open(Unknown Source)
	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openStreamContainer(Unknown Source)
	at org.apache.derby.impl.store.raw.xact.Xact.openStreamContainer(Unknown Source)
	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.dropStreamContainer(Unknown Source)
	at org.apache.derby.impl.store.raw.xact.Xact.dropStreamContainer(Unknown Source)
	at org.apache.derby.impl.store.raw.data.DropOnCommit.update(Unknown Source)
	at java.util.Observable.notifyObservers(Unknown Source)
	at org.apache.derby.iapi.store.raw.xact.RawTransaction.notifyObservers(Unknown Source)
	at org.apache.derby.impl.store.raw.data.DropOnCommit.update(Unknown Source)
	at java.util.Observable.notifyObservers(Unknown Source)
	[...]
	=> DropOnCommit occurs 339 times 
	[...]
	at org.apache.derby.iapi.store.raw.xact.RawTransaction.notifyObservers(Unknown Source)
	at org.apache.derby.impl.store.raw.data.DropOnCommit.update(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)


------------  END SHUTDOWN ERROR STACK -------------

Cleanup action completed
 Wed Apr 23 08:47:57 CEST 2014 Thread[DRDAConnThread_5,5,derby.daemons] (DATABASE = 1), (DRDAID
= {6054}), Java exception: ': java.lang.NullPointerException'.
Wed Apr 23 09:34:45 CEST 2014 Thread[DRDAConnThread_6,5,derby.daemons] (XID = 10249422), (SESSIONID
= 9), (DATABASE = 1), (DRDAID = {6340}), Cleanup action starting
java.lang.NullPointerException
	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown Source)
	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown Source)
	at org.apache.derby.impl.store.raw.xact.Xact.openContainer(Unknown Source)
	at org.apache.derby.impl.store.access.heap.HeapConglomerateFactory.readConglomerate(Unknown
Source)
	at org.apache.derby.impl.store.access.RAMAccessManager.conglomCacheFind(Unknown Source)
	at org.apache.derby.impl.store.access.RAMTransaction.findExistingConglomerate(Unknown Source)
	at org.apache.derby.impl.store.access.RAMTransaction.openConglomerate(Unknown Source)
	at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndexMinion(Unknown
Source)
	at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getDescriptorViaIndex(Unknown Source)
	at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.locateSchemaRow(Unknown Source)
	at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescriptor(Unknown Source)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.initDefaultSchemaDescriptor(Unknown
Source)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.initialize(Unknown Source)
	at org.apache.derby.impl.db.BasicDatabase.setupConnection(Unknown Source)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.startTransaction(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.checkUserIsNotARole(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.checkUserCredentials(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
	at org.apache.derby.impl.drda.Database.makeConnection(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.getConnFromDatabaseName(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.verifyUserIdPassword(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.parseSECCHK(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.parseDRDAConnection(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Source)
	at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
Cleanup action completed



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message