powered by Jive Software

RestAPI.jar for openfire 3.10.3

Hi,

I am looking for the a restAPI.jar plugin which will work with openfire 3.10.3.

I managed to get 1.0.2, 1.1.7, 1.2.5 all fail, too new and too old.

I see links to Log in as a Bamboo user - IgniteRealtime Bamboo in other posts but login fails and the history doesn’t go back far enough.

I think I did download a version 1.2.0 or 1.2.1 about a month ago from the plugins / beta section, but that link has changed and silly me didn’t keep that file.

Please help!

thanks

Andy

Does this link work?

Project-Plugins

Hi,

Thanks for the link.

But that is 1.0.2 and it doesn’t work. It loads into the plugins, but when I look at the server settings there is an exception.

Do you have the 1.2.0 or 1.2.1 version?

thanks,

Andy

Exception:

java.lang.NullPointerException
     at org.jivesoftware.openfire.plugin.restAPI.rest_002dapi_jsp._jspService(rest_002dapi_jsp.java:100)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
     at org.jivesoftware.openfire.container.PluginServlet.handleJSP(PluginServlet.java:294)
     at org.jivesoftware.openfire.container.PluginServlet.service(PluginServlet.java:107)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:159)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
     at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:159)
     at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
     at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
     at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
     at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
     at org.eclipse.jetty.server.Server.handle(Server.java:497)
     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
     at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
     at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
     at java.lang.Thread.run(Thread.java:745)

REST API Plugin Changelog says that 1.2.0 already requires 3.11.0.

Ah, yes, so it looks like the 1.1.7 version should be the latest version for openfire 3.10.3.

However, I get the null pointer exception when I look at ‘Server Settings’ -> ‘RestAPI’.

Any idea how to fix the null pointer exception?

Or is there a manual way to configure restAPI?

Or perhaps it was version 1.1.2 I had used before, anyidea where I can download that version to test?

thanks again, Andy

I have some older versions at home, but don’t remember which exactly (but i think not 1.1.2). Will check later today.

Nope, i don’t have 1.1.2.

Thanks for checking. Do you have any versions I’ve not tried?

I’ve tried 1.1.7, 1.0.2.

thanks again! Andy

I have

1.0.2

1.2.2

1.2.3

1.2.4

1.2.5

so it’s a very old version and then recent versions.