1 Reply Latest reply on Feb 21, 2006 6:42 AM by Harish Madhavan

    ClassLoadUtil throwing NullPointerException !

    Harish Madhavan Newbie

      Hi All,
      I am getting following error when i try to run the database sample provided in the documentation :

      --------------------------------------------------------
      Caused by: java.lang.NullPointerException
      at org.jbpm.instantiation.ClassLoaderUtil.getStream(ClassLoaderUtil.java:40)
      at org.jbpm.instantiation.ClassLoaderUtil.getProperties(ClassLoaderUtil.java:50)
      at org.jbpm.JbpmConfiguration.getProperties(JbpmConfiguration.java:23)
      at org.jbpm.JbpmConfiguration.getString(JbpmConfiguration.java:35)
      at org.jbpm.db.JbpmSessionFactory.(JbpmSessionFactory.java:40)

      -------------------------------------------------------

      The issues is :
      "ClassLoaderUtil.class.getClassLoader()" is returning null and hence the error.Please let me know if i am missing out something.I am using jBPM 3.0.2

      Regards,
      Hari