Please post a full stack trace so we can see the error. It is hard to helpwithout knowing what the problem is