1 Reply Latest reply on Sep 11, 2013 3:43 AM by jaikiran

    Why Null Pointer Exception results in BAD Request (400) instead of Internal Server Error(500)?

    subhashlg26

      Hi,

       

      I am using RESTEasy framework. When null pointer exception occurs on the JBoss Application, request results in the BAD Request (400). Ideally it should be treated as a server side error.

      Let me know if this is correct. I would like to know views/ perception for returning 400 error on NPE.

       

      -Thanks

      Subhash