Hello,

I'm trying to make a TBE component that should interpret results of a query 
constructed in the Search Form. In the pluginmanifest.xml I add for the 
component a viewer, that calls setQueryResult method:

        public function setQueryResult(...args):void {
            graph.spin2sparql(args[0], callbackS2S);
        }

As args comes an array with one element which is a BlankNodeImpl. My 
expectation is that it is a SPIN query. However the function spin2sparql 
fails with the following error trace:

Local file for org.topbraidlive.infobox.plugin.swf is null
Local file for org.topbraidlive.eventbutton.plugin.swf is null
at flash.net::URLLoader/onComplete()
at flash.events::EventDispatcher/dispatchEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at 
DirectHTTPBinaryMessageResponder/completeHandler()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/com/anirudh/rpc/DirectHTTPBinaryChannel.as:218]
at 
mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:74]
at 
mx.rpc::Responder/result()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:46]
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:263]
at 
HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.x\frameworks\projects\rpc\src\mx\rpc\http\HTTPService.as:775]
at flash.events::EventDispatcher/dispatchEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at 
org.topbraidlive.graph.impl::ServerImpl/handleResults()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/org/topbraidlive/graph/impl/ServerImpl.as:633]
at 
org.topbraidlive.graph.impl.util::CallbackQueue/drain()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/org/topbraidlive/graph/impl/util/CallbackQueue.as:36]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
Function/<anonymous>()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/org/topbraidlive/graph/impl/server/requests/impl/AbstractRequest.as:35]
at 
org.topbraidlive.graph.impl.server.requests.impl::RequestSPARQLSelect/parseResults()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/org/topbraidlive/graph/impl/server/requests/impl/RequestSPARQLSelect.as:56]
at 
org.topbraidlive.graph.impl.server.requests.impl::AbstractRequest/makeCallback()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/org/topbraidlive/graph/impl/server/requests/impl/AbstractRequest.as:135]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
org.topbraidlive.graph.impl::GraphImpl/handleSparqlSpinSelect()[/data1/nightlybuild/tmpbuild/tmpa/tbe3/flex.topbraidlive.graph.impl/src/org/topbraidlive/graph/impl/GraphImpl.as:1091]

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

Am I doing anything wrong?

Thanks
Andriy

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to