Can you show the code for TTTService ?  I.e. where you implement the server 
side of the method?

On Monday, January 9, 2017 at 10:25:33 AM UTC-8, Mikko Kokkonen wrote:
>
> Exception in thread "main" java.lang.NullPointerException
>     at 
> io.grpc.internal.InternalHandlerRegistry$Builder.addService(InternalHandlerRegistry.java:60)
>     at 
> io.grpc.internal.AbstractServerImplBuilder.addService(AbstractServerImplBuilder.java:97)
>     at 
> io.grpc.internal.AbstractServerImplBuilder.addService(AbstractServerImplBuilder.java:103)
>     at 
> io.grpc.internal.AbstractServerImplBuilder.addService(AbstractServerImplBuilder.java:57)
>     at testing.Server.start(Server.java:31)
>     at testing.Server.main(Server.java:26)
>
>
> As temporary solution I can create infinite while loop to run start 
> forever. Is my proto file created correctly?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/0ac112ac-6ee1-4f10-adc7-f408dec500fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to