Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-19

NPE when trying to create a database at a directory that is not allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.0.2.0
    • 10.1.1.0
    • Services
    • None

    Description

      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'

      Attachments

        Activity

          People

            djd Daniel John Debrunner
            ramank Ramandeep Kaur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: