Show us the code you used to get the lists.
Is this code running within Project "A" in a customized workflow?
Is this code running within Project "A" in a customized workflow?