Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2847

NPE in ConfigurationManager.java:1003 (static String toString( ServiceReference ref ))

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • configadmin-1.2.8
    • configadmin-1.4.0
    • Configuration Admin
    • None
    • window ; cygwin

    Description

      When the config admin thread try to log an error (in handleCallBackError), a NPE is raised. May ref.getBundle() is null ?

      java.lang.NullPointerException
      at org.apache.felix.cm.impl.ConfigurationManager.toString(ConfigurationManager.java:1003)[3:org.apache.felix.configadmin:1.2.8]
      at org.apache.felix.cm.impl.ConfigurationManager.handleCallBackError(ConfigurationManager.java:1028)[3:org.apache.felix.configadmin:1.2.8]
      at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1164)[3:org.apache.felix.configadmin:1.2.8]
      at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[3:org.apache.felix.configadmin:1.2.8]
      at java.lang.Thread.run(Thread.java:662)[:1.6.0_23]

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            chomats Stephane Chomat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified