Menu

JaxorFilter NPE

Help
Carl Fyffe
2004-06-13
2004-06-18
  • Carl Fyffe

    Carl Fyffe - 2004-06-13

    Does JaxorSession.getJaxorContext() need to be checked for null before JaxorSession.commit() is called?

    I was getting NPE using the filter at the very end of my session.  Is it possible that it could be a bug in my code that is calling JaxorSession.end() ?

     
    • Michael Rettig

      Michael Rettig - 2004-06-18

      Yes, if you call JaxorSession.end(), then the context wil be cleared.

      Why are you calling JaxorSession.end()? Are you manually rolling back the session?

      Thanks,

      Mike Rettig
      Jaxor Developer

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.