1 Reply Latest reply on Jan 22, 2004 2:22 PM by Viet

    Guest / Anonymous posts to the BB

    Matt Higgins Newbie

       

      "mhiggins" wrote:
      Is there a trick to be able to allow anonymous posts to a forum. I get a null pointer exception in the jboss log when I try it. I looked at the code for a minute and it looks like getPoseter() is returning null when I am not loged in.

      Here are the 1st few lines of the stack trace

      java.lang.NullPointerException
      at org.jboss.nukes.addons.modules.bb.commands.post.NewTopicCommand.prepare(NewTopicCommand.java:54)
      at org.jboss.nukes.addons.modules.bb.commands.post.ForumCommand.execute(ForumCommand.java:113)
      at org.jboss.nukes.addons.modules.bb.interceptors.ExecuteInterceptor.execute(ExecuteInterceptor.java:24)
      at org.jboss.nukes.addons.modules.bb.interceptors.NotificationInterceptor.execute(NotificationInterceptor.java:158)
      at org.jboss.nukes.addons.modules.bb.interceptors.IndexInterceptor.execute(IndexInterceptor.java:48)
      at org.jboss.nukes.addons.modules.bb.interceptors.ResourceCacheInvalidatorInterceptor.execute(ResourceCacheI