1 Reply Latest reply on Apr 11, 2007 9:47 AM by loumaus

    Deployment problem

    loumaus

      Hi there ...

      experiencing some strange problems and would like to know if anyone run into this before.

      Im deploying a simple stateless and jboss throws a NullPointerException.

      The problem is, that this exception does not really help me in that moment.

      My configuration:
      I took the libraries used by the seam examples, wrapped them into maven, build them and deploy them.

      complete structure is equivalent to the ant builded ear.

      The exception:

      [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.locale.component
      2007-04-10 16:29:45,598 INFO [org.jboss.seam.Component] Component: bookManager, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: de.xxx.poc.seam.ejb.BookManagerStatelessBean, JNDI: seamsample/BookManagerStatelessBean/local
      2007-04-10 16:29:45,600 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@ca6f53, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@621bd7{ url=null ,addedOrder=0}
      2007-04-10 16:29:45,601 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seamsample]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.NullPointerException
      at org.jboss.seam.util.Reflections.set(Reflections.java:65)
      at org.jboss.seam.util.Reflections.setAndWrap(Reflections.java:83)
      at org.jboss.seam.Component.initMembers(Component.java:593)
      at org.jboss.seam.Component.(Component.java:256)
      at org.jboss.seam.Component.(Component.java:207)
      at org.jboss.seam.init.Initialization.addComponent(Initialization.java:781)
      at org.jboss.seam.init.Initialization.addComponents(Initialization.java:690)
      at org.jboss.seam.init.Initialization.init(Initialization.java:451)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      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)

      thanks in advance for your help

        • 1. Re: Deployment problem
          loumaus


          In case anyone else is ever experiencing such a problem ...

          The following annotation:
          @Logger
          private static Log log;

          leads to a NullPointerException if your logger is not properly configured.