glassfish
  1. glassfish
  2. GLASSFISH-12157

(UC) NPE trying to install "updatetool"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: v3.0.1
    • Fix Version/s: 3.1_dev
    • Component/s: update_center
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      With GlassFish 3.0.1 promoted build 19 on Solaris x86 with 'pkg' already installed :
      ______________
      -bash-3.2$ bin/updatetool

      The software needed for this command (updatetool) is not installed.

      If you choose to install Update Tool, your system will be automatically
      configured to periodically check for software updates. If you would like
      to configure the tool to not check for updates, you can override the
      default behavior via the tool's Preferences facility.

      When this tool interacts with package repositories, some system information
      such as your system's IP address and operating system type and version
      is sent to the repository server. For more information please see:

      http://wiki.updatecenter.java.net/Wiki.jsp?page=UsageMetricsUC2

      Once installation is complete you may re-run this command.

      Would you like to install Update Tool now (y/n): y

      Proxy: Using system proxy settings.
      Install image: /home/am74686/testUpdatebn19/glassfishv3
      Installing pkg packages.
      Unrecognized exception: null
      java.lang.NullPointerException
      at com.sun.pkg.client.Fmri.<init>(Fmri.java:76)
      at com.sun.pkg.client.Image.makeInstallPlan(Image.java:1582)
      at com.sun.pkg.client.Image.installPackages(Image.java:1655)
      at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:231)
      at com.sun.pkg.bootstrap.Bootstrap._main(Bootstrap.java:156)
      at com.sun.pkg.bootstrap.Bootstrap.main(Bootstrap.java:106)
      ______________
      workaround:
      bin/pkg install updatetool

        Activity

        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        ...

        Show
        Snjezana Sevo-Zenzerovic added a comment - ...
        Hide
        Snjezana Sevo-Zenzerovic added a comment -
        Show
        Snjezana Sevo-Zenzerovic added a comment - Updatecenter issue has been filed: https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=2168
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        How bad is its impact? (Severity)
        Moderate. This is a regression compared to v3. Bad user experience, workaround exists but it is not obvious.

        How often does it happen? Will many users see this problem? (Frequency)
        Intermittent. Affects mostly zip distribution users which attempt to bootstrap pkg and updatetool clients at separate times.

        How much effort is required to fix it? (Cost)
        Minimal, we get the fix as part of UC 2.3u3 integration.

        What is the risk of fixing it and how will the risk be mitigated? (Risk)
        Minimal risk, fix has been verified on preliminary UC 2.3u3 build and no regressions were encountered.

        Show
        Snjezana Sevo-Zenzerovic added a comment - How bad is its impact? (Severity) Moderate. This is a regression compared to v3. Bad user experience, workaround exists but it is not obvious. How often does it happen? Will many users see this problem? (Frequency) Intermittent. Affects mostly zip distribution users which attempt to bootstrap pkg and updatetool clients at separate times. How much effort is required to fix it? (Cost) Minimal, we get the fix as part of UC 2.3u3 integration. What is the risk of fixing it and how will the risk be mitigated? (Risk) Minimal risk, fix has been verified on preliminary UC 2.3u3 build and no regressions were encountered.
        Hide
        Nazrul added a comment -

        Approved for checkin

        Show
        Nazrul added a comment - Approved for checkin
        Hide
        Snjezana Sevo-Zenzerovic added a comment -

        UC 2.3u3 repository containing the fix is now integrated into 3.1 build. b35 will contain the fix.

        Show
        Snjezana Sevo-Zenzerovic added a comment - UC 2.3u3 repository containing the fix is now integrated into 3.1 build. b35 will contain the fix.

          People

          • Assignee:
            Snjezana Sevo-Zenzerovic
            Reporter:
            Alexis MP
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: