[ 
https://issues.apache.org/jira/browse/SOLR-13657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Munendra S N resolved SOLR-13657.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 8.3

> Fix TestXPathRecordReader.testUnsupported_Xpaths
> ------------------------------------------------
>
>                 Key: SOLR-13657
>                 URL: https://issues.apache.org/jira/browse/SOLR-13657
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Tests
>            Reporter: Munendra S N
>            Assignee: Munendra S N
>            Priority: Minor
>             Fix For: 8.3
>
>
> {{tTestXPathRecordReader.testUnsupported_Xpaths}} covers some negative cases 
> for xpath
> While working on SOLR-12555, found that, here NPE thrown as rr is never set 
> not the expected exception
> {code:java}
>      try {
>       rr.addField("bold"  ,"b",        false);
>       fail("A RuntimeException was expected: 'b' xpaths must begin with 
> '/'.");
>       }
>     catch (RuntimeException ex) {  }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to