1 Reply Latest reply on Feb 6, 2006 7:46 AM by jactor

    Error message is null

      To avoid unecassary bug searching of the code, some error messages should be initialised better. I often get javax.ejb.EJBException: null which needs to be upgraded to a better message.

      This is a time consuming effort and often makes people frustrated. However the new POJO-like-beans in EJB3 is brilliant!

      Regards

        • 1. Re: Error message is null

          Is there a solution for this problem? It is frustrating to get

          2006-02-06 13:26:10,602 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[jsp] - 704] Servlet.service() for servlet jsp threw exception
          javax.ejb.EJBException: null; CausedByException is:
           null
          and to have no clue of what is causing the exception.

          No specific error message... and what is more frustrating is that this is not something which happens in sertain cases, but can happen in queries with EJBQL or if one use
          javax.persistence.EntityManager.save()
          ...

          Is this something which will be improved?