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

        Ted Goddard created issue -
        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.
        Steve Maryka made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        Works in 1.1 BETA.

        Show
        Ted Goddard added a comment - Works in 1.1 BETA.
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1 Beta [ 10320 ]
        Fix Version/s EE 1.0 RC1 [ 10317 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: