Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA9FED0FD for ; Mon, 6 Aug 2012 23:09:02 +0000 (UTC) Received: (qmail 23146 invoked by uid 500); 6 Aug 2012 23:09:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23126 invoked by uid 500); 6 Aug 2012 23:09:02 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 23115 invoked by uid 99); 6 Aug 2012 23:09:02 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 23:09:02 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 74A85142855 for ; Mon, 6 Aug 2012 23:09:02 +0000 (UTC) Date: Mon, 6 Aug 2012 23:09:02 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <446467780.19053.1344294542479.JavaMail.jiratomcat@issues-vm> In-Reply-To: <581465215.18886.1344292982314.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (DERBY-5894) NPE in OnlineBackupTest1 while backing up in stubFileToRemoveAfterCheckPoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429559#comment-13429559 ] Dag H. Wanvik commented on DERBY-5894: -------------------------------------- I checked the source for HashTable, and the NPE means the key is null, i.e. logInstant argument to stubFileToRemoveAfterCheckPoint. > NPE in OnlineBackupTest1 while backing up in stubFileToRemoveAfterCheckPoint > ---------------------------------------------------------------------------- > > Key: DERBY-5894 > URL: https://issues.apache.org/jira/browse/DERBY-5894 > Project: Derby > Issue Type: Bug > Components: Store > Reporter: Dag H. Wanvik > Attachments: d5894.zip > > > Saw this while running OnlineBackupTest1 trying to repro DERBY-973. > ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while evaluating an expression. > at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:288) > at org.apache.derby.iapi.error.StandardException.unexpectedUserException(StandardException.java:575) > at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:63) > at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75) > at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:443) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:324) > at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1242) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1715) > at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(EmbedCallableStatement.java:118) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(EmbedPreparedStatement.java:1370) > at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:89) > at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:60) > at java.lang.Thread.run(Thread.java:637) > Caused by: java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:401) > at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stubFileToRemoveAfterCheckPoint(BaseDataFileFactory.java:1613) > at org.apache.derby.impl.store.raw.data.RAFContainer.run(RAFContainer.java:1651) > at java.security.AccessController.doPrivileged(Native Method) > at org.apache.derby.impl.store.raw.data.RAFContainer.backupContainer(RAFContainer.java:983) > at org.apache.derby.impl.store.raw.data.BaseContainerHandle.backupContainer(BaseContainerHandle.java:1031) > at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.backupDataFiles(BaseDataFileFactory.java:2466) > at org.apache.derby.impl.store.raw.RawStore.backup(RawStore.java:978) > at org.apache.derby.impl.store.raw.RawStore.backup(RawStore.java:649) > at org.apache.derby.impl.store.access.RAMAccessManager.backup(RAMAccessManager.java:964) > at org.apache.derby.impl.db.BasicDatabase.backup(BasicDatabase.java:430) > at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(SystemProcedures.java:961) > at org.apache.derby.exe.acf33d40c7x0138x6d7cx6df3x0000720ad17b0.g0(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:592) > at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46) > ... 10 more -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira