From: George T. <geo...@fr...> - 2005-08-29 19:08:23
|
Hello, I am developing a topic map server using MySQL / hibernate (It will be free to be used with a touchgraph front end editor, in a couple of months time) The problem: Somehow, a corrupted AssociationRole is created inside the database. The AssociationRole has "type" and "player", but has NO "Association". I am accessing it using: Set associationRoles = player.getRolesPlayed (); AssociationRole arProblematic = ...; Association a = arProblematic.getAssociation (); and a == null (!) I try to : arProblematic.remove (); and I have a NullPointerException while the arProblematic is not removed. I can't even remove the player because it is connected with the arProblematic do you have any ideas on how should I deal with this situation programmatically? Thank you for your help Cheers George TAKT research group ____________________________________________________________________ http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου. http://www.freemail.gr - free email service for the Greek-speaking. |