geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tina Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-5916) java.lang.IllegalArgumentException error is occured while getting injection points for the Java EE component instance class, class org.apache.catalina.core.StandardWrapper java.lang.NullPointerException When hot deploy EBA application
Date Mon, 18 Apr 2011 09:43:06 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020956#comment-13020956
] 

Tina Li commented on GERONIMO-5916:
-----------------------------------

Connected with GERONIMO-5917

> java.lang.IllegalArgumentException error is occured while getting injection points for
the Java EE component instance class, class org.apache.catalina.core.StandardWrapper  java.lang.NullPointerException
 When hot deploy EBA application
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5916
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5916
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: OpenWebBeans
>    Affects Versions: 3.0
>         Environment: JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101209_70480
(JIT enabled, AOT enabled)
>            Reporter: Tina Li
>         Attachments: blueprint-eba-3.0-SNAPSHOT.eba
>
>
> 1.Get the latest build April 15 of geronimo-tomcat7-javaee6-3.0-SNAPSHOT
> 2.Start the server if it's not started
> 3.Hot deploy an EBA application, for example blueprint-eba-3.0-SNAPSHOT.eba
> 4.Then error displayed on server console:
> 2011-04-18 16:58:40,234 ERROR [WebBeansAnnotatedTypeUtil] Error is occured while getting
injection points for the Java EE component instance class, class org.apache.catalina.core.StandardWrapper
> java.lang.NullPointerException
> 	at org.apache.webbeans.portable.AnnotatedTypeImpl.init(AnnotatedTypeImpl.java:77)
> 	at org.apache.webbeans.portable.AnnotatedTypeImpl.getFields(AnnotatedTypeImpl.java:174)
> 	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.defineInjectedFields(WebBeansAnnotatedTypeUtil.java:342)
> 	at org.apache.webbeans.component.creation.AbstractInjectedTargetBeanCreator.defineInjectedFields(AbstractInjectedTargetBeanCreator.java:82)
> 	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.getJavaEeComponentInstanceInjectionPoints(WebBeansAnnotatedTypeUtil.java:725)
> 	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:122)
> 	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:94)
> 	at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:185)
> 	at org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext.createWrapper(GeronimoStandardContext.java:364)
> 	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1111)
> 	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1041)
> 	at org.apache.catalina.core.ApplicationContextFacade.addServlet(ApplicationContextFacade.java:509)
> 	at org.apache.geronimo.web.assembler.Assembler.addServlet(Assembler.java:74)
> 	at org.apache.geronimo.web.assembler.Assembler.assemble(Assembler.java:44)
> 	at org.apache.geronimo.tomcat.BaseGeronimoContextConfig.configureStart(BaseGeronimoContextConfig.java:91)
> 	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
> 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4881)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:106)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:688)
> 	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
> 	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext.startInternal(GeronimoStandardContext.java:470)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
> 	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
> 	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> 	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
> 	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
> 	at java.lang.Thread.run(Thread.java:736)
> 2011-04-18 16:58:40,234 ERROR [[/blueprintapp]] createWrapper
> java.lang.InstantiationException: web beans injection problem
> 	at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:187)
> 	at org.apache.geronimo.tomcat.TomcatInstanceManager.newInstance(TomcatInstanceManager.java:74)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext.createWrapper(GeronimoStandardContext.java:364)
> 	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1111)
> 	at org.apache.catalina.core.ApplicationContext.addServlet(ApplicationContext.java:1041)
> 	at org.apache.catalina.core.ApplicationContextFacade.addServlet(ApplicationContextFacade.java:509)
> 	at org.apache.geronimo.web.assembler.Assembler.addServlet(Assembler.java:74)
> 	at org.apache.geronimo.web.assembler.Assembler.assemble(Assembler.java:44)
> 	at org.apache.geronimo.tomcat.BaseGeronimoContextConfig.configureStart(BaseGeronimoContextConfig.java:91)
> 	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:317)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89)
> 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4881)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext.access$101(GeronimoStandardContext.java:106)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:688)
> 	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
> 	at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
> 	at org.apache.geronimo.tomcat.GeronimoStandardContext.startInternal(GeronimoStandardContext.java:470)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
> 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
> 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
> 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
> 	at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
> 	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
> 	at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
> 	at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:234)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
> 	at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(WebApplication.java:238)
> 	at org.apache.geronimo.osgi.web.extender.WebApplication.run(WebApplication.java:120)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
> 	at java.lang.Thread.run(Thread.java:736)
> Caused by: java.lang.IllegalArgumentException: Error is occured while getting injection
points for the Java EE component instance class, class org.apache.catalina.core.StandardWrapper
> 	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.getJavaEeComponentInstanceInjectionPoints(WebBeansAnnotatedTypeUtil.java:736)
> 	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:127)
> 	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:94)
> 	at org.apache.geronimo.j2ee.annotation.Holder.newInstance(Holder.java:185)
> 	... 59 more
> Caused by: java.lang.NullPointerException
> 	at org.apache.webbeans.portable.AnnotatedTypeImpl.init(AnnotatedTypeImpl.java:77)
> 	at org.apache.webbeans.portable.AnnotatedTypeImpl.getFields(AnnotatedTypeImpl.java:174)
> 	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.defineInjectedFields(WebBeansAnnotatedTypeUtil.java:342)
> 	at org.apache.webbeans.component.creation.AbstractInjectedTargetBeanCreator.defineInjectedFields(AbstractInjectedTargetBeanCreator.java:82)
> 	at org.apache.webbeans.util.WebBeansAnnotatedTypeUtil.getJavaEeComponentInstanceInjectionPoints(WebBeansAnnotatedTypeUtil.java:725)
> 	at org.apache.webbeans.inject.OWBInjector.inject(OWBInjector.java:122)
> 	... 61 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message