[
https://issues.apache.org/jira/browse/TORQUE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Fox closed TORQUE-68.
----------------------------
> DatabaseMap remains empty if Torque is stopped and restarted, causes NPEs
> -------------------------------------------------------------------------
>
> Key: TORQUE-68
> URL: https://issues.apache.org/jira/browse/TORQUE-68
> Project: Torque
> Issue Type: Bug
> Components: Runtime
> Affects Versions: 3.3-RC2
> Environment: Avalon, JUnit-Tests
> Reporter: Thomas Vandahl
> Assignee: Thomas Vandahl
> Fix For: 3.3-RC3
>
>
> When running tests with the Fulcrum-Testcontainer, the TorqueComponent is
> instantiated on every lookup (setUp()) and shutdown on every tearDown(). In
> this scenario the first test succeeds and all others fail because the
> DatabaseMap contains no tables. This is probably caused by invalid static
> references to the DatabaseMap of the previous instance. This situation causes
> NullPointerExceptions in several BasePeer methods(e.g. processTables()).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]