getAtrribute("type") doesn't work

driver.findElement(By.xpath("//UIAApplication[1]/UIAWindow[1]/UIANavigationBar[1]/UIAButton[2]")).getAttribute(“type”);
doesn’t work, and cause the crash for the test

same here on appium 1.4.13(dmg) can you open a ticket github?