brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Csaba Palfi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BROOKLYN-148) Brand new install produces errors on launch
Date Tue, 02 Jun 2015 10:35:17 GMT

     [ https://issues.apache.org/jira/browse/BROOKLYN-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Csaba Palfi updated BROOKLYN-148:
---------------------------------
    Description: 
{noformat}
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
{noformat}

See debug log below:

{noformat}
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
{noformat}

  was:
{noformat}
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
{noformat}


> Brand new install produces errors on launch
> -------------------------------------------
>
>                 Key: BROOKLYN-148
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-148
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Csaba Palfi
>            Priority: Blocker
>             Fix For: 0.7.0-SNAPSHOT
>
>
> {noformat}
> 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
> {noformat}
> See debug log below:
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message