ICEmobile
  1. ICEmobile
  2. MOBI-183

NumberFormatException during resource download

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Final
    • Fix Version/s: 1.1 Beta
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEmobile

      Description

      When Chrome fetches an uploaded video in mediacast, the following Exception can be seen in the log:

      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      at java.lang.Integer.parseInt(Integer.java:470)
      at java.lang.Integer.parseInt(Integer.java:499)
      at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:90)
      at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:69)

      This is due to the Range: header containing the unexpected value "0-" with no endpoint to the range.

        Activity

        Hide
        Ted Goddard added a comment -

        The code requiring the fix is actually in ICEfaces ResourceRegistry.

        Show
        Ted Goddard added a comment - The code requiring the fix is actually in ICEfaces ResourceRegistry.
        Hide
        Ted Goddard added a comment -

        Works in 1.1 BETA.

        Show
        Ted Goddard added a comment - Works in 1.1 BETA.

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: