Input is not a hex encoded string

Use this board to ask questions or have discussions with other Profound.js users.
CBufacchi
New User
Posts: 1
Joined: Fri Sep 20, 2019 9:38 am
First Name: Christian
Last Name: Bufacchi
Company Name: IVY GROUP
Phone: 0351012534
Address 1: 1B RUE MAURICE HOLLANDE
City: REIMS
Zip / Postal Code: 51100
Country: France
Contact:

Input is not a hex encoded string

Post by CBufacchi »

Hello,

We are creating a webservice for extracting data from our iSeries server. While testing, we discovered that we get sometimes an error message related to hexToBin conversion when pjs.fetchRelative is called. After investigations we found that the problem occurs only with records having fields with decimal values between 0 and 1-. After changing the value to greater than 0 or lower than 1-, the problem does not occur anymore.
Any idea about how to fix this issue ?

Best regards.
Christian.

Profound.js Error: Input is not a hex encoded string.
at Object.profound.utils.hexToBin (/profoundjs/node_modules/profoundjs/utils/bin.jse:5:11)
at fetchPrimitive (/profoundjs/node_modules/profoundjs/db/drivers/IBMi/sql-driver.jse:971:31)
at Object.profound.fetchRelative (/profoundjs/node_modules/profoundjs/db/drivers/IBMi/sql-driver.jse:728:15)
at Object.pjs.(anonymous function) [as fetchRelative] (/profoundjs/node_modules/profoundjs/api/pjs.jse:21:30)
at Object.extractWorldWriterData (/profoundjs/modules/NakanJs/extractWorldWriterData.js:92:17)
at Object.profound.call (/profoundjs/node_modules/profoundjs/api/call.jse:140:25)
at /profoundjs/node_modules/profoundjs/api/express.jse:20:20
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Input is not a hex encoded string

Post by Scott Klement »

This shouldn't happen. Please report this as a bug to Profound Logic support by e-mailing support@profoundlogic.com
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests