Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 95332 invoked from network); 8 Apr 2005 10:32:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2005 10:32:57 -0000 Received: (qmail 30550 invoked by uid 500); 8 Apr 2005 10:32:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 30508 invoked by uid 500); 8 Apr 2005 10:32:55 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 30493 invoked by uid 99); 8 Apr 2005 10:32:55 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from e1.ny.us.ibm.com (HELO e1.ny.us.ibm.com) (32.97.182.141) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 08 Apr 2005 03:32:54 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j38AWpbf004893 for ; Fri, 8 Apr 2005 06:32:51 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j38AWpXs251190 for ; Fri, 8 Apr 2005 06:32:51 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j38AWpP7031873 for ; Fri, 8 Apr 2005 06:32:51 -0400 Received: from [127.0.0.1] (sig-9-48-122-68.mts.ibm.com [9.48.122.68]) by d01av03.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j38AWnju031844 for ; Fri, 8 Apr 2005 06:32:50 -0400 Message-ID: <42565DCE.3080201@sbcglobal.net> Date: Fri, 08 Apr 2005 03:32:46 -0700 From: Kathey Marsden User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: Derby-128 References: <425629BD.5050906@sun.com> In-Reply-To: <425629BD.5050906@sun.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Amit Handa wrote: > Hi, > > I tried re producing Derby 128 on Linux but with no success :( > For me the test NSinSameJVM just seems to pass. > Is this always re producible or have I missed something here ? > > It would be great if any body can throw more light on this ? > > thanks, > Amit > > Hi Amit, Thanks for looking at this! To reproduce the problem on Linux, I think all you have to do is try to create a database in the root directory or other unwritable file system via network server. I say, I think, because I don't actually have a linux system. The original bug (Derby-128) was discovered by linux users after my errant checkin to NSinSameJVM which made it try to create a database in the root directory. If just trying to create a database in the root directory with network server does not seem to work as I suspect, or you would like to reproduce using NSinSameJVM, you can just temporarily change this line. 82c82 < String url = jdbcUrlPrefix + databaseFileName; --- > String url = jdbcUrlPrefix + "/" + databaseFileName; or svn update -r 125447 NSinSameJVM.java to get the buggy test before fixed. Then run on Linux and you should see the NPE. Let me if that doesn't work. Kathey