SparkWeb problems (updated)

Another thig I found strange is that I have downloaded sparkweb.zip from this document http://www.igniterealtime.org/community/docs/DOC-1515 and when running sparkweb.html into a browser, I get the following chain of errors:

SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file://localhost/C:/Documents and Settings/bbatranut/Desktop/SparkWeb.swf cannot access file://localhost/C:/Documents and Settings/bbatranut/Desktop/SparkWeb.html.

at flash.external::ExternalInterface$/_initJS()

at flash.external::ExternalInterface$/call()

at com.jivesoftware.spark.managers::SparkManager$/loadExternalConfig()

at com.jivesoftware.spark.managers::SparkManager$/getConfigValueForKey()

at SparkWeb/presetup()

at SparkWeb/___SparkWeb_Application1_preinitialize()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at mx.core::UIComponent/initialize()

at mx.core::Container/initialize()

at mx.core::Application/initialize()

at SparkWeb/initialize()

at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.managers::SystemManager/initializeTopLevelWindow()

at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

TypeError: Error #1009: Cannot access a property or method of a null object reference.

at mx.containers::Panel/commitProperties()

at mx.core::UIComponent/validateProperties()

at mx.managers::LayoutManager/validateProperties()

at mx.managers::LayoutManager/doPhasedInstantiation()

at Function/http://adobe.com/AS3/2006/builtin::apply()

at mx.core::UIComponent/callLaterDispatcher2()

at mx.core::UIComponent/callLaterDispatcher()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at mx.core::UIComponent/set processedDescriptors()

at mx.core::Container/createComponentsFromDescriptors()

at mx.containers::Panel/createComponentsFromDescriptors()

at mx.core::Container/createChildren()

at mx.containers::Panel/createChildren()

at mx.core::UIComponent/initialize()

at mx.core::Container/initialize()

at com.jivesoftware.spark.components::ColorShiftingPanel/initialize()

at com.jivesoftware.spark::LoginDialog/initialize()

at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.core::Container/addChildAt()

at mx.core::Container/addChild()

at mx.core::Container/createComponentFromDescriptor()

at mx.core::Container/createComponentsFromDescriptors()

at mx.core::Container/createChildren()

at mx.core::UIComponent/initialize()

at mx.core::Container/initialize()

at mx.core::Application/initialize()

at SparkWeb/initialize()

at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.managers::SystemManager/initializeTopLevelWindow()

at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file://localhost/C:/Documents and Settings/bbatranut/Desktop/SparkWeb.swf cannot access file://localhost/C:/Documents and Settings/bbatranut/Desktop/SparkWeb.html.

at flash.external::ExternalInterface$/_initJS()

at flash.external::ExternalInterface$/call()

at com.jivesoftware.spark.managers::SparkManager$/loadExternalConfig()

at com.jivesoftware.spark.managers::SparkManager$/getConfigValueForKey()

at com.jivesoftware.spark::LoginDialog/loadSavedServers()

at com.jivesoftware.spark::LoginDialog/___LoginDialog_ColorShiftingPanel1_initiali ze()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at mx.core::UIComponent/set processedDescriptors()

at mx.core::Container/createComponentsFromDescriptors()

at mx.containers::Panel/createComponentsFromDescriptors()

at mx.core::Container/createChildren()

at mx.containers::Panel/createChildren()

at mx.core::UIComponent/initialize()

at mx.core::Container/initialize()

at com.jivesoftware.spark.components::ColorShiftingPanel/initialize()

at com.jivesoftware.spark::LoginDialog/initialize()

at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.core::Container/addChildAt()

at mx.core::Container/addChild()

at mx.core::Container/createComponentFromDescriptor()

at mx.core::Container/createComponentsFromDescriptors()

at mx.core::Container/createChildren()

at mx.core::UIComponent/initialize()

at mx.core::Container/initialize()

at mx.core::Application/initialize()

at SparkWeb/initialize()

at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.managers::SystemManager/initializeTopLevelWindow()

at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

Error: Unable to load style(Error #2035: URL Not Found. URL: assets/css/SparkWebSkin.swf): assets/css/SparkWebSkin.swf.

at MethodInfo-791()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at ModuleInfoProxy/moduleEventHandler()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at ModuleInfo/errorHandler()

After each error I press Continue button from the popup box that shows them to me. And finaly an empty gray window appears.

On relaunch,

If I press Dismiss All in the same popup box, than a window pops up with the following error:

Error initializing ExternalMouseWheelSupport: SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file://localhost/C:/Documents and Settings/bbatranut/Desktop/SparkWeb.swf cannot access file://localhost/C:/Documents and Settings/bbatranut/Desktop/SparkWeb.html.

After pressing Ok button, the login screen for spark web appears

and after entering the correct username and pass, I press the Login button and nothing happens.

Any suggestions?

Thanx.

I’m getting the same ExternalMouseWheelSupport error. Any news?

Well there is something very strange here…

After I have downloaded the .zip file and extracted it to my tomcat, all went fine…

But, if I copy the files from the bin-debug dir from where the project is, into tomcat, I get the errors.

Do you have to extract the content of the sparkweb.zip folder into your tomcat? - Where is this written? I only extracted the content on my default apache htpdocs - but it ain`t working.

hi,

I hope this can help… I got ExternalMouseWheelSupport error only when I ran the swf from a physical path (D:\www\SparkWeb.swf), it automatically disappeared when I ran the swf in my browser from http.

I guess that was the problem

try using http-bind connection. It worked for me.

you need to place your sparkweb folder in your web site folder of your web server for it to run correctly.

assets/css/SparkWebSkin.swf: This error is caused because you are missing this file. You can download the Flex SDK that will allow you to build this file. It is used to customize the look and feel of the web interface (colors etc). I do not know if a blank file can be used.

1 Like

I tried several configs as posted in this doc : http://www.igniterealtime.org/community/docs/DOC-1515#comments-4144 but none of them worked out for me.

I cant explain it to myself…

yeah, u r right!!!

help me a lot, thanks much!