users@glassfish.java.net

Re: Can not set com.sun.hk2.component.Holder

From: Ludovic Champenois <Ludovic.Champenois_at_Sun.COM>
Date: Mon, 12 Oct 2009 07:34:39 -0700

glassfish_at_javadesktop.org wrote:
> I'm getting the following injection errors w/ v3 nightly build (10/11). Any idea?
>
>
 10161

> [#|2009-10-12T09:36:32.331-0400|SEVERE|glassfish|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=12;_ThreadName=Thread-3;|Error processing com.sun.enterprise.v3.server.TransactionRecovery
> org.jvnet.hk2.component.ComponentException: Injection failed on com.sun.hk2.component.Holder<org.glassfish.transaction.api.ResourceRecoveryManager> com.sun.enterprise.v3.server.TransactionRecovery.rrMgr
> at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:107)
> at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
> at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)
> at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
> at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
> at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
> at com.sun.enterprise.v3.server.AppServerStartup$2.run(AppServerStartup.java:223)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:637)
> Caused by: java.lang.IllegalArgumentException: Can not set com.sun.hk2.component.Holder field com.sun.enterprise.v3.server.TransactionRecovery.rrMgr to org.jvnet.hk2.component.Habitat$5
> at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:146)
> at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:150)
> at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63)
> at java.lang.reflect.Field.set(Field.java:657)
> at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:84)
> ... 15 more
> |#]
>
> ==========
> [Message sent by forum member 'cf126330' (cheng.fang_at_sun.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=367646
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>