Closed GoebelL closed 6 years ago
See around line 108.
[additional info] The issue should be reproduce-able with OSCM sample controller, when throwing an APPlatformException in dispatch() (Dispatcher.java) at point when handling case MODIFICATION_REQUESTED.
The parameters coming from OSCM to APP can be null, but APP converts the null values to empty strings. The same should be assured about changed parameters coming from the controller side (with InstanceStatus.setChangedParameters). Please check this issue.
@kowalczyka Please take over at your site
I checked method InstanceStatus.setChangedParameters using Sample controller. When this method gets a map with any parameter which value is null then the exception "org.postgresql.util.PSQLException: ERROR: null value in column "parametervalue" violates not-null constraint" is thrown and error log can be found in server.log of app domain.
@badziakp it is exactly as I expected. Please solve with converting the null values to empty strings.
@SylviaDehn Please verify with last unit build
[Build] 17.3.1 verified with sample controller
[Environment] 17.4 Glassfish, custom controller
[How to reproduce]
(e.g. value of disk size paramater exceeding capacity that can be provided by the cloud side)
[Detail] Error occurs in APP attempting to persist parameters with null values. See attached log