Mark,

For 5.2.2, we added the ability to provide a fileName parameter to the
sml:ReturnText library.  On initial implementation of the parameter, it was
improperly marked as a required parameter rather than an optional one -
which is why you're seeing the error you're seeing.

This has since been fixed for 5.3.  In the meantime, you should be OK to
just pass in any bogus fileName for the time being - it should not affect
the overall result - and once 5.3 is released, you can once again call this
module without the need to specify any parameter for a fileName.

Hope it helps,
Pat

On Fri, Mar 3, 2017 at 3:19 PM, Mark van Berkel <[email protected]>
wrote:

> It appears like sml:ReturnText requires fileName as of v5.2.2. The
> SPARQLMotion Module Library Reference document doesn't mention the field.
> What's expected for this field field? This is what I had, which worked
> until this upgrade, https://www.screencast.com/t/1ol0BZwp
>
> The details of the error message is:
> *Exception in SPARQLMotion Servlet*
> org.topbraid.spin.sparqlmotion.modules.SMException: the string value is
> missing for fileName
> at org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.
> getConfigString(AbstractSMModule.java:528)
> at org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.
> getConfigString(AbstractSMModule.java:490)
> at org.topbraid.spin.sparqlmotion.modules.AbstractSMModule.
> getConfigString(AbstractSMModule.java:477)
> at org.topbraid.spin.sparqlmotion.lib.internal.ReturnTextModule.execute(
> ReturnTextModule.java:30)
> at org.topbraidcomposer.sparqlmotion.modules.returnText.ReturnTextModule.
> execute(ReturnTextModule.java:35)
> at org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(
> ExecutionEngineImpl.java:203)
> at org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.
> executeModule(ExecutionEngineImpl.java:169)
> at org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(
> ExecutionEngineImpl.java:119)
> at org.topbraidlive.sparqlmotion.servlets.sparqlmotion.
> SPARQLMotionServlet.run(SPARQLMotionServlet.java:342)
> at org.topbraidlive.sparqlmotion.servlets.sparqlmotion.
> SPARQLMotionServlet.doPost(SPARQLMotionServlet.java:257)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> at org.topbraid.auth.servlet.TBAuthEnabledServlet.service(
> TBAuthEnabledServlet.java:41)
> at org.topbraid.eclipsex.servlet.TBHttpServlet.service(
> TBHttpServlet.java:155)
> at org.eclipse.equinox.http.registry.internal.
> ServletManager$ServletWrapper.service(ServletManager.java:180)
> at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$
> LegacyServlet.service(HttpServiceRuntimeImpl.java:1232)
> at org.eclipse.equinox.http.servlet.internal.registration.
> EndpointRegistration.service(EndpointRegistration.java:153)
> at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.
> processRequest(ResponseStateHandler.java:63)
> at org.eclipse.equinox.http.servlet.internal.context.
> DispatchTargets.doDispatch(DispatchTargets.java:98)
> at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.
> doDispatch(HttpServiceRuntimeImpl.java:372)
> at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(
> ProxyServlet.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> at org.eclipse.equinox.http.jetty.internal.HttpServerManager$
> InternalHttpServiceServlet.service(HttpServerManager.java:363)
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(
> ServletHandler.java:587)
> at org.eclipse.jetty.server.session.SessionHandler.
> doHandle(SessionHandler.java:221)
> at org.eclipse.jetty.server.handler.ContextHandler.
> doHandle(ContextHandler.java:1127)
> at org.eclipse.jetty.servlet.ServletHandler.doScope(
> ServletHandler.java:515)
> at org.eclipse.jetty.server.session.SessionHandler.
> doScope(SessionHandler.java:185)
> at org.eclipse.jetty.server.handler.ContextHandler.
> doScope(ContextHandler.java:1061)
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(
> ScopedHandler.java:141)
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
> HandlerWrapper.java:97)
> at org.eclipse.jetty.server.Server.handle(Server.java:499)
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
> at org.eclipse.jetty.server.HttpConnection.onFillable(
> HttpConnection.java:257)
> at org.eclipse.jetty.io.AbstractConnection$2.run(
> AbstractConnection.java:540)
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
> QueuedThreadPool.java:635)
> at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(
> QueuedThreadPool.java:555)
> at java.lang.Thread.run(Thread.java:745)
>
> --
> You received this message because you are subscribed to the Google Group
> "TopBraid Suite Users", the topics of which include the TopBraid Suite
> family of products and its base technologies such as SPARQLMotion, SPARQL
> Web Pages and SPIN.
> To post to this group, send email to [email protected]
> ---
> You received this message because you are subscribed to the Google Groups
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include the TopBraid Suite family 
of products and its base technologies such as SPARQLMotion, SPARQL Web Pages 
and SPIN.
To post to this group, send email to [email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to