development icon indicating copy to clipboard operation
development copied to clipboard

NPE in oscm-portal when using the external parameter configurator

Open opetrovski opened this issue 7 years ago • 3 comments

[Version] 16.1 Fix 5

[How to reproduce]

  • create a marketable service with external parameter configurator
  • subscribe to that service

[Expected result]

  • the subscription is created and the service parameter values are stored in the bss and app databases

[Observed result]

  • no error message
  • the subscription is created
  • the service parameter values are NOT set
  • the system.log of the oscm domain contains a NPE

[Details] Java throws a NPE when the value for a switch statement is null. A solution is that the validator returns an empty string instead of null when the validation is successful. See SubscriptionWizardConversation.validateConfiguredParameters() Line 560

see attached system.log oscm-system-log.txt

opetrovski avatar Jun 19 '17 12:06 opetrovski