-
Bug
-
Resolution: Fixed
-
Normal
-
3.0.2
-
Security Level: Jimmy
-
None
Steps to Reproduce
load the example from ZKCHARTS-71 with open developer tools (e.g Chrome):
results in the following server side warning:
WARNING: /zksupport86/zkau/web/_zv3.0.2/js/svg2pdf.js.map java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 18 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at org.zkoss.zk.ui.http.WpdExtendlet$WpdLoader.getRealPath(WpdExtendlet.java:792) at org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:103) at org.zkoss.web.util.resource.ExtendletLoader.load(ExtendletLoader.java:42) at org.zkoss.util.resource.ResourceCache$Info.load(ResourceCache.java:227) at org.zkoss.util.resource.ResourceCache$Info.<init>(ResourceCache.java:202) at org.zkoss.util.resource.ResourceCache.get(ResourceCache.java:134) at org.zkoss.zk.ui.http.WpdExtendlet.retrieve(WpdExtendlet.java:172) at org.zkoss.zk.ui.http.WpdExtendlet.service(WpdExtendlet.java:113) at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:605) ...
Root Cause
the JS provides a source mapping comment which causes WpdExtendlet to fail
- relates to
-
ZKCHARTS-104 missing source map errors
- Resolved