epam/JDI

[Java][Tables] NullPointerException at attempt to get text from the table's cell

Aks1389 opened this issue · 1 comments

@JTable(jRoot = @JFindBy(xpath = "//table"),
			jRow = @JFindBy(xpath = ".//tbody/tr[%s]"),
			jColumn = @JFindBy(xpath = ".//tbody/tr/td[%s]"),
			jCell = @JFindBy(xpath = ".//tbody//tr[{1}]/td[{0}]"),
			jHeaders = @JFindBy(xpath = ".//thead//tr/td"))
private ITable table;

table.cell(4, 5).getText() - causes NPE, beacuse locator is lost somewhere
jdi_debug3342398723

fixed in v1.0.99