FinderImpl Issue in Servicebuilder Liferay 7.2

thumbnail
YOGESH CHANDRA, modificado 5 Anos atrás. New Member Postagens: 6 Data de Entrada: 01/04/20 Postagens Recentes
Hi,I am facing issue after creating FinderImpl in servicebuilder project All method written in LocalserviceImpl throwing null pointer exception. I am using Liferay 7.2 with Fix pack 4.
Step that I have followed.1. Create service builder project and create an entity in service.xml.2. run Build service and did gradle referesh.3. write a method in Entity  Local service Impl  and build service again and deploy.4. When I call method created above in any module it work fine. 5. Now add FinderIml  Class in persistance.impl package  i.e FooFinderImpl  and build service .6. I followed the steps creating FinderImpl provided by Liferay and I have already written FinderImpl in many other Liferay projects in 7.0 and 6.2.
7. After deploying service builder again method we were calling earlier is throwing null pointer exception. 
Thanks
thumbnail
Mohammed Yasin, modificado 5 Anos atrás. Liferay Master Postagens: 593 Data de Entrada: 08/08/14 Postagens Recentes
Hi ,
can you please share the  FooFinderImpl   code ?
thumbnail
YOGESH CHANDRA, modificado 5 Anos atrás. New Member Postagens: 6 Data de Entrada: 01/04/20 Postagens Recentes
Hi,I have not written anything in FooFinderImpl yet. It's empty.
thumbnail
Christoph Rabel, modificado 5 Anos atrás. Liferay Legend Postagens: 1555 Data de Entrada: 24/09/09 Postagens Recentes
You wrote: " Now add FinderIml  Class in persistance.impl package  i.e FooFinderImpl  and build service"
I don't understand that. Did you add the class manually?
Or did you you do the correct thing and set remote to true in service.xml and rebuild the service so that the class is generated?
Can you share the exception with us?