[prev in list] [next in list] [prev in thread] [next in thread]
List: turbine-torque-dev
Subject: [jira] Resolved: (TORQUE-68) DatabaseMap remains empty if Torque is
From: "Thomas Vandahl (JIRA)" <jira () apache ! org>
Date: 2007-01-18 15:37:30
Message-ID: 11094082.1169134650020.JavaMail.jira () brutus
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/TORQUE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Thomas Vandahl resolved TORQUE-68.
----------------------------------
Resolution: Incomplete
Fix Version/s: 3.3
3.3-RC1
Allow repeated lookups to the Torque Avalon Component. The component now registers \
the existing MapBuilders with the new instance so that they are re-built during \
initialization. This is considered a temporary hack until the static constructors of \
the generated Peer classes go away.
> 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: Generator, Runtime
> Affects Versions: 3.3
> Environment: Avalon, JUnit-Tests
> Reporter: Thomas Vandahl
> Assigned To: Thomas Vandahl
> Fix For: 3.3-RC1, 3.3
>
>
> 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 contact one of the administrators: \
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic