Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-148

Brand new build produces errors on launch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • None

    Description

      2015-06-02 11:12:46,580 ERROR b.c.i.CatalogInitialization [main]: Error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.autoscaling.AutoScalerPolicy:0.7.0-SNAPSHOT/Auto-scaler]]': java.lang.NullPointerException: policy config
      2015-06-02 11:12:46,608 ERROR b.c.i.CatalogInitialization [main]: Error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.ha.ServiceRestarter:0.7.0-SNAPSHOT/Service Restarter]]': java.lang.NullPointerException: policy config
      2015-06-02 11:12:46,760 ERROR b.c.i.CatalogInitialization [main]: Error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.ha.ConnectionFailureDetector:0.7.0-SNAPSHOT/Connection Failure Detector]]': java.lang.NullPointerException: policy config
      2015-06-02 11:12:46,776 ERROR b.c.i.CatalogInitialization [main]: Error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.ha.ServiceReplacer:0.7.0-SNAPSHOT/Service Replacer]]': java.lang.NullPointerException: policy config
      2015-06-02 11:12:46,850 ERROR b.c.i.CatalogInitialization [main]: Error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.ha.SshMachineFailureDetector:0.7.0-SNAPSHOT/Ssh Connectivity Failure Detector]]': java.lang.NullPointerException: policy config
      

      See debug log below:

      2015-06-02 11:18:54,092 ERROR b.c.i.CatalogInitialization [main]: Error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.ha.SshMachineFailureDetector:0.7.0-SNAPSHOT/Ssh Connectivity Failure Detector]]': java.lang.NullPointerException: policy config
      2015-06-02 11:18:54,092 DEBUG b.c.i.CatalogInitialization [main]: Trace for error loading catalog item 'brooklyn.catalog.internal.CatalogItemDo[CatalogPolicyItemDto[brooklyn.policy.ha.SshMachineFailureDetector:0.7.0-SNAPSHOT/Ssh Connectivity Failure Detector]]': java.lang.NullPointerException: policy config
      java.lang.NullPointerException: policy config
      	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) ~[com.google.guava-guava-17.0.jar:na]
      	at brooklyn.catalog.internal.BasicBrooklynCatalog.createPolicySpec(BasicBrooklynCatalog.java:426) ~[org.apache.brooklyn-brooklyn-core-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.catalog.internal.BasicBrooklynCatalog.createSpec(BasicBrooklynCatalog.java:350) ~[org.apache.brooklyn-brooklyn-core-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.Main$LaunchCommand.confirmCatalog(Main.java:636) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.Main$LaunchCommand$1.apply(Main.java:428) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.Main$LaunchCommand$1.apply(Main.java:418) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.catalog.internal.CatalogInitialization.populateViaCallbacks(CatalogInitialization.java:374) [org.apache.brooklyn-brooklyn-core-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.catalog.internal.CatalogInitialization.populateCatalogImpl(CatalogInitialization.java:233) [org.apache.brooklyn-brooklyn-core-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.catalog.internal.CatalogInitialization.populateCatalog(CatalogInitialization.java:198) [org.apache.brooklyn-brooklyn-core-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.launcher.BrooklynLauncher.start(BrooklynLauncher.java:604) [org.apache.brooklyn-brooklyn-launcher-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.Main$LaunchCommand.call(Main.java:455) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.Main$LaunchCommand.call(Main.java:190) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.AbstractMain.execCli(AbstractMain.java:222) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.AbstractMain.execCli(AbstractMain.java:214) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHOT]
      	at brooklyn.cli.Main.main(Main.java:117) [org.apache.brooklyn-brooklyn-cli-0.7.0-SNAPSHOT.jar:0.7.0-SNAPSHO
      

      Attachments

        Issue Links

          Activity

            People

              andrew.kennedy Andrew Kennedy
              csabapalfi Csaba Palfi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: