[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1650) NPE thrown when attempting to configure pojo as Seam component
Michael Youngstrom (JIRA)
jira-events at lists.jboss.org
Wed Jul 11 19:47:31 EDT 2007
NPE thrown when attempting to configure pojo as Seam component
--------------------------------------------------------------
Key: JBSEAM-1650
URL: http://jira.jboss.com/jira/browse/JBSEAM-1650
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.0.CR1
Reporter: Michael Youngstrom
Fix For: 2.0.0.CR1
NPE thrown when attempting to configure pojo as Seam component.
<component name="expanderState" class="java.util.HashMap" auto-create="true" scope="conversation"/>
throws:
java.lang.RuntimeException: Could not create Component: expanderState
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:910)
at org.jboss.seam.init.Initialization.installComponents(Initialization.java:841)
at org.jboss.seam.init.Initialization.init(Initialization.java:508)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by:
java.lang.NullPointerException
at org.jboss.seam.init.DeploymentDescriptor.<init>(DeploymentDescriptor.java:33)
at org.jboss.seam.Seam.getEjbDescriptor(Seam.java:51)
at org.jboss.seam.Seam.getComponentType(Seam.java:102)
at org.jboss.seam.Component.<init>(Component.java:216)
at org.jboss.seam.Component.<init>(Component.java:207)
at org.jboss.seam.init.Initialization.addComponent(Initialization.java:896)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list