Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20864 invoked from network); 25 May 2005 20:57:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2005 20:57:36 -0000 Received: (qmail 61952 invoked by uid 500); 25 May 2005 20:57:25 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 61162 invoked by uid 500); 25 May 2005 20:57:23 -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 61142 invoked by uid 99); 25 May 2005 20:57:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 25 May 2005 13:57:21 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0950D183 for ; Wed, 25 May 2005 22:25:54 +0200 (CEST) Message-ID: <1332756211.1117052754036.JavaMail.jira@ajax.apache.org> Date: Wed, 25 May 2005 22:25:54 +0200 (CEST) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-19) NPE when trying to create a database at a directory that is not allowed In-Reply-To: <780625991.1096484972136.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-19?page=all ] Daniel John Debrunner reassigned DERBY-19: ------------------------------------------ Assign To: Daniel John Debrunner > NPE when trying to create a database at a directory that is not allowed > ----------------------------------------------------------------------- > > Key: DERBY-19 > URL: http://issues.apache.org/jira/browse/DERBY-19 > Project: Derby > Type: Bug > Components: Services > Versions: 10.0.2.0 > Reporter: Ramandeep Kaur > Assignee: Daniel John Debrunner > Priority: Minor > > Opening this bug on behalf of Daniel Debrunner > -------------------------------------------------------------- > This bug occurs in embedded Derby and Derby Network Server. In Derby Network Server, it might be best for a security exception to be thrown when trying to create a database at a disallowed directory (SQLSTATE 38000). > This bug can be reproduced in IJ like so: > (if your 'D' drive is an inaccessible disk. e.g. your CD-ROM) > ij> connect 'jdbc:derby:d:/wombat2;create=true'; > ERROR XJ041: Failed to create database 'd:/wombat2' -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira