Skip to main content
Jun 28, 2020 9:20 AM UTC
Solved

import file error

Hello everyone, when I import   AllEntities.twx  in composer ,error occurs. The tip is that  Error importing: error, Import Failed: Unable To Convert From org.json.JSONObject to NUMBER.   

Awaiting for your reply, thanks very much.

Regards

Sponse

 
Error importing: error, Import Failed: Unable To Convert From org.json.JSONObject to NUMBER
 
 

 

CharlesJiAnswer
Jul 6, 2020 11:06 AM UTC

Hi @sponse, I'm not sure what could be the reason, are there any remote things that to be exported? Can you try the other entities excluding the specific things mentioned in that log?

6 replies

sponseAuthor
Jul 1, 2020 1:48 AM UTC
application logs : *** Unable to transfer properties for thing instance [a] Internal error: java.lang.Exception: Import Failed: Unable To Convert From org.json.JSONObject to NUMBER Internal error: java.lang.Exception: Invalid Base Type for field value [THINGCODE] [message: Import Failed: Unable To Convert From com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl to NUMBER] nal error: java.lang.Exception: Import Failed: Unable To Convert From com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl to NUMBER *** Unable to transfer properties for thing instance [area_E] ernal error: java.lang.Exception: Import Failed: Validation Failure: Thing E district Had An Invalid Local Property Binding To Thing : [area_E] on property E6NodeSoilTemperature Internal error: java.lang.Exception: Import Failed: Validation Failure: Thing b Had An Invalid Local Property Binding To Thing : [nursery_garden] on property NH4plus al error: java.lang.Exception: Import Failed: Validation Failure: Thing a Had An Invalid Local Property Binding To Thing : [weatherStation] on property NH4plus please give some advice, thanks!
Jul 1, 2020 2:09 AM UTC

Hi @sponse, are you trying to export from one ThingWorx to another?

What is the version(s)?

 

I guess you can check this one:

 Entities fail to import in ThingWorx with the error "Unable to Convert from com.sun.org.apache.xerces.internal.dom.DeferredElmentSimpl to PASSWORD"

sponseAuthor
Jul 1, 2020 3:35 AM UTC
Hi, CharlesJi (Marble) , I try to export the file at the same version thingworx. I do somenthing according to the article . But it still has the same error. Thank you very much.
Jul 10, 2020 2:50 PM UTC

Hi @sponse.

 

If one of the previous responses answered your question, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Thank you for participating in our community!

 

Regards.

 

--Sharon