[
https://issues.apache.org/jira/browse/AMBARI-24214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivér Szabó updated AMBARI-24214:
----------------------------------
Description:
1. Login to logsearch portal
2. Navigate to Configuration Editor
3. Select a valid component in the Validator drop down, and Type in some sample
test data in the Sample Data text area, click Test. This should validate the
sample data and show valid response to the user, but throws a
illegalArgumentException.
{code:java}
java.lang.IllegalArgumentException: Error validating shipper config:
[ConstraintViolationImpl{interpolatedMessage='may not be null',
propertyPath=filter[3].multilinePattern, rootBeanClass=class
org.apache.ambari.logsearch.model.common.LSServerInputConfig,
messageTemplate='{javax.validation.constraints.NotNull.message}'}]
{code}
> Log Search: config api validator in Configuration Editor throws
> "IllegalArgumentException"
> ------------------------------------------------------------------------------------------
>
> Key: AMBARI-24214
> URL: https://issues.apache.org/jira/browse/AMBARI-24214
> Project: Ambari
> Issue Type: Bug
> Components: ambari-logsearch
> Affects Versions: 2.7.0
> Reporter: Olivér Szabó
> Assignee: Olivér Szabó
> Priority: Major
> Fix For: 2.7.0
>
>
> 1. Login to logsearch portal
> 2. Navigate to Configuration Editor
> 3. Select a valid component in the Validator drop down, and Type in some
> sample test data in the Sample Data text area, click Test. This should
> validate the sample data and show valid response to the user, but throws a
> illegalArgumentException.
> {code:java}
> java.lang.IllegalArgumentException: Error validating shipper config:
> [ConstraintViolationImpl{interpolatedMessage='may not be null',
> propertyPath=filter[3].multilinePattern, rootBeanClass=class
> org.apache.ambari.logsearch.model.common.LSServerInputConfig,
> messageTemplate='{javax.validation.constraints.NotNull.message}'}]
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)