Existence Script must be empty if existence is not defined by script

This sounds like a play of words and does not exactly describe what is wrong with your product model. If you start PolicyCenter and see an exception like this:

ERROR Configuration COV_PATTERN_CODE [CoveragePattern] : - 1 error(s) in CoveragePattern "COV_PATTERN_CODE "
  [1] ERROR COV_PATTERN_CODE  [field : ExistenceScript] : - Existence Script must be empty if existence is not defined by script.

ERROR Server.RunLevel ***** PolicyCenter unable to start *****
gw.api.webservice.exception.ServerStateException: Errors detected in Product Model. First correct the errors and then retry startup.
at com.guidewire.pc.domain.productmodel.impl.ProductModelImpl.logAndThrowIfErrors(ProductModelImpl.java:1548)
at com.guidewire.pc.domain.productmodel.impl.ProductModelImpl.verifyProductModel(ProductModelImpl.java:1540)
at com.guidewire.pc.domain.productmodel.impl.ProductModelImpl.verifyProductModel(ProductModelImpl.java:1474)
at com.guidewire.pc.domain.productmodel.impl.ProductModelImpl.verifyProductModelIfNeeded(ProductModelImpl.java:252)

It means that you have set both "Existence" and "Existence Script" fields on you coverage in the product model. In order to resolve the error go to product designer, open the coverage and either delete the existence script or set the existence field to <defined by script>


Comments

Popular posts from this blog

How to open Guidewire H2 database file

Hello World!