FileNotFoundException after Rendering
Posted: Thu Dec 10, 2015 1:44 pm
Hello,
after I use rendering in my application I get Filenotfound Exception, it is a Restservice with json data in the mrt.file as pathdata, I created the mrt File using the designer fx for Java
report = StiSerializeManager.deserializeReport(new File("/Users/me/Desktop/report.mrt"));
report.Render();
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: http:/dev:8888/server/api.php/fh/subs (No such file or directory)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.connect(StiJsonDatabase.java:98)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.connect(StiJsonDatabase.java:86)
at com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource.connect(StiDataStoreSource.java:92)
at com.stimulsoft.report.dictionary.dataSources.StiDataSourcesCollection.connect(StiDataSourcesCollection.java:82)
at com.stimulsoft.report.dictionary.StiDictionary.connect(StiDictionary.java:1216)
at com.stimulsoft.report.engine.engineV2.StiRenderProviderV2.ConnectToData(StiRenderProviderV2.java:370)
at com.stimulsoft.report.engine.engineV2.StiRenderProviderV2.Render(StiRenderProviderV2.java:124)
at com.stimulsoft.report.engine.engineV2.builders.StiReportV2Builder.RenderSingleReport(StiReportV2Builder.java:64)
at com.stimulsoft.report.StiReport.RenderReport(StiReport.java:1941)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1842)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1777)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1767)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1752)
at com.mO.Main.main(Main.java:37)
Caused by: java.io.FileNotFoundException: http:/dev:8888/server/api.php/fh/subs (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.getJSONObject(StiJsonDatabase.java:118)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.connect(StiJsonDatabase.java:92)
... 13 more
after I use rendering in my application I get Filenotfound Exception, it is a Restservice with json data in the mrt.file as pathdata, I created the mrt File using the designer fx for Java
report = StiSerializeManager.deserializeReport(new File("/Users/me/Desktop/report.mrt"));
report.Render();
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: http:/dev:8888/server/api.php/fh/subs (No such file or directory)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.connect(StiJsonDatabase.java:98)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.connect(StiJsonDatabase.java:86)
at com.stimulsoft.report.dictionary.dataSources.StiDataStoreSource.connect(StiDataStoreSource.java:92)
at com.stimulsoft.report.dictionary.dataSources.StiDataSourcesCollection.connect(StiDataSourcesCollection.java:82)
at com.stimulsoft.report.dictionary.StiDictionary.connect(StiDictionary.java:1216)
at com.stimulsoft.report.engine.engineV2.StiRenderProviderV2.ConnectToData(StiRenderProviderV2.java:370)
at com.stimulsoft.report.engine.engineV2.StiRenderProviderV2.Render(StiRenderProviderV2.java:124)
at com.stimulsoft.report.engine.engineV2.builders.StiReportV2Builder.RenderSingleReport(StiReportV2Builder.java:64)
at com.stimulsoft.report.StiReport.RenderReport(StiReport.java:1941)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1842)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1777)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1767)
at com.stimulsoft.report.StiReport.Render(StiReport.java:1752)
at com.mO.Main.main(Main.java:37)
Caused by: java.io.FileNotFoundException: http:/dev:8888/server/api.php/fh/subs (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.getJSONObject(StiJsonDatabase.java:118)
at com.stimulsoft.report.dictionary.databases.StiJsonDatabase.connect(StiJsonDatabase.java:92)
... 13 more