[
https://issues.jboss.org/browse/JBSEAM-529?page=com.atlassian.jira.plugin...
]
Marek Novotny commented on JBSEAM-529:
--------------------------------------
[~oscar.mauricio.gonzalez.botero] this issue is for very old version of Seam - 1.x
If you have issues with Seam migration 2.2 -> 2.3, your root cause is definitely
different and I would recommend to use Seam 2 forum and if you provide more details there
you certanly get some help.
NullPointerException in org.jboss.seam.deployment.NamespaceScanner
------------------------------------------------------------------
Key: JBSEAM-529
URL:
https://issues.jboss.org/browse/JBSEAM-529
Project: Seam 2
Issue Type: Bug
Environment: Jboss Seam CR2 cvs head
Reporter: Stas Garifulin
Assignee: Norman Richards
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 was sent by Atlassian JIRA
(v6.3.15#6346)