Guice 4.0 + GAE -> failing to generate a android client library

71 views
Skip to first unread message

Patryk

unread,
Feb 27, 2015, 4:53:50 AM2/27/15
to google...@googlegroups.com
Hi,
I've got an issue with Guice integration in GAE.


I contacted with GAE support and they said it is probably caused by Guice and @Inject - I still try to debug that (it is a quite hard, because GAE code is closed and I cannot be sure how it generates that).

Have anyone experienced issues like that?

Sam Berlin

unread,
Feb 27, 2015, 8:17:54 AM2/27/15
to google...@googlegroups.com
Do you have a reference to the GAE support thread?  Nothing in the error messages indicates it's in any way related to Guice, so I'm wondering why they'd suggest that.

sam

--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/01ac90ea-03e5-47f8-9a6a-1cf5147cc451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mic...@uluvit.com

unread,
Feb 28, 2015, 12:16:10 AM2/28/15
to google...@googlegroups.com
Sam,

I work with Patryk who posted the original problem.  To answer your question about Google App Engine's support thread, I've posted their comments here: http://stackoverflow.com/a/28778364/2848676.

Thanks in advance for your help!

Michael

Sam Berlin

unread,
Mar 1, 2015, 11:10:33 AM3/1/15
to google...@googlegroups.com
Guice doesn't generate source code.  I recommend re-opening the case and letting them know that the diagnoses is incorrect.  Particularly, "The various errors, broken down by their kind, are listed below, along with the apparent cause. All these errors take place in target/endpoints-client-libs/uluvit/src/main/java/com/appspot/uluvitserver/uluvit/Uluvit.java, which seems to be a generated file put together by Guice, following your injection patterns, ultimately deriving from the directions given in com.uluvit.backend.application.UluvitServletModule.java. Line numbers will reference where the compilation errors occur in this resulting file Uluvit.java."

That file is your source code, not something generated.

sam

--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice.

mic...@uluvit.com

unread,
Mar 3, 2015, 11:06:06 AM3/3/15
to google...@googlegroups.com
Thank you very much Sam.  Google Cloud Support examined it more carefully because of your response and they found the problem was in fact on their end.  I've updated http://stackoverflow.com/a/28836331/2848676 with their recommendations on how to remedy the problem.

Sam Berlin

unread,
Mar 3, 2015, 11:16:25 AM3/3/15
to google...@googlegroups.com
Glad you got it worked out.  I had no idea the cloud support was so comprehensive!  Those are pretty nice and detailed support replies.

On Tue, Mar 3, 2015 at 11:06 AM <mic...@uluvit.com> wrote:
Thank you very much Sam.  Google Cloud Support examined it more carefully because of your response and they found the problem was in fact on their end.  I've updated http://stackoverflow.com/a/28836331/2848676 with their recommendations on how to remedy the problem.

--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice.
Reply all
Reply to author
Forward
0 new messages