powered by Jive Software

Registration Plugin Error

I receive the following error when trying to use the Registration Plugin in my Admin Console.

Exception:

java.lang.NullPointerException

at org.jivesoftware.messenger.plugin.registration.registration_002dprops_002dform_ jsp._jspService(registration_002dprops_002dform_jsp.java:121)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.jivesoftware.messenger.container.PluginServlet.handleJSP(PluginServlet.java :215)

at org.jivesoftware.messenger.container.PluginServlet.service(PluginServlet.java:7 7)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)

at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:78)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:78)

at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)

at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)

at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)

at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)

at org.mortbay.http.HttpServer.service(HttpServer.java:896)

at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)

at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)

at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)

at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)

at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)

at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

The platform the server is running on is Windows 2003 server. All the other features appear to be working well. Any suggestions?

Checking my logs I see the following:

2005.04.26 13:52:02 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 13:52:07 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 13:52:12 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 13:52:17 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 13:52:22 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 13:52:27 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:22 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:27 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:32 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:37 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:42 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:47 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:52 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:22:57 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:02 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:07 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:12 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:17 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:22 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:27 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:32 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:37 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:42 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:47 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

2005.04.26 14:23:52 [org.jivesoftware.messenger.container.PluginManager$PluginMonitor.run(PluginMan ager.java:375)

] Error unloading plugin registration. Will attempt again momentarily.

Hi havensa,

I’'m not excatly sure what would be causing those errors. Are you running version 2.1.3 of Messenger? If so, you might want to try restarting the server and seeing if that clears up the problem.

Let me know.

Thanks,

Ryan

I am running version 2.1.3 (Just downloaded today) and I have restarted it a few times since then.

Strange…

Try stopping Messenger, navigate to the plugins directory, and then delete the “registration” directory (leaving the registration.jar file) and see if that clears up the problem.

I was able to duplicate that error you’‘re seeing the log by deleting the registration plugin using the plugin manager in the admin console but I haven’‘t been able to get the same exception you’‘re seeing. It appears that there is at least one resource the plugin is holding onto so Messenger isn’‘t able to delete it properly. Nothing in the code is jumping out at me as to what might be causing this problem but I’'ll keep looking.

Thanks,

Ryan

I was able to get it to work…

I physically rebooted the machine (Due to a windows update) when it came back up it all worked fine. LOL, I had restarted the jive services numerous times… Makes me feel rather foolish since my first question to most people when they call me is “Have you restart your machine?”

Thank you for the good advice and the help.

Message was edited by:

havensa

Hi havensa,

You shouldn’‘t feel foolish at all. Your post actually pointed out a bug in Messenger so it’'s good that you came across this.

Thanks,

Ryan