Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 80049 invoked from network); 27 Feb 2009 19:13:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 19:13:38 -0000 Received: (qmail 97279 invoked by uid 500); 27 Feb 2009 19:13:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 97258 invoked by uid 500); 27 Feb 2009 19:13:37 -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 97246 invoked by uid 99); 27 Feb 2009 19:13:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 11:13:37 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 19:13:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DB1DA234C4AD for ; Fri, 27 Feb 2009 11:13:12 -0800 (PST) Message-ID: <1731597318.1235761992896.JavaMail.jira@brutus> Date: Fri, 27 Feb 2009 11:13:12 -0800 (PST) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4077) Intermittent failure java.lang.NullPointerException: name can't be null with IBM 1.6 and encryptionECB/encryptDatabase test In-Reply-To: <350363542.1235759353035.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-4077: ---------------------------------- Comment: was deleted > Intermittent failure java.lang.NullPointerException: name can't be null with IBM 1.6 and encryptionECB/encryptDatabase test > --------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4077 > URL: https://issues.apache.org/jira/browse/DERBY-4077 > Project: Derby > Issue Type: Bug > Components: Store > Affects Versions: 10.5.0.0 > Environment: java version "1.6.0" > Java(TM) SE Runtime Environment (build pxi3260sr3-20081106_07(SR3)) > IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20081105_25433 (JIT enabled, AOT enabled) > J9VM - 20081105_025433_lHdSMr > JIT - r9_20081031_1330 > GC - 20081027_AB) > JCL - 20081106_01 > Reporter: Kathey Marsden > Assignee: Kathey Marsden > Attachments: encryptionECB.zip > > > Very rarely on IBM 1.6 on Linux we get this failure with the > encryptDatabase test. > The trace looks like: > java.lang.NullPointerException: name can't be null > at java.io.FilePermission.init(FilePermission.java:183) > at > java.io.FilePermission.(FilePermission.java:267) > at > java.lang.SecurityManager.checkRead(SecurityManager.java:871) > at java.io.File.list(File.java:983) > at > org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(Bas > eDataFileFactory.java:2640) > at > java.security.AccessController.doPrivileged(AccessController.jav > a:251) > at > org.apache.derby.impl.store.raw.data.BaseDataFileFactory.removeS > tubs(BaseDataFileFactory.java:1591) > at > org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stop(Ba > seDataFileFactory.java:499) > at > org.apache.derby.impl.services.monitor.TopService.stop(TopServic > e.java:405) > at > org.apache.derby.impl.services.monitor.TopService.shutdown(TopSe > rvice.java:349) > at > org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Base > Monitor.java:239) > at > org.apache.derby.impl.db.DatabaseContextImpl.cleanupOnError(Data > baseContextImpl.java:60) > at > org.apache.derby.iapi.services.context.ContextManager.cleanupOnE > rror(ContextManager.java:332) > at > org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnErro > r(TransactionResourceImpl.java:419) > at > org.apache.derby.impl.jdbc.EmbedConnection.(EmbedConnec > tion.java:584) > at > org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.ja > va:68) > at > org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java > :238) > at > org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver. > java:119) > at > java.sql.DriverManager.getConnection(DriverManager.java:316) > at > java.sql.DriverManager.getConnection(DriverManager.java:297) > at > org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java:1329 > ) > at > org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java:1179) > at > org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java:1007) > at > org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(utilMain.j > ava:328) > at > org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:248) > at org.apache.derby.impl.tools.ij.Main.go(Main.java:215) > at > org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:181) > at org.apache.derby.impl.tools.ij.Main.main(Main.java:73) > at org.apache.derby.tools.ij.main(ij.java:59) > or something similar. It happens at different areas of the code > but always with File.list(). > I haven't been able to reproduce despite running the test 1500 times. I also haven't figured out yet how to get the java.lang.NullPointerException: name can't be null message in a stand alone java program. > I will attache the test files. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.