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