1 Reply Latest reply on Aug 10, 2008 1:02 PM by c0upal

    Transaction inactive when catching a NoResultException during User query

    c0upal

      I have created a login() function to check against a USER database.  I would query the USER table by injecting a java object that extends the EntityQuery Seam framework class.  When the user is not found, the application would throw a NoResultException.  However, when I catched the NoResultException, and do nothing,  I get an error log saying that the Transaction was inactive.  From then on, my app is not stable anymore. I need to restart the app.


      Do i have to do some code when catching the NoResultException exception?