Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 532
  • Last Modified:

Sametime Alertbot

I'm trying to use IBM's sametime Alertbot java application, but I am getting the following error when running the STComm.jar file. Not sure what the issue is.




Session created
Attempting login to mysametime.server.com
Logged out
java.lang.NullPointerException
        at src.AlertBot.loggedOut(AlertBot.java:190)
        at com.lotus.sametime.community.STBase.loggedOut(STBase.java)
        at com.lotus.sametime.community.STBase.processLoginEvent(STBase.java)
        at com.lotus.sametime.community.STBase.processSTEvent(STBase.java)
        at com.lotus.sametime.core.comparch.STCompPart$1.processSTEvent(STCompPart.java)
        at com.lotus.sametime.core.comparch.MessageDispatcher.dispatch(MessageDispatcher.java)
        at com.lotus.sametime.core.comparch.MessageDispatcher.flush(MessageDispatcher.java)
        at com.lotus.sametime.core.comparch.MessageDispatchingThread.run(MessageDispatchingThread.ja
va)
        at java.lang.Thread.run(Unknown Source)
0
abgtemp
Asked:
abgtemp
1 Solution
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
It is just badly written code. In the loggedOut event listener method, the code author has assumed that the loggedIn event must have happened and that certain object would already be setup. This mustn't be happening and so because those objects are still 'null', when methods are trying to be called on them, the NullPointerException is being thrown.

As to why this is happening, I would say that it may be as simple not being able to login to your server properly. So either the server name, username or password might be incorrect?
0
 
abgtempAuthor Commented:
Thanks, all credentials are correct. I need to verify that the sametime server is allowing connections this way.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now