Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.2
    • Security Level: Jimmy
    • Labels:
      None

      Description

      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

        Activity

        Hide
        rudyhuang rudyhuang added a comment -

        Fixed since 2018/12/03

        Show
        rudyhuang rudyhuang added a comment - Fixed since 2018/12/03

          People

          • Assignee:
            rudyhuang rudyhuang
            Reporter:
            cor3000 cor3000
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h