Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8064462

Error: java.lang.IllegalArgumentException: white space not allowed

XMLWordPrintable

    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      Using JRE version 1.8.0_25-b18

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Enterprise 64 bit

      A DESCRIPTION OF THE PROBLEM :
      We are getting below mentioned error while uploading any file to cloud storage (using java based upload) with java 8 update 25 with Windows 7.below is the error we are getting:

       Remaining Retries: 3Retry: white space not allowed Byte: 0 Remaining Retries: 3Retry: white space not allowed Byte: 0 Remaining Retries: 3Offset sucessfully sent: 0
      java.lang.Exception: java.lang.IllegalArgumentException: white space not allowed
      at Uploader.Upload(Uploader.java:479)
      at Uploader.access$200(Uploader.java:33)
      at Uploader$1.run(Uploader.java:285)
      Caused by: java.lang.IllegalArgumentException: white space not allowed
      at java.net.URLPermission.normalizeHeaders(Unknown Source)
      at java.net.URLPermission.init(Unknown Source)
      at java.net.URLPermission.<init>(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
      at com.nirvanix.sdk.io.internal.UploadSink$httpPartialUpload.connectToStorageNode(UploadSink.java:201)
      at com.nirvanix.sdk.io.internal.UploadSink$httpPartialUpload.writeData(UploadSink.java:250)
      at com.nirvanix.sdk.io.internal.UploadSink.writeData(UploadSink.java:122)
      at com.nirvanix.sdk.io.internal.DataTransferSession.writeDataToSink(DataTransferSession.java:305)
      at com.nirvanix.sdk.io.internal.DataTransferSession.doTransfer(DataTransferSession.java:116)
      at Uploader.Upload(Uploader.java:464)
      ... 2 more


      REGRESSION. Last worked in version 7u67

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Upload using java based upload.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Upload should work fine.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
       Remaining Retries: 3Retry: white space not allowed Byte: 0 Remaining Retries: 3Retry: white space not allowed Byte: 0 Remaining Retries: 3Offset sucessfully sent: 0
      java.lang.Exception: java.lang.IllegalArgumentException: white space not allowed
      at Uploader.Upload(Uploader.java:479)
      at Uploader.access$200(Uploader.java:33)
      at Uploader$1.run(Uploader.java:285)
      Caused by: java.lang.IllegalArgumentException: white space not allowed
      at java.net.URLPermission.normalizeHeaders(Unknown Source)
      at java.net.URLPermission.init(Unknown Source)
      at java.net.URLPermission.<init>(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
      at com.nirvanix.sdk.io.internal.UploadSink$httpPartialUpload.connectToStorageNode(UploadSink.java:201)
      at com.nirvanix.sdk.io.internal.UploadSink$httpPartialUpload.writeData(UploadSink.java:250)
      at com.nirvanix.sdk.io.internal.UploadSink.writeData(UploadSink.java:122)
      at com.nirvanix.sdk.io.internal.DataTransferSession.writeDataToSink(DataTransferSession.java:305)
      at com.nirvanix.sdk.io.internal.DataTransferSession.doTransfer(DataTransferSession.java:116)
      at Uploader.Upload(Uploader.java:464)
      ... 2 more

      REPRODUCIBILITY :
      This bug can be reproduced always.

            dcherepanov Dmitry Cherepanov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: