3 Replies Latest reply on Apr 6, 2011 12:49 AM by rzdabbah

    jive sbs start up problem with intellij JiveLicenseManager.getInstance()] threw exception; nested exception is java.lang.NullPointerException

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'licenseManager' defined in class path resource [spring-bootContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static synchronized com.jivesoftware.community.license.JiveLicenseManager com.jivesoftware.community.license.JiveLicenseManager.getInstance()] threw exception; nested exception is java.lang.NullPointerException
          at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)
          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
          at com.jivesoftware.community.lifecycle.spring.JiveDefaultListableBeanFactory.createBean(JiveDefaultListableBeanFactory.java:812)
          at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
          at com.jivesoftware.community.lifecycle.spring.JiveDefaultListableBeanFactory.preInstantiateSingletons(JiveDefaultListableBeanFactory.java:495)
          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
          at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
          at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
          at com.jivesoftware.community.lifecycle.JiveApplication.initialize(JiveApplication.java:145)
          at com.jivesoftware.community.Clearspace.start(Clearspace.java:135)
          at com.jivesoftware.community.web.JiveApplicationContextLoaderListener.contextInitialized(JiveApplicationContextLoaderListener.java:45)
          at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
          at org.mortbay.util.Container.start(Container.java:72)
          at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
          at org.mortbay.util.Container.start(Container.java:72)
          at com.jivesoftware.quickstart.JettyServer.startServer(JettyServer.java:49)
          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:597)
          at com.jivesoftware.quickstart.QuickStart.main(QuickStart.java:152)
          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:597)
          at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
      Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public static synchronized com.jivesoftware.community.license.JiveLicenseManager com.jivesoftware.community.license.JiveLicenseManager.getInstance()] threw exception; nested exception is java.lang.NullPointerException
          at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)
          at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)