Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
vadimeg authored Jun 1, 2022
1 parent ce0b6a7 commit 8ba0a43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ protected void check(Object object, ResultAcceptor resultAceptor, ICheckParamete
if (formAttribute.getExtInfo() instanceof DynamicListExtInfo)
{
DbViewTableDef tableDef = (DbViewTableDef)((DynamicListExtInfo)formAttribute.getExtInfo()).getMainTable();
if (tableDef.getFields().stream().anyMatch(NAME_CHECK)
if (tableDef != null && tableDef.getFields().stream().anyMatch(NAME_CHECK)
&& formAttribute.getNotDefaultUseAlwaysAttributes().stream().noneMatch(pathCheck))
{
resultAceptor.addIssue(
Expand Down

0 comments on commit 8ba0a43

Please sign in to comment.