0 Replies Latest reply on May 18, 2007 5:27 AM by Mark Bakker

    Problem accessing stateles bean from entity bean

    Mark Bakker Newbie


      I try the following:
      I have an @Statefull bean with @Name("index")

      From with I call
      private transient Profiler profiler;
      ProfilerService is an stateless bean

      From the ProfilerService I get an entity bean called Article.
      In the article I call some function that uses an stateless bean referenced as:
      private transient Profiler profiler;

      I also tried


      Both give me null pointer exceptions when I call the profilerservice.
      Can someone give me a clue how to call an stateless bean from an entity bean?!

      Kind regards,