0 Replies Latest reply on Feb 27, 2006 11:00 AM by Aymen MASMOUDI

    connection to mysql database

    Aymen MASMOUDI Newbie

      hi, I am tring to connect me to the mysql database, I configured hibernate.properties but some errors was occurred :
      java.lang.ExceptionInInitializerError
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at junit.framework.TestSuite.createTest(TestSuite.java:131)
      at junit.framework.TestSuite.addTestMethod(TestSuite.java:114)
      at junit.framework.TestSuite.(TestSuite.java:75)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.getTest(RemoteTestRunner.java:360)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:398)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
      Caused by: java.lang.NullPointerException
      at java.io.Reader.(Unknown Source)
      at java.io.InputStreamReader.(Unknown Source)
      at java.util.Properties.load(Unknown Source)
      at org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory.java:122)
      at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFactory.java:90)
      at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFactory.java:86)
      at org.jbpm.tutorial.db.HelloWorldDbTest.(HelloWorldDbTest.java:20)
      ... 11 more

      thinks for help