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

NullPointerException in JMXManagementService.unregisterMBean when running jdbcapi._Suite

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.2.0, 10.5.2.0, 10.6.1.0
    • 10.4.2.1, 10.5.3.0, 10.6.1.0
    • JMX
    • None
    • Normal
    • High Value Fix

    Description

      I consistently get a NullPointerException when I run the jdbcapi suite:
      java.lang.NullPointerException
      at org.apache.derby.impl.services.jmx.JMXManagementService.unregisterMBean(JMXManagementService.java:286)
      at org.apache.derby.impl.services.jmx.JMXManagementService.unregisterMBean(JMXManagementService.java:277)
      at org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:864)
      at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.derby.iapi.jdbc.DRDAServerStarter.run(DRDAServerStarter.java:236)
      at java.lang.Thread.run(Thread.java:619)

      I'm attaching the log folder from the jdbcapi run.

      Attachments

        1. ReproDerby4306.java
          3 kB
          Katherine Marsden
        2. JMXNPE.tar.gz
          411 kB
          Tiago R. Espinha
        3. JMX_NPE_AuthenticationTest.tar.gz
          0.6 kB
          Tiago R. Espinha
        4. DERBY4306_checkForNullability_patch1_diff.txt
          0.6 kB
          Mamta A. Satoor

        Issue Links

          Activity

            People

              mamtas Mamta A. Satoor
              espinha Tiago R. Espinha
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: