Updates:
        Status: WontFix

Comment #1 on issue 681 by sberlin: ComputationException due to StackOverflowError during injection is hard to track down
http://code.google.com/p/google-guice/issues/detail?id=681

There's unfortunately no way we can insert information into the error messages, because the exceptions are all outside of Guice's control. (They're coming from the JVM & Guava, not Guice. The classes just appear inside Guice's packages because we repackage Guava at build time.)

However, you can get more information in Guice 4.0 by using a ProvisionListener.

In one of your modules, call:
   bindListener(Matchers.any(), new ProvisionListener() {
       public void onProvision(ProvisionInvocation provision) {
         System.out.println("Provisioning: " + provision.getBinding());
       }
    });

... that will add some more overhead to the object creation graph, so you won't be able to recursively create as many objects as you would without it, but it will give you some insight into what's going on, at least.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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 http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to