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

PID with space causes ERROR log, but otherwise works

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: configadmin-1.2.4
    • Fix Version/s: configadmin-1.2.8
    • Component/s: Configuration Admin
    • Labels:
      None
    • Environment:

      Description

      Reading the specification I am not sure what characters are really allowed for PIDs. We are using PIDs with spaces. All works fine, just the exception is logged upon startup. I will attach the org_apache_felix_cm_impl_DynamicBindings.config file that causes the parsing error.

      ERROR Failure setting up dynamic configuration bindings
      java.io.IOException: Unexpected token 78; expected: 61 (line=2, pos=10)
      at org.apache.felix.cm.file.ConfigurationHandler.readFailure(ConfigurationHandler.java:652)
      at org.apache.felix.cm.file.ConfigurationHandler.readInternal(ConfigurationHandler.java:273)
      at org.apache.felix.cm.file.ConfigurationHandler.read(ConfigurationHandler.java:236)
      at org.apache.felix.cm.file.FilePersistenceManager._load(FilePersistenceManager.java:542)
      at org.apache.felix.cm.file.FilePersistenceManager.load(FilePersistenceManager.java:487)
      at org.apache.felix.cm.impl.DynamicBindings.<init>(DynamicBindings.java:51)
      at org.apache.felix.cm.impl.ConfigurationManager.start(ConfigurationManager.java:211)
      at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:1756)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1678)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124)
      at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Activity

            People

            • Assignee:
              fmeschbe Felix Meschberger
              Reporter:
              zdila Martin Zdila
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: