1 Reply Latest reply on May 18, 2010 11:02 PM by Yasser Hawari

    2 things that make me sleep bad

    Dmitry Shultz Newbie

      1. Once in a while just logged in user got NullPointerException in this line:


      2. Once in a while

      public class AgencyFactory {
      @In(create = true)
       private EntityManager entityManager;

      fails on

      org.jboss.seam.RequiredException: @In attribute requires non-null value: agenciesFactory.entityManager

      I can't reproduce it anytime I want (actually I can't reproduce it at all when i want), but it happens in production environment (Glassfish V2, mysql)

      Is there anything I can do to reduce the pain?