About archive graph error messages
If PolicyCenter finds issues with the archive domain graph during server startup or while performing an archive operation, it prints out error messages to the application console log. The error message indicates the nature of the issue and provides a suggested solution to resolve the issue. Use these error messages to troubleshoot and correct the issue.
Graph validation errors generated during server startup
If PolicyCenter finds issues with the archive domain graph during server startup, it prints out error messages to the application console log. The error message indicates the nature of the issue and provides a suggested solution to resolve the issue. The reported graph validation issues fall into the following categories:
- Archive entity incorrect in graph
- Non-archive entity in graph
- Overlap data entity not handled properly
Use these error messages to troubleshoot and correct the issue.
Archive entity incorrect in graph
The following error at server startup indicates that graph validation logic found one or more entities that are incorrectly defined in the archive domain graph.
gw.pl.exception.GWConfigurationException: Archiving graph validation failed. Error details:
The graph construction algorithm determined that the following are in the PolicyPeriod graph.
[...]
To correct this:
1. To include the entity in PolicyPeriod graph, please change them to implement Extractable.
OR
2. To avoid including it in PolicyPeriod graph, foreignkey must point out of the PolicyPeriod graph and configure cross graph relationship. For details please see documentation.
The error message indicates that there are two ways to resolve this issue:
- Add
ImplementsEntity="Extractable"to the metadata definition of any listed entity. This action includes that entity type in the archive domain graph. - Reverse the direction of the foreign key that points from an entity outside the graph to an entity inside the graph. This action removes the entity from the archive domain graph.
Non-archive entity in graph
The following error at server startup indicates that graph validation logic found one or more entities in the graph that do not belong there.
gw.pl.exception.GWConfigurationException: Archiving graph validation failed. Error details:
The graph construction algorithm determined that the following are not in the Claim graph.
To confirm this, please change them so that they do not implement Extractable.
[...]
To resolve this issue, remove ImplementsEntity="Extractable"
from the metadata definitions of the entity types that the error message
lists.
Overlap data entity not handled properly
The following error at server startup indicates that graph validation logic found a link from various entity types to an entity type that is possibly in the graph. Guidewire refers to entities for which an individual instance of the entity possibly exists in the graph as overlap entities.
ERROR An exception was thrown while starting a component. Setting runlevel to SHUTDOWN
[Archiving graph validation failed. Error details:
The graph construction algorithm found the 'entity.CustomEntity1' in the graph is referencing entity
that is identified as an overlap table through the link: entity.CustomEntity1.CustomEntity2.
Please refer to documentation for resolving this graph validation error.
The graph construction algorithm found the 'entity.CustomEntity2' in the graph is referencing entity
that is identified as an overlap table through the link: entity.CustomEntity2.CustomOverlapTable.
Please refer to documentation for resolving this graph validation error.]
This error occurs because the listed entities reference
CustomOverlapTable which is an overlap table. Therefore, you need
to mark the listed entities types as overlap. To do so, add
ImplementsEntity="OverlapTable" to the following entity metadata
definition:
CustomEntity1CustomEntity2
In this scenario, CustomOverlapTable already implements the
OverlapTable delegate.
Graph validation errors generated at run time
If PolicyCenter is unable to store an instance of the archive domain, it reports the issue in the application log. The error message indicates the nature of the issue and provides a suggested solution to resolve the issue.
The following runtime error message is an example of the type of error generated if PolicyCenter is unable store an archive entity instance in the archive store.
Failed to archive policy period : Exclude Reason Excluding from archive because some data is shared
with the reference graph
This error occurs because it is not possible to determine in advance of run time whether
the PolicyPeriod
instance solely owns the linked entity instance. To resolve this issue, add a cross
graph link on the reference entity type as described in Defining a cross-domain tag.
