[
http://jira.jboss.com/jira/browse/JBSEAM-529?page=all ]
Norman Richards resolved JBSEAM-529.
------------------------------------
Fix Version/s: 1.1.0.CR2
Resolution: Done
Fixed. We had problems loading package information from specific classloaders, but I
found a workaround to the deficiencies in the Java APIs.
NullPointerException in org.jboss.seam.deployment.NamespaceScanner
------------------------------------------------------------------
Key: JBSEAM-529
URL:
http://jira.jboss.com/jira/browse/JBSEAM-529
Project: JBoss Seam
Issue Type: Bug
Environment: Jboss Seam CR2 cvs head
Reporter: Stas Garifulin
Fix For: 1.1.0.CR2
Latest Jboss Seam throws during startup:
ERROR 28-11 15:53:56,534 - Exception sending context initialized event to listener
instance of class org.jboss.seam.servlet.SeamListener -- java.lang.NullPointerException
at org.jboss.seam.deployment.NamespaceScanner.handleItem(NamespaceScanner.java:48)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:130)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:126)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:126)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:126)
at org.jboss.seam.deployment.Scanner.handleDirectory(Scanner.java:126)
at org.jboss.seam.deployment.Scanner.scan(Scanner.java:89)
at org.jboss.seam.deployment.NamespaceScanner.getPackages(NamespaceScanner.java:30)
at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:545)
at org.jboss.seam.init.Initialization.<init>(Initialization.java:79)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:65)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
I have packages with stubs generated by Jaxb2 in WEB-INF/class directory of my war. Seam
fails to obtain Package object for these packages.
--
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