Is it possible you may also have the normal Guice 3.0 on your classpath also
(perhaps leaked onto the classpath as a dependency of assisted inject)?  The
error is appearing from something that is not included in the no_aop
version.

sam

On Wed, Sep 7, 2011 at 6:47 PM, Efi Merdler <[email protected]> wrote:

> Hi Guys,
>
> I'm using Guice no_aop v 3.0 with assisted inject extension in my
> project.
>
> The moment I'm calling the createInjector method I'm receiving a nasty
> error:
>
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451): Could not load
> Finalizer in its own class loader. Loading Finalizer in the current
> class loader instead. As a result, you will not be able to garbage
> collect this class loader. To support reclaiming this class loader,
> either resolve the underlying issue, or move Google Collections to
> your system class path.
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):
> java.io.FileNotFoundException: com/google/inject/internal/util/
> $Finalizer.class
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.google.inject.internal.util.$FinalizableReferenceQueue
> $DecoupledLoader.getBaseUrl(FinalizableReferenceQueue.java:269)
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.google.inject.internal.util.$FinalizableReferenceQueue
> $DecoupledLoader.loadFinalizer(FinalizableReferenceQueue.java:253)
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.google.inject.internal.util.
> $FinalizableReferenceQueue.loadFinalizer(FinalizableReferenceQueue.java:
> 175)
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.google.inject.internal.util.
> $FinalizableReferenceQueue.<clinit>(FinalizableReferenceQueue.java:
> 100)
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.google.inject.internal.util.$MapMaker
> $QueueHolder.<clinit>(MapMaker.java:787)
> ...
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.blinx.widget.Module.configure(Module.java:29)
> 09-08 01:18:29.778: WARN/nalizableReferenceQueue(7451):     at
> com.google.inject.AbstractModule.configure(AbstractModule.java:59)
>
> ...
> 09-08 01:18:29.988: ERROR/AndroidRuntime(7451): FATAL EXCEPTION: main
> 09-08 01:18:29.988: ERROR/AndroidRuntime(7451):
> java.lang.RuntimeException: Unable to start receiver
> com.blinx.widget.view.BlinxWidget: com.google.inject.internal.util.
> $ComputationException: java.lang.VerifyError:
> com.google.inject.internal.cglib.core.$ReflectUtils
> ...
> 09-08 01:18:29.988: ERROR/AndroidRuntime(7451): Caused by:
> com.google.inject.internal.util.$ComputationException:
> java.lang.VerifyError: com.google.inject.internal.cglib.core.
> $ReflectUtils
>
>
> When removing the following line from my Module:
> install(new FactoryModuleBuilder()
>             .build(ChannelFactory.class));
>
> It seems to work.
>
> What am I missing ?
>
> Thanks,
> Efi
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-guice?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to