7 Replies Latest reply on Aug 3, 2011 6:42 PM by Scott Marlow

    NullPointerException - PersistenceUnitDeploymentProcessor.addProviderProperties

    Arndt Schönberg Newbie

      Hi,

       

      I try to deploy a project (EJB3, JSF 1.2) on JBoss 7. After the EJBs where bound in the JNDI I get the following error. Do someone know what causes the error?

       

       

      ...

      07:17:50,812 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra (1.2_13-b01-FCS) for context '/Depoterfassung'

      07:17:51,109 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.subunit."DOPS.ear"."DOPSEjb.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."DOPS.ear"."DOPSEjb.jar".INSTALL: Failed to process phase INSTALL of subdeployment "DOPSEjb.jar" of deployment "DOPS.ear"

          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(Unknown Source) [:1.6.0_25]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0_25]

          at java.lang.Thread.run(Unknown Source) [:1.6.0_25]

      Caused by: java.lang.NullPointerException

          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addProviderProperties(PersistenceUnitDeploymentProcessor.java:346)

          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:253)

          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleJarDeployment(PersistenceUnitDeploymentProcessor.java:115)

          at org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:96)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

          ... 5 more

       

      07:17:53,152 SCHWERWIEGEND [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.

      07:17:53,152 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

      07:17:54,354 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-4) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

      07:17:54,354 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance using parameters: {javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true, org.jboss.jbossfaces.JSF_CONFIG_NAME=Mojarra-1.2, facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, facelets.BUILD_BEFORE_RESTORE=false, facelets.VIEW_MAPPINGS=*.xhtml, javax.faces.CONFIG_FILES=/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml,/WEB-INF/managed-beans_ops.xml,/WEB-INF/converter.xml,/WEB-INF/validator.xml, org.richfaces.CONTROL_SKINNING_LEVEL=basic, org.richfaces.SKIN=blueSky, primefaces.skin=none, facelets.RECREATE_VALUE_EXPRESSION_ON_BUILD_BEFORE_RESTORE=false, facelets.REFRESH_PERIOD=1, facelets.SKIP_COMMENTS=true, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.jsp}

      07:17:54,369 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance of default capacity

      07:17:54,369 INFO  [org.ajax4jsf.cache.CacheManager] (MSC service thread 1-4) Selected [org.ajax4jsf.cache.LRUMapCacheFactory] cache factory

      07:17:54,369 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance using parameters: {javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL=true, org.jboss.jbossfaces.JSF_CONFIG_NAME=Mojarra-1.2, facelets.DEVELOPMENT=false, org.richfaces.CONTROL_SKINNING=disable, facelets.BUILD_BEFORE_RESTORE=false, facelets.VIEW_MAPPINGS=*.xhtml, javax.faces.CONFIG_FILES=/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml,/WEB-INF/managed-beans_ops.xml,/WEB-INF/converter.xml,/WEB-INF/validator.xml, org.richfaces.CONTROL_SKINNING_LEVEL=basic, org.richfaces.SKIN=blueSky, primefaces.skin=none, facelets.RECREATE_VALUE_EXPRESSION_ON_BUILD_BEFORE_RESTORE=false, facelets.REFRESH_PERIOD=1, facelets.SKIP_COMMENTS=true, javax.faces.STATE_SAVING_METHOD=server, javax.faces.DEFAULT_SUFFIX=.jsp}

      07:17:54,369 INFO  [org.ajax4jsf.cache.LRUMapCacheFactory] (MSC service thread 1-4) Creating LRUMap cache instance of default capacity

      07:17:54,385 INFO  [org.jboss.web] (MSC service thread 1-4) registering web context: /Depoterfassung