0 Replies Latest reply on Jul 9, 2014 3:05 AM by Rajesh David

    BLOB(pdf) download issue in Apex

    Rajesh David

      Hi,

       

      In Apex Application We are not able to download blob(pdf file) which has % character in the filename.

      In Application(Apex) we are getting below error

      REST DATA SERVICES

       

      500 - Internal Server Error

       

      In Listener we are getting below error


      Oracle REST Data Services version : 2.0.8.163.10.40

      Oracle REST Data Services server info: Grizzly/1.9.49

       

      Jul 3, 2014 2:24:02 AM com.sun.grizzly.Controller logVersion

      INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 7/3/14 2:24 AM

      Jul 3, 2014 2:24:02 AM oracle.dbtools.standalone.Standalone execute

      INFO: http://localhost:7777/apex/ started.

      Jul 3, 2014 2:24:44 AM oracle.dbtools.rt.web.WebErrorResponse internalError

      SEVERE: contains illegal character for hexBinary: _A

      java.lang.IllegalArgumentException: contains illegal character for hexBinary: _A

       

        at javax.xml.bind.DatatypeConverterImpl.parseHexBinary(Unknown Source)

        at javax.xml.bind.DatatypeConverter.parseHexBinary(Unknown Source)

        at oracle.dbtools.rt.web.PercentEncoding.decodeOctet(PercentEncoding.jav

      a:134)

        at oracle.dbtools.rt.web.PercentEncoding.decode(PercentEncoding.java:89)

       

        at oracle.dbtools.rt.web.QuotedStringValue.decodeText(QuotedStringValue.

      java:85)

        at oracle.dbtools.rt.web.QuotedStringValue.normalize(QuotedStringValue.j

      ava:95)

        at oracle.dbtools.rt.web.QuotedStringValue.<init>(QuotedStringValue.java

      :20)

        at oracle.dbtools.rt.web.QuotedStringValue.decode(QuotedStringValue.java

      :41)

        at oracle.dbtools.rt.web.QuotedStringScanner$TokenIterator.quotedToken(Q

      uotedStringScanner.java:158)



      Thanks in advance

      Rajesh