The only way to interact with SPARQLMotion scripts in TBE right now is through spl:Arguments. We are working on supporting sml:DisplayEditForm and sml:EnterLiteral for the upcoming 3.2 release. Using those modules, you can simulate the behavior of sml:SelectResource and sml:SelectInstance.
Thanks for your patience Holger On Sep 9, 2009, at 7:18 AM, Dean Rzonca wrote: > > Whenever I try to run a SPARQLMotion script with either the > sml:SelectResource or sml:SelectInstance modules in Ensemble, an error > message is displayed. > > Is Ensemble simply incompatible with these modules, or is there > something I need to do to fix this? Any help would be appreciated. > > > The stack trace from the error log is as follows: > > eclipse.buildId=M20090211-1700 > java.version=1.6.0_13 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US > Command-line arguments: -os win32 -ws win32 -arch x86 > > > Warning > Wed Sep 09 10:12:02 EDT 2009 > Failed to run SPARQLmotion script > > java.lang.NullPointerException > at org.topbraidlive.server.handlers.XMLHandlerUtil.getResultElement > (Unknown Source) > at > org.topbraidlive.server.handlers.XMLHandlerUtil.createResultElement > (Unknown Source) > at > org.topbraidlive.sparqlmotion.modules.selectInstance.SelectInstanceModule.execute > (Unknown Source) > at org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute > (Unknown Source) > at org.topbraidlive.sparqlmotion.engine.TBLExecutionEngine.execute > (Unknown Source) > at > org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.executeModule > (Unknown Source) > at org.topbraid.sparqlmotion.engine.impl.ExecutionEngine.execute > (Unknown Source) > at org.topbraidlive.sparqlmotion.engine.TBLExecutionEngine.execute > (Unknown Source) > at > org.topbraidlive.sparqlmotion.handlers.sparqlmotion.SPARQLMotionHandler.serializeResponse > (Unknown Source) > at > org.topbraidlive.server.servlet.AbstractRequestDelegate.handleRequest > (Unknown Source) > at > org.topbraidlive.server.servlet.AbstractRequestDelegate.runActionHandler > (Unknown Source) > at org.topbraidlive.server.servlet.RequestWorker.call(Unknown Source) > at org.topbraidlive.server.servlet.RequestWorker.call(Unknown Source) > at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. 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-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
