Petals BC Gateway

NullPointerException reloading placeholders to add SLL configuration

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.1.0, 1.2.0
  • Fix Version/s: 1.1.1, 1.2.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    The following error occurs reloading placeholders to set a SSL configuration, as:

    1. Create domains using placeholders for SSL parameters,
    2. Deploy service units with no value for SSL placeholder values (BC Gateway domains are created not using SSL)
    3. Update placeholder values to use SSL
    4. Reload placeholders (BC Gateway domains are using SSL connexions)
    5. The following error occurs:
      java.lang.NullPointerException
         at org.ow2.petals.bc.gateway.inbound.ConsumerDomain.reload(ConsumerDomain.java:133)
         at org.ow2.petals.bc.gateway.BcGatewaySUManager.onPlaceHolderValuesReloaded(BcGatewaySUManager.java:260)
         at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.reloadPlaceHolders(AbstractServiceUnitManager.java:1155)
         at org.ow2.petals.component.framework.AbstractComponent.reloadPlaceHolders(AbstractComponent.java:445)
         ...
    Show
    The following error occurs reloading placeholders to set a SSL configuration, as:
    1. Create domains using placeholders for SSL parameters,
    2. Deploy service units with no value for SSL placeholder values (BC Gateway domains are created not using SSL)
    3. Update placeholder values to use SSL
    4. Reload placeholders (BC Gateway domains are using SSL connexions)
    5. The following error occurs:
      java.lang.NullPointerException
         at org.ow2.petals.bc.gateway.inbound.ConsumerDomain.reload(ConsumerDomain.java:133)
         at org.ow2.petals.bc.gateway.BcGatewaySUManager.onPlaceHolderValuesReloaded(BcGatewaySUManager.java:260)
         at org.ow2.petals.component.framework.su.AbstractServiceUnitManager.reloadPlaceHolders(AbstractServiceUnitManager.java:1155)
         at org.ow2.petals.component.framework.AbstractComponent.reloadPlaceHolders(AbstractComponent.java:445)
         ...
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Wed, 17 May 2023 - 10:19:45 +0200

Fixed in branch petals-bc-gateway-1.2.x

Show
Christophe DENEUX added a comment - Wed, 17 May 2023 - 10:19:45 +0200 Fixed in branch petals-bc-gateway-1.2.x
Hide
Christophe DENEUX added a comment - Wed, 17 May 2023 - 10:19:58 +0200 - edited

Reopened to be merged in master

Show
Christophe DENEUX added a comment - Wed, 17 May 2023 - 10:19:58 +0200 - edited Reopened to be merged in master
Hide
Christophe DENEUX added a comment - Wed, 24 May 2023 - 09:57:03 +0200

Merged in master branch

Show
Christophe DENEUX added a comment - Wed, 24 May 2023 - 09:57:03 +0200 Merged in master branch
Hide
Christophe DENEUX added a comment - Thu, 1 Jun 2023 - 16:25:11 +0200 - edited

Backported in branch petals-bc-gateway-1.1.x without unit tests

Show
Christophe DENEUX added a comment - Thu, 1 Jun 2023 - 16:25:11 +0200 - edited Backported in branch petals-bc-gateway-1.1.x without unit tests

People

Dates

  • Created:
    Tue, 16 May 2023 - 15:56:10 +0200
    Updated:
    Wed, 10 Jul 2024 - 09:34:11 +0200
    Resolved:
    Wed, 24 May 2023 - 09:57:03 +0200