Derby
  1. Derby
  2. DERBY-5916

java.lang.NullPointerException org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stop() connecting to network server

    Details

    • Urgency:
      Normal
    • Bug behavior facts:
      Seen in production

      Description

      I got a report of the exception below trying to connect to database with absolute path and network server and the database name attribute. I haven't gotten information on the derby version or platform, Below is the url I received with some characters replaced.

      ij> connect 'jdbc:derby://localhost:1527/;databaseName=/home/uxxxx/Installs/hxxx_ext/mxxxxxxxx_db;create=true' ;

      java.lang.NullPointerException
      at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stop(Unknown Source)
      at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
      at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at org.apache.derby.impl.drda.Database.makeConnection(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.getConnFromDatabaseName(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.verifyUserIdPassword(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.parseSECCHK(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.parseDRDAConnection(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Source)
      at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
      Cleanup action completed
      2012-08-31 22:41:09.216 GMT Thread[DRDAConnThread_10,5,main] (DATABASE = ), (DRDAID =

      {1}

      ), Java exception: ': java.lang.NullPointerException'.

      I wanted to go ahead and file it even without much information as I noticed there was a similar issue reported on the list but never filed:
      http://old.nabble.com/Random-DRDA-Error-on-IBM-J9-JVM-td33532717.html#a33532717

        Activity

        Kathey Marsden created issue -
        Kathey Marsden made changes -
        Field Original Value New Value
        Component/s Store [ 11412 ]
        Mike Matrigali made changes -
        Labels derby_triage10_10
        Bug behavior facts Seen in production [ 10421 ]
        Mike Matrigali made changes -
        Urgency Normal [ 10052 ]
        Mamta A. Satoor made changes -
        Assignee Mamta A. Satoor [ mamtas ]
        Mamta A. Satoor made changes -
        Attachment DERBY5916_patch1_diff.txt [ 12547586 ]
        Mamta A. Satoor made changes -
        Issue & fix info Patch Available [ 10102 ]
        Mamta A. Satoor made changes -
        Fix Version/s 10.10.0.0 [ 12321550 ]
        Mamta A. Satoor made changes -
        Fix Version/s 10.9.1.1 [ 12321551 ]
        Mamta A. Satoor made changes -
        Fix Version/s 10.8.2.3 [ 12318540 ]
        Mamta A. Satoor made changes -
        Fix Version/s 10.7.1.4 [ 12315902 ]
        Mamta A. Satoor made changes -
        Fix Version/s 10.6.2.3 [ 12315434 ]
        Mamta A. Satoor made changes -
        Fix Version/s 10.5.3.2 [ 12315436 ]
        Mamta A. Satoor made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Issue & fix info Patch Available [ 10102 ]
        Resolution Fixed [ 1 ]
        Kathey Marsden made changes -
        Fix Version/s 10.8.3.0 [ 12323456 ]
        Fix Version/s 10.8.2.3 [ 12318540 ]
        Kathey Marsden made changes -
        Fix Version/s 10.9.2.0 [ 12323562 ]
        Fix Version/s 10.9.1.1 [ 12321551 ]
        Gavin made changes -
        Workflow jira [ 12723654 ] Default workflow, editable Closed status [ 12802151 ]
        Knut Anders Hatlen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mamta A. Satoor
            Reporter:
            Kathey Marsden
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development