Ошибка при формировании отчета
Добавлено: 11 дек 2017, 05:16
Хочу обновиться с версии 2017.1.3 до 2018.1.2
Мой отчет и источник данных JSON во вложении.
Генерирую отчет: один, два, три раза...
На четвертый раз (не всегда, иногда больше удачных попыток) при генерации сервер начинает выдавать ошибку:
java.net.MalformedURLException: no protocol: {records.logoImage}
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.stimulsoft.report.components.simplecomponents.StiImage.getImageFromUrl(StiImage.java:190)
at com.stimulsoft.report.components.simplecomponents.StiImage.setImageURLValue(StiImage.java:424)
at com.stimulsoft.report.expressions.StiUnifiedExpression.setValue(StiUnifiedExpression.java:64)
at com.stimulsoft.report.expressions.StiUnifiedExpression.set(StiUnifiedExpression.java:30)
at com.stimulsoft.report.expressions.StiUnifiedExpression.Set(StiUnifiedExpression.java:34)
at com.stimulsoft.report.components.simplecomponents.StiImage.setImageURL(StiImage.java:446)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.stimulsoft.base.serializing.StiDeserializerReport.setPropertyInInstance(StiDeserializerReport.java:301)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:122)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:263)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:173)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:244)
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:229)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:203)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:140)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:110)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:263)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:173)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:244)
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:229)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:203)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:140)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:110)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:263)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:173)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:244)
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:229)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:203)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:140)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:110)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReportWithoutException(StiDeserializerControler.java:126)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:111)
at com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:66)
at com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:54)
at com.mobilvendor.reports.Common.loadReport(Common.java:192)
at org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
перезапускаю сервер: еще три удачных генераций, потом ошибка, и так далее.
В версии 2017.1.3 такой проблемы нет.
Мой отчет и источник данных JSON во вложении.
Генерирую отчет: один, два, три раза...
На четвертый раз (не всегда, иногда больше удачных попыток) при генерации сервер начинает выдавать ошибку:
java.net.MalformedURLException: no protocol: {records.logoImage}
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.stimulsoft.report.components.simplecomponents.StiImage.getImageFromUrl(StiImage.java:190)
at com.stimulsoft.report.components.simplecomponents.StiImage.setImageURLValue(StiImage.java:424)
at com.stimulsoft.report.expressions.StiUnifiedExpression.setValue(StiUnifiedExpression.java:64)
at com.stimulsoft.report.expressions.StiUnifiedExpression.set(StiUnifiedExpression.java:30)
at com.stimulsoft.report.expressions.StiUnifiedExpression.Set(StiUnifiedExpression.java:34)
at com.stimulsoft.report.components.simplecomponents.StiImage.setImageURL(StiImage.java:446)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.stimulsoft.base.serializing.StiDeserializerReport.setPropertyInInstance(StiDeserializerReport.java:301)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:122)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:263)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:173)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:244)
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:229)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:203)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:140)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:110)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:263)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:173)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:244)
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:229)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:203)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:140)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:110)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeBranch(StiDeserializerControler.java:263)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeObject(StiDeserializerReport.java:173)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializObjectInList(StiDeserializerReport.java:244)
at com.stimulsoft.base.serializing.StiDeserializerReport.listObject(StiDeserializerReport.java:229)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeCollection(StiDeserializerReport.java:203)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChild(StiDeserializerReport.java:140)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserializeChildren(StiDeserializerReport.java:110)
at com.stimulsoft.base.serializing.StiDeserializerReport.deserialize(StiDeserializerReport.java:82)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReportWithoutException(StiDeserializerControler.java:126)
at com.stimulsoft.base.serializing.StiDeserializerControler.deserializeReport(StiDeserializerControler.java:111)
at com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:66)
at com.stimulsoft.report.StiSerializeManager.deserializeReport(StiSerializeManager.java:54)
at com.mobilvendor.reports.Common.loadReport(Common.java:192)
at org.apache.jsp.viewer_jsp._jspService(viewer_jsp.java:90)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
перезапускаю сервер: еще три удачных генераций, потом ошибка, и так далее.
В версии 2017.1.3 такой проблемы нет.