powered by Jive Software

Sparkweb error message

I am using the pre-built SparkWeb 0.9.0 downloaded from the website.

My XMPP server is eJabberd 2.0.3 running on Ubuntu Linux at 192.168.2.8

In my ejabberd.cfg file, I have:

SERVED HOSTNAME = “localhost”

and eJabberd web server setup to accept BOSH connections on /http-bind/

It works with iJab and JWchat.

This is a test/development environment with no DNS or fancy hostnames.

The login JID for eJabberd is king@localhost

SparkWeb.html:

function jive_sparkweb_getConfig()
{
     return {
          server: "192.168.2.8",
          connectionType: "http",
          port: "5280",
             bindPath: "/http-bind/",
             autoLogin: "true",
             username: "king",
             password: "xxxxx",
             policyFileURL: "http://192.168.2.8:5280/web/sparkweb/crossdomain.xml"
     };
}

Error message from Adobe Flash 9 (Debug version on Mac OS X):

TypeError: Error #1009: Cannot access a property or method of a null object reference.
     at org.jivesoftware.xiff.core::XMPPBOSHConnection/httpResponse()
     at Function/http://adobe.com/AS3/2006/builtin::apply()
     at org.jivesoftware.xiff.util::Callback/call()
     at flash.events::EventDispatcher/dispatchEventFunction()
     at flash.events::EventDispatcher/dispatchEvent()
     at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
     at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
     at mx.rpc::Responder/result()
     at mx.rpc::AsyncRequest/acknowledge()
     at DirectHTTPMessageResponder/completeHandler()
     at flash.events::EventDispatcher/dispatchEventFunction()
     at flash.events::EventDispatcher/dispatchEvent()
     at flash.net::URLLoader/onComplete()

I believe it has something to do with login. Any suggestions?

Thanks.

I have enabled “flashlog.txt” thanks to

http://elromdesign.com/blog/2009/01/27/tips-debugging-flex-applications-with-fla shlogtxt-on-a-mac/

and I noticed that before I get the error message above, I get this in my flashlog.txt:

SEND:

I re-installed webspark-0.9.0 from the web site and configured it with eJabberd (as described above) and I still get the error message during login.

Has anyone else experienced this or have any advice for trying to debug this?

Thanks.