what version of wicket are you using? for me line 158 is "}"

-igor

On Mon, Aug 3, 2009 at 9:59 AM, Fernando
Wermus<fernando.wer...@gmail.com> wrote:
> Hi all,
>    I am using wicket and blazeds. The users logs in through wicket and they
> use blazeds services as well. I need to verify in MessageBrokerServlet
> (blazeds servlet) that the user has logged in. Then I added the
> WicketSessionFilter to get the session. But I got a null pointer exception:
>
> java.lang.NullPointerException
>    at
> org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:158)
>    at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>    at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:250)
>    at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>    at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>    at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>    at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>    at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>    at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>    at org.mortbay.jetty.Server.handle(Server.java:295)
>    at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
>    at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:841)
>    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:639)
>    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
>    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
>    at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>    at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> 43360 [btpool0-1] ERROR org.mortbay.log  - /messagebroker/amf
> java.lang.NullPointerException
>    at
> org.apache.wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:158)
>    at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>    at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:250)
>    at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>    at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>    at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>    at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>    at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>    at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>    at org.mortbay.jetty.Server.handle(Server.java:295)
>    at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
>    at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:841)
>    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:639)
>    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
>    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
>    at
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>    at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>
> I dont realize why this is happening. Because
>
> 1. I logged in
> 2. The MessageBrokerServlet as well as WicketSessionFilter point to the same
> url
>
> Thanks in advance.
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to