Fatal error: Uncaught SoapFault exception: [soapenv:Server.userException] java.lang.NullPointerException in /home/gr2/public_html/ws/Conexao.php:170 Stack trace: #0 /home/gr2/public_html/ws/Conexao.php(170): SoapClient->__soapCall('listarReceitas', Array, Array) #1 /home/gr2/public_html/ws/ws.php(30): Conexao->listarReceitas('5d8f94598af1b51...', 0) #2 /home/gr2/public_html/index.php(1): WS->listarReceitas(0) #3 {main} thrown in /home/gr2/public_html/ws/Conexao.php on line 170