1 Reply Latest reply on Feb 27, 2006 5:43 AM by Tom Baeyens

    jbpm.3 build - is this error expected in the build?

    Jim Rigsbee Newbie

      Before I began moving my new code into the latest head source I did a sanity build to make sure I don't break anything :) I got a strange end to the first test suite...see below...is this okay...is my setup wrong?

       [mkdir] Created dir: F:\projects\jboss\jbpm.3\build\test.results.jbpm\xml
       [junit] Running org.jbpm.taskmgmt.log.TaskLogDbTest
       [junit] 10:28:11,458 [main] INFO JbpmConfiguration : using jbpm configuration resource 'jbpm.cfg.xml'
      ... omitted output that is normal ...
       [junit] 781 [main] DEBUG org.jbpm.JbpmContext - creating JbpmContext
       [junit] 10:28:12,239 [main] DEBUG Services : executing custom save operations
       [junit] 781 [main] DEBUG org.jbpm.svc.Services - executing custom save operations
       [junit] 10:28:12,239 [main] DEBUG JbpmContext : closing JbpmContext
       [junit] 781 [main] DEBUG org.jbpm.JbpmContext - closing JbpmContext
       [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.094 sec
       [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.281 sec
       [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0 sec
       [junit] java.lang.ExceptionInInitializerError
       [junit] at java.lang.Class.forName0(Native Method)
       [junit] at java.lang.Class.forName(Class.java:141)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
       [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:537)
       [junit] Caused by: org.jbpm.JbpmException: couldn't create business calendar
       [junit] at org.jbpm.calendar.BusinessCalendar.<init>(BusinessCalendar.java:62)
       [junit] at org.jbpm.calendar.BusinessCalendarTest.<clinit>(BusinessCalendarTest.java:29)
       [junit] ... 6 more
       [junit] Caused by: org.jbpm.configuration.ConfigurationException: name 'resource.business.calendar' is not defined in the configuration. configured names: [a]
       [junit] at org.jbpm.configuration.ObjectFactoryImpl.createObject(ObjectFactoryImpl.java:59)
       [junit] at org.jbpm.JbpmConfiguration$Configs.getObject(JbpmConfiguration.java:359)
       [junit] at org.jbpm.JbpmConfiguration$Configs.getString(JbpmConfiguration.java:362)
       [junit] at org.jbpm.calendar.BusinessCalendar.getBusinessCalendarProperties(BusinessCalendar.java:49)
       [junit] at org.jbpm.calendar.BusinessCalendar.<init>(BusinessCalendar.java:57)
       [junit] ... 7 more
       [junit] Exception in thread "main"
      [junitreport] Transform time: 906ms

      Regards, Jim