Hi Sanjeev, The path /Test/out.xml is relative to the TBC workspace root. So, in my workspace, I have a project “Test” , and I wanted the out.xml file to be created in that project.
I think it will work if you change the file path so that it starts with the name of a project in your workspace (or create a project “Test”). Richard > On 16 Feb 2019, at 09:26, Sanjeev Devireddy <[email protected]> > wrote: > > Hi Richard, > I did a quick check with the code snippet that you shared but a > NullPointerException is thrown by ExportToTextFileModule(please check the > below screenshot). As we can see that there are only two variables in that > code snippet. One variable is outfile, which is initialized in the first line > and the other variable is output, which is to store the response from the > service, http://localhost:8083/tbl/swp?_viewClass=geographyOutput:getOutput. > The service returns the response successfully. So, there is no clue on that, > where and why the NullPointerException is thrown. I even created an empty > file manually at the location /Test/out.xml file but no luck. Please find the > attachment(geographyOutput.ui.ttlx) for the source code. > > Exception > <Auto Generated Inline Image 1.jpeg> > > Code Snippet > <Auto Generated Inline Image 2.jpeg> > > > Manually created an empty file at the location given in the code > <Auto Generated Inline Image 3.jpeg> > > Source Service Response > <Auto Generated Inline Image 4.png> > > > > > Thanks, > Sanjeev > > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > <Auto Generated Inline Image 1.jpeg><Auto Generated Inline Image 2.jpeg><Auto > Generated Inline Image 3.jpeg><Auto Generated Inline Image 4.png> -- 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.
