Skip to main content
1-Visitor
June 28, 2020
Solved

import file error

  • June 28, 2020
  • 2 replies
  • 2585 views

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
 
 

 

Best answer by CharlesJi

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?

2 replies

sponse1-VisitorAuthor
1-Visitor
July 1, 2020
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!
16-Pearl
July 1, 2020

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"

sponse1-VisitorAuthor
1-Visitor
July 1, 2020
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.
Community Manager
July 10, 2020

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