13 Replies Latest reply on Jul 27, 2011 3:45 AM by jaikiran pai

    AS7 deploy error - AbstractClassFactory NullPointerException

    paul.setzermann Newbie

      Hi,

       

      I´m always getting this exception when I try to deploy my application.

      It worked with AS 6.

      I don´t know what´s wrong here.

      Does anyone have an idea?!

       

      10:14:30,413 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."AnnotationDatabase.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."AnnotationDatabase.war".INSTALL: Failed to process phase INSTALL of deployment "AnnotationDatabase.war"
                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
                at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
                at java.lang.Thread.run(Thread.java:680) [:1.6.0_24]
      Caused by: java.lang.NullPointerException
                at org.jboss.invocation.proxy.AbstractClassFactory.defineClass(AbstractClassFactory.java:150)
                at org.jboss.invocation.proxy.AbstractProxyFactory.getCachedMethods(AbstractProxyFactory.java:118)
                at org.jboss.as.ejb3.component.stateless.StatelessComponentDescription$2.configure(StatelessComponentDescription.java:121)
                at org.jboss.as.ee.component.ComponentDescription$DefaultFirstConfigurator.configure(ComponentDescription.java:778)
                at org.jboss.as.ee.component.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:65)
                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
                ... 5 more
      
      
      10:14:30,651 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "AnnotationDatabase.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"AnnotationDatabase.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"AnnotationDatabase.war\".INSTALL: Failed to process phase INSTALL of deployment \"AnnotationDatabase.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.AnnotationDatabase.AnnotationDatabase.AnnotationDatabase.Validator missing [ jboss.naming.context.java.module.AnnotationDatabase.AnnotationDatabase ]","jboss.naming.context.java.comp.AnnotationDatabase.AnnotationDatabase.AnnotationDatabase.ValidatorFactory missing [ jboss.naming.context.java.module.AnnotationDatabase.AnnotationDatabase ]"]}
      10:14:30,724 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment AnnotationDatabase.war in 73ms
      10:14:30,727 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"AnnotationDatabase.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"AnnotationDatabase.war\".INSTALL: Failed to process phase INSTALL of deployment \"AnnotationDatabase.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.AnnotationDatabase.AnnotationDatabase.AnnotationDatabase.Validator missing [ jboss.naming.context.java.module.AnnotationDatabase.AnnotationDatabase ]","jboss.naming.context.java.comp.AnnotationDatabase.AnnotationDatabase.AnnotationDatabase.ValidatorFactory missing [ jboss.naming.context.java.module.AnnotationDatabase.AnnotationDatabase ]"]}}}
      
      

       

       

      Thanks in advance.

       

      Cheers,

      Paul