AppSync:如果字符串超过 255 个字符,则在将电子邮件地址添加到警报设置时出错。

Summary: 将其他电子邮件地址添加到服务计划的警报设置时,我们收到此错误:“org.hibernate.exception.DataException: could not execute statement”。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



将其他电子邮件地址添加到服务计划的警报设置时,我们收到此错误:“org.hibernate.exception.DataException: could not execute statement”。            
 
服务器日志:

02-13-2018 12:46:38.328 ERROR [default task-44] [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] [ServerName] [] ERROR: value too long for type character varying(255)
02-13-2018 12:46:38.328 ERROR [default task-44] [org.jboss.as.ejb3.invocation] [ServerName] [] WFLYEJxxxxx:public com.emc.archway.datamodel.AWEntity 方法的组件 AWEntityServiceBean 上的 EJB 调用失败

Cause

将收件人电子邮件地址添加到特定服务计划的警报设置时(例如:“Alert Setting”按钮中的 Appsync UI 屏幕/拷贝管理/文件系统/主机名/对象)。您输入的电子邮件地址列表不能超过 255 个字符。

根据日志,它超过了 255 个字符的最大字符限制。因此,来自许多电子邮件地址的字符总数应为 255 个字符或更少。

AppSync 只允许此字段最多包含 255 个字符。

Resolution

  • 您可以从列表中删除任何不需要的用户,然后继续。
  • 您可以将新用户添加到已存在的 DL。
  •  如果客户不准备同时执行这两项作,请提出增强请求

Affected Products

AppSync

Products

AppSync
Article Properties
Article Number: 000057246
Article Type: Solution
Last Modified: 18 Sep 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.