Last screen of setup throwing NPE in some cases?




Caused by:java.lang.NullPointerException at org.jivesoftware.openfire.admin.setup.setup_002dfinished_jsp._jspService( at org.apache.jasper.runtime.HttpJspBase.service( at javax.servlet.http.HttpServlet.service( at org.mortbay.jetty.servlet.ServletHolder.handle( at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage( at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter( at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.util.LocaleFilter.doFilter( at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter( at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.admin.PluginFilter.doFilter( at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.jivesoftware.admin.AuthCheckFilter.doFilter( at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter( at org.mortbay.jetty.servlet.ServletHandler.handle( at at org.mortbay.jetty.servlet.SessionHandler.handle( at org.mortbay.jetty.handler.ContextHandler.handle( at org.mortbay.jetty.webapp.WebAppContext.handle( at org.mortbay.jetty.handler.ContextHandlerCollection.handle( at org.mortbay.jetty.handler.HandlerCollection.handle( at org.mortbay.jetty.handler.HandlerWrapper.handle( at org.mortbay.jetty.Server.handle( at org.mortbay.jetty.HttpConnection.handleRequest( at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete( at org.mortbay.jetty.HttpParser.parseNext( at org.mortbay.jetty.HttpParser.parseAvailable( at org.mortbay.jetty.HttpConnection.handle( at at org.mortbay.thread.BoundedThreadPool$

Powered by Jetty://\

Nothing special done to trigger it, from the reporter:
LDAP server is active directory, non SSL connected. I verified all stages where given the opportunity:

DB verified - once I fixed the 'select 1' thing for proper DB2 table names,
LDAP User lookup verified, including custom decrapify filter
LDAP Group lookup verified, including custom decrapify filter
It just barfed on the last page, worked fine after a restart.




Daniel Henninger
April 25, 2008, 2:04 AM

This does appear to be due to an expired session. While I don't feel we need to fix this for 3.5.1 as it should be a rare occurrence, I'd like to aim to make it at least behave in a more clean manner in the future. Rescheduling for 3.6.0.

Francisco Vives
April 24, 2008, 5:44 AM

I saw the same error and may be it is associated with the invalid session.
This is what I have done:

  1. In database setup it asked me for the DB2 driver

  2. The drivers were added and openfire restarted

  3. The page was refreshed and new information was provided

  4. Then I waited for more than 5'

  5. Then the setup was completed with mysql information.

  6. The following steps were made without errors

  7. The last step produced the NPE

Gaston Dombiak
April 18, 2008, 2:44 AM

This could be the case of an invalidated/expired http session.

Daniel Henninger
April 10, 2008, 5:07 AM

I can not reproduce this so far.

Your pinned fields
Click on the next to a field label to start pinning.


Daniel Henninger


Daniel Henninger