Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Mac OS X
Maven 1.0.2
Description
I'm still unable to run the regeression tests successfully
+) TV points out that the tests are working
+) this is the only component using torque-3.3-RC1 - I just redownload the library to avoid a stale copy
CONSOLE OUTPUT
=======================================================================
test:test:
[junit] Running org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest
[junit] Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 0.79 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest FAILED
[junit] Running org.apache.fulcrum.security.torque.dynamic.TorqueDynamicModelManagerTest
[junit] Tests run: 12, Failures: 11, Errors: 0, Time elapsed: 1.029 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.dynamic.TorqueDynamicModelManagerTest FAILED
[junit] Running org.apache.fulcrum.security.torque.StartingSecurityServicesTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.491 sec
[junit] Running org.apache.fulcrum.security.torque.TorqueGroupManagerTest
[junit] Tests run: 12, Failures: 0, Errors: 10, Time elapsed: 1.038 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.TorqueGroupManagerTest FAILED
[junit] Running org.apache.fulcrum.security.torque.TorquePermissionManagerTest
[junit] Tests run: 12, Failures: 0, Errors: 10, Time elapsed: 1.018 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.TorquePermissionManagerTest FAILED
[junit] Running org.apache.fulcrum.security.torque.TorqueRoleManagerTest
[junit] Tests run: 11, Failures: 0, Errors: 9, Time elapsed: 1.023 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.TorqueRoleManagerTest FAILED
[junit] Running org.apache.fulcrum.security.torque.TorqueUserManagerTest
[junit] Tests run: 17, Failures: 0, Errors: 14, Time elapsed: 1.174 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.TorqueUserManagerTest FAILED
[junit] Running org.apache.fulcrum.security.torque.turbine.TorqueTurbineModelManagerTest
[junit] Tests run: 7, Failures: 6, Errors: 0, Time elapsed: 0.917 sec
[junit] [ERROR] TEST org.apache.fulcrum.security.torque.turbine.TorqueTurbineModelManagerTest FAILED
TEST REPORT
=========================================================================================
Testsuite: org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest
Tests run: 3, Failures: 2, Errors: 0, Time elapsed: 0.79 sec
------------- Standard Output ---------------
src/test/fulcrum-basic-schema.sql
src/test/id-table-schema.sql
src/test/fulcrum-basic-schema-idtable-init.sql
[DEBUG] Starting container...
[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Using the following configuration : <?xml version="1.0" encoding="UTF-8"?>
<fulcrum-yaafi><containerFlavour>yaafi</containerFlavour><containerClazzName>org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl</containerClazzName><componentRoles><location>src/test/BasicTorqueRoleConfig.xml</location><isEncrypted>false</isEncrypted></componentRoles><componentConfiguration><location>src/test/BasicTorqueComponentConfig.xml</location><isEncrypted>false</isEncrypted></componentConfiguration><parameters><location/><isEncrypted>false</isEncrypted></parameters></fulcrum-yaafi>
[DEBUG] Using the following container type : yaafi
[DEBUG] YAAFI Service Framework is starting up
[DEBUG] Setting applicationRootDir to /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque
[DEBUG] Setting tempRootDir to /tmp
[DEBUG] Looking for src/test/BasicTorqueRoleConfig.xml in the root directory
[DEBUG] Found src/test/BasicTorqueRoleConfig.xml as /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/BasicTorqueRoleConfig.xml
[DEBUG] Successfully located src/test/BasicTorqueRoleConfig.xml
[DEBUG] Looking for src/test/BasicTorqueComponentConfig.xml in the root directory
[DEBUG] Found src/test/BasicTorqueComponentConfig.xml as /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/BasicTorqueComponentConfig.xml
[DEBUG] Successfully located src/test/BasicTorqueComponentConfig.xml
[DEBUG] Looking for /parameters.properties in the root directory
[DEBUG] Looking for /parameters.properties as absolute file location
[DEBUG] Looking for /parameters.properties using the class loader
[WARNING] Unable to locate /parameters.properties
[DEBUG] Incarnating the service torqueService
[DEBUG] Instantiating the implementation class for torqueService
[DEBUG] Incarnating the service torqueService
[DEBUG] LogEnabled.enableLogging() for torqueService
[DEBUG] Contextualizable.contextualize() for torqueService
[DEBUG] Configurable.configure() for torqueService
[DEBUG] configure(torqueService::<no value>:@null:33:20)
[DEBUG] Config File changes to src/test/Torque.properties
[DEBUG] Config File is /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/Torque.properties
[DEBUG] Initializable.initialize() for torqueService
[DEBUG] initialize()
[DEBUG] Startable.start() for torqueService
[DEBUG] start()
[DEBUG] Incarnating the service securityService
[DEBUG] Instantiating the implementation class for securityService
[DEBUG] Incarnating the service securityService
[DEBUG] LogEnabled.enableLogging() for securityService
[DEBUG] Serviceable.service() for securityService
[DEBUG] Configurable.configure() for securityService
[DEBUG] Initializable.initialize() for securityService
[DEBUG] Incarnating the service userManager
[DEBUG] Instantiating the implementation class for userManager
[DEBUG] Incarnating the service userManager
[DEBUG] LogEnabled.enableLogging() for userManager
[DEBUG] Serviceable.service() for userManager
[DEBUG] Configurable.configure() for userManager
[DEBUG] Incarnating the service groupManager
[DEBUG] Instantiating the implementation class for groupManager
[DEBUG] Incarnating the service groupManager
[DEBUG] LogEnabled.enableLogging() for groupManager
[DEBUG] Serviceable.service() for groupManager
[DEBUG] Configurable.configure() for groupManager
[DEBUG] Incarnating the service modelManager
[DEBUG] Instantiating the implementation class for modelManager
[DEBUG] Incarnating the service modelManager
[DEBUG] LogEnabled.enableLogging() for modelManager
[DEBUG] Serviceable.service() for modelManager
[DEBUG] Incarnating the service authenticator
[DEBUG] Instantiating the implementation class for authenticator
[DEBUG] Incarnating the service authenticator
[DEBUG] LogEnabled.enableLogging() for authenticator
[DEBUG] Incarnating the service aclFactory
[DEBUG] Instantiating the implementation class for aclFactory
[DEBUG] Incarnating the service aclFactory
[DEBUG] LogEnabled.enableLogging() for aclFactory
[DEBUG] Serviceable.service() for aclFactory
[INFO] YAAFI Avalon Service Container is up and running
[INFO] YaffiContainer ready.
[DEBUG] Starting container...
[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Using the following configuration : <?xml version="1.0" encoding="UTF-8"?>
<fulcrum-yaafi><containerFlavour>yaafi</containerFlavour><containerClazzName>org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl</containerClazzName><componentRoles><location>src/test/BasicTorqueRoleConfig.xml</location><isEncrypted>false</isEncrypted></componentRoles><componentConfiguration><location>src/test/BasicTorqueComponentConfig.xml</location><isEncrypted>false</isEncrypted></componentConfiguration><parameters><location/><isEncrypted>false</isEncrypted></parameters></fulcrum-yaafi>
[DEBUG] Using the following container type : yaafi
[DEBUG] YAAFI Service Framework is starting up
[DEBUG] Setting applicationRootDir to /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque
[DEBUG] Setting tempRootDir to /tmp
[DEBUG] Looking for src/test/BasicTorqueRoleConfig.xml in the root directory
[DEBUG] Found src/test/BasicTorqueRoleConfig.xml as /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/BasicTorqueRoleConfig.xml
[DEBUG] Successfully located src/test/BasicTorqueRoleConfig.xml
[DEBUG] Looking for src/test/BasicTorqueComponentConfig.xml in the root directory
[DEBUG] Found src/test/BasicTorqueComponentConfig.xml as /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/BasicTorqueComponentConfig.xml
[DEBUG] Successfully located src/test/BasicTorqueComponentConfig.xml
[DEBUG] Looking for /parameters.properties in the root directory
[DEBUG] Looking for /parameters.properties as absolute file location
[DEBUG] Looking for /parameters.properties using the class loader
[WARNING] Unable to locate /parameters.properties
[DEBUG] Incarnating the service torqueService
[DEBUG] Instantiating the implementation class for torqueService
[DEBUG] Incarnating the service torqueService
[DEBUG] LogEnabled.enableLogging() for torqueService
[DEBUG] Contextualizable.contextualize() for torqueService
[DEBUG] Configurable.configure() for torqueService
[DEBUG] configure(torqueService::<no value>:@null:33:20)
[DEBUG] Config File changes to src/test/Torque.properties
[DEBUG] Config File is /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/Torque.properties
[DEBUG] Initializable.initialize() for torqueService
[DEBUG] initialize()
[DEBUG] Startable.start() for torqueService
[DEBUG] start()
[DEBUG] Incarnating the service securityService
[DEBUG] Instantiating the implementation class for securityService
[DEBUG] Incarnating the service securityService
[DEBUG] LogEnabled.enableLogging() for securityService
[DEBUG] Serviceable.service() for securityService
[DEBUG] Configurable.configure() for securityService
[DEBUG] Initializable.initialize() for securityService
[DEBUG] Incarnating the service userManager
[DEBUG] Instantiating the implementation class for userManager
[DEBUG] Incarnating the service userManager
[DEBUG] LogEnabled.enableLogging() for userManager
[DEBUG] Serviceable.service() for userManager
[DEBUG] Configurable.configure() for userManager
[DEBUG] Incarnating the service groupManager
[DEBUG] Instantiating the implementation class for groupManager
[DEBUG] Incarnating the service groupManager
[DEBUG] LogEnabled.enableLogging() for groupManager
[DEBUG] Serviceable.service() for groupManager
[DEBUG] Configurable.configure() for groupManager
[DEBUG] Incarnating the service modelManager
[DEBUG] Instantiating the implementation class for modelManager
[DEBUG] Incarnating the service modelManager
[DEBUG] LogEnabled.enableLogging() for modelManager
[DEBUG] Serviceable.service() for modelManager
[DEBUG] Incarnating the service authenticator
[DEBUG] Instantiating the implementation class for authenticator
[DEBUG] Incarnating the service authenticator
[DEBUG] LogEnabled.enableLogging() for authenticator
[DEBUG] Incarnating the service aclFactory
[DEBUG] Instantiating the implementation class for aclFactory
[DEBUG] Incarnating the service aclFactory
[DEBUG] LogEnabled.enableLogging() for aclFactory
[DEBUG] Serviceable.service() for aclFactory
[INFO] YAAFI Avalon Service Container is up and running
[INFO] YaffiContainer ready.
[DEBUG] Starting container...
[DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl
[DEBUG] Using the following configuration : <?xml version="1.0" encoding="UTF-8"?>
<fulcrum-yaafi><containerFlavour>yaafi</containerFlavour><containerClazzName>org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl</containerClazzName><componentRoles><location>src/test/BasicTorqueRoleConfig.xml</location><isEncrypted>false</isEncrypted></componentRoles><componentConfiguration><location>src/test/BasicTorqueComponentConfig.xml</location><isEncrypted>false</isEncrypted></componentConfiguration><parameters><location/><isEncrypted>false</isEncrypted></parameters></fulcrum-yaafi>
[DEBUG] Using the following container type : yaafi
[DEBUG] YAAFI Service Framework is starting up
[DEBUG] Setting applicationRootDir to /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque
[DEBUG] Setting tempRootDir to /tmp
[DEBUG] Looking for src/test/BasicTorqueRoleConfig.xml in the root directory
[DEBUG] Found src/test/BasicTorqueRoleConfig.xml as /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/BasicTorqueRoleConfig.xml
[DEBUG] Successfully located src/test/BasicTorqueRoleConfig.xml
[DEBUG] Looking for src/test/BasicTorqueComponentConfig.xml in the root directory
[DEBUG] Found src/test/BasicTorqueComponentConfig.xml as /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/BasicTorqueComponentConfig.xml
[DEBUG] Successfully located src/test/BasicTorqueComponentConfig.xml
[DEBUG] Looking for /parameters.properties in the root directory
[DEBUG] Looking for /parameters.properties as absolute file location
[DEBUG] Looking for /parameters.properties using the class loader
[WARNING] Unable to locate /parameters.properties
[DEBUG] Incarnating the service torqueService
[DEBUG] Instantiating the implementation class for torqueService
[DEBUG] Incarnating the service torqueService
[DEBUG] LogEnabled.enableLogging() for torqueService
[DEBUG] Contextualizable.contextualize() for torqueService
[DEBUG] Configurable.configure() for torqueService
[DEBUG] configure(torqueService::<no value>:@null:33:20)
[DEBUG] Config File changes to src/test/Torque.properties
[DEBUG] Config File is /Users/siegfriedgoeschl/work/jakarta/turbine/fulcrum/trunk/security/torque/src/test/Torque.properties
[DEBUG] Initializable.initialize() for torqueService
[DEBUG] initialize()
[DEBUG] Startable.start() for torqueService
[DEBUG] start()
[DEBUG] Incarnating the service securityService
[DEBUG] Instantiating the implementation class for securityService
[DEBUG] Incarnating the service securityService
[DEBUG] LogEnabled.enableLogging() for securityService
[DEBUG] Serviceable.service() for securityService
[DEBUG] Configurable.configure() for securityService
[DEBUG] Initializable.initialize() for securityService
[DEBUG] Incarnating the service userManager
[DEBUG] Instantiating the implementation class for userManager
[DEBUG] Incarnating the service userManager
[DEBUG] LogEnabled.enableLogging() for userManager
[DEBUG] Serviceable.service() for userManager
[DEBUG] Configurable.configure() for userManager
[DEBUG] Incarnating the service groupManager
[DEBUG] Instantiating the implementation class for groupManager
[DEBUG] Incarnating the service groupManager
[DEBUG] LogEnabled.enableLogging() for groupManager
[DEBUG] Serviceable.service() for groupManager
[DEBUG] Configurable.configure() for groupManager
[DEBUG] Incarnating the service modelManager
[DEBUG] Instantiating the implementation class for modelManager
[DEBUG] Incarnating the service modelManager
[DEBUG] LogEnabled.enableLogging() for modelManager
[DEBUG] Serviceable.service() for modelManager
[DEBUG] Incarnating the service authenticator
[DEBUG] Instantiating the implementation class for authenticator
[DEBUG] Incarnating the service authenticator
[DEBUG] LogEnabled.enableLogging() for authenticator
[DEBUG] Incarnating the service aclFactory
[DEBUG] Instantiating the implementation class for aclFactory
[DEBUG] Incarnating the service aclFactory
[DEBUG] LogEnabled.enableLogging() for aclFactory
[DEBUG] Serviceable.service() for aclFactory
[INFO] YAAFI Avalon Service Container is up and running
[INFO] YaffiContainer ready.
------------- ---------------- ---------------
------------- Standard Error -----------------
org.apache.torque.TorqueException: java.lang.NullPointerException
at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:109)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:392)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:319)
at org.apache.fulcrum.security.torque.om.BaseTorqueBasicUserGroupPeer.doDelete(BaseTorqueBasicUserGroupPeer.java:500)
at org.apache.fulcrum.security.torque.om.BaseTorqueBasicUserGroupPeer.doDelete(BaseTorqueBasicUserGroupPeer.java:477)
at org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest.tearDown(TorqueBasicModelManagerTest.java:72)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Caused by: java.lang.NullPointerException
at org.apache.torque.util.BasePeer.processTables(BasePeer.java:1670)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:381)
... 13 more
org.apache.torque.TorqueException: java.lang.NullPointerException
at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:109)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:392)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:319)
at org.apache.fulcrum.security.torque.om.BaseTorqueBasicUserGroupPeer.doDelete(BaseTorqueBasicUserGroupPeer.java:500)
at org.apache.fulcrum.security.torque.om.BaseTorqueBasicUserGroupPeer.doDelete(BaseTorqueBasicUserGroupPeer.java:477)
at org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest.tearDown(TorqueBasicModelManagerTest.java:72)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
Caused by: java.lang.NullPointerException
at org.apache.torque.util.BasePeer.processTables(BasePeer.java:1670)
at org.apache.torque.util.BasePeer.doDelete(BasePeer.java:381)
... 13 more
------------- ---------------- ---------------
Testcase: testGrantUserGroup(org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest): FAILED
org.apache.torque.TorqueException: java.lang.NullPointerException
junit.framework.AssertionFailedError: org.apache.torque.TorqueException: java.lang.NullPointerException
at org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest.tearDown(TorqueBasicModelManagerTest.java:85)
Testcase: testRevokeUserGroup(org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest): FAILED
org.apache.torque.TorqueException: java.lang.NullPointerException
junit.framework.AssertionFailedError: org.apache.torque.TorqueException: java.lang.NullPointerException
at org.apache.fulcrum.security.torque.basic.TorqueBasicModelManagerTest.tearDown(TorqueBasicModelManagerTest.java:85)