Karaf
  1. Karaf
  2. KARAF-712

Karaf's ls command does not represent URL objects correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2, 3.0.0
    • Fix Version/s: 2.2.3, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      This problem is quite simple to reproduce:

      1) start empty karaf-2.2.2
      2) features:install jpa
      3) ls BUNDLE_ID_OF_Aries_JPA_Container

      this outputs:

      Aries JPA Container blueprint integration for Aries blueprint (45) provides:
      ----------------------------------------------------------------------------
      objectClass = org.apache.aries.blueprint.NamespaceHandler
      osgi.service.blueprint.compname = namespaceHandler
      osgi.service.blueprint.namespace = [Ljava.net.URI;@24e1fb6c
      service.id = 96


      objectClass = org.osgi.service.blueprint.container.BlueprintContainer
      osgi.blueprint.container.symbolicname = org.apache.aries.jpa.blueprint.aries
      osgi.blueprint.container.version = 0.3.0
      service.id = 108

      I assume this is one .toString() too much

      (for 3.x I assume so; have to validate though)

        Activity

        Hide
        Andreas Pieber added a comment -

        Committing to https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x ...
        M shell/osgi/src/main/java/org/apache/karaf/shell/osgi/Util.java
        Committed r1143722

        Let's see if it also affects the master before calling this done

        Show
        Andreas Pieber added a comment - Committing to https://svn.apache.org/repos/asf/karaf/branches/karaf-2.2.x ... M shell/osgi/src/main/java/org/apache/karaf/shell/osgi/Util.java Committed r1143722 Let's see if it also affects the master before calling this done
        Hide
        Andreas Pieber added a comment -

        Yep; same problem on master

        Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
        M shell/osgi/src/main/java/org/apache/karaf/shell/osgi/Util.java
        Committed r1143728

        Show
        Andreas Pieber added a comment - Yep; same problem on master Committing to https://svn.apache.org/repos/asf/karaf/trunk ... M shell/osgi/src/main/java/org/apache/karaf/shell/osgi/Util.java Committed r1143728

          People

          • Assignee:
            Andreas Pieber
            Reporter:
            Andreas Pieber
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development