AnsweredAssumed Answered

sparkweb error message

Question asked by king7532 on May 7, 2009
Latest reply on May 12, 2009 by king7532

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.

Outcomes