Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
yashwanth1
Contributor
Contributor

getting error for Box Components in Talend

Hi Team,

getting error when i use TBox List component in talend to fetch files from a folder in my box,

added boxjavalibv2-3.2.1 jar in the tlibrary component.

please check the error and job design

Error message :-

2022-06-24 14:19:25 [FATAL] (main): grniapp.box_0_1.box - tBoxList_1 null

com.box.restclientv2.exceptions.BoxRestException

at com.box.boxjavalibv2.BoxRESTClient.handleException(BoxRESTClient.java:183)

at com.box.boxjavalibv2.BoxRESTClient.execute(BoxRESTClient.java:118)

at com.box.boxjavalibv2.BoxRESTClient.execute(BoxRESTClient.java:72)

at com.box.boxjavalibv2.resourcemanagers.AbstractBoxResourceManager.getResponseAndParse(AbstractBoxResourceManager.java:118)

at com.box.boxjavalibv2.resourcemanagers.BoxItemsManagerImpl.getItem(BoxItemsManagerImpl.java:55)

at com.box.boxjavalibv2.resourcemanagers.BoxFoldersManageImpl.getFolder(BoxFoldersManageImpl.java:56)

at grniapp.box_0_1.box.tBoxList_1Process(box.java:923)

at grniapp.box_0_1.box.tBoxConnection_1Process(box.java:707)

at grniapp.box_0_1.box.tLibraryLoad_1Process(box.java:1458)

at grniapp.box_0_1.box.runJobInTOS(box.java:1927)

at grniapp.box_0_1.box.main(box.java:1715)

Caused by: java.net.ConnectException: Connection refused: connect

Labels (3)
3 Replies
Anonymous
Not applicable

It looks like it is saying that the connection is refused. This looks like the tBoxConnection details may be wrong. This means that you don't have a connection object to use with the tBoxList. The tBoxConnection will not error if it doesn't connect unfortunately.

yashwanth1
Contributor
Contributor
Author

one more issue is with box connection , few errors are popping in the code section but

when i use the tlibrary load with boxjavalibv2-3.2.1.jar , the errors are getting resolved. is there any issue with box connection component.

yashwanth1
Contributor
Contributor
Author

HI,

 

I'm getting below error when i uncheck proxy option on tboxconnection component.

 

Exception in component tBoxList_1 (box)

com.box.restclientv2.exceptions.BoxRestException

at com.box.boxjavalibv2.BoxRESTClient.handleException(BoxRESTClient.java:183)

at com.box.boxjavalibv2.BoxRESTClient.execute(BoxRESTClient.java:118)

at com.box.boxjavalibv2.BoxRESTClient.execute(BoxRESTClient.java:72)

at com.box.boxjavalibv2.resourcemanagers.AbstractBoxResourceManager.getResponseAndParse(AbstractBoxResourceManager.java:118)

at com.box.boxjavalibv2.resourcemanagers.BoxItemsManagerImpl.getItem(BoxItemsManagerImpl.java:55)

at com.box.boxjavalibv2.resourcemanagers.BoxFoldersManageImpl.getFolder(BoxFoldersManageImpl.java:56)

at grniapp.box_0_1.box.tBoxList_1Process(box.java:914)

at grniapp.box_0_1.box.tBoxConnection_1Process(box.java:698)

at grniapp.box_0_1.box.tLibraryLoad_1Process(box.java:1449)

at grniapp.box_0_1.box.runJobInTOS(box.java:1918)

at grniapp.box_0_1.box.main(box.java:1706)

Caused by: java.net.UnknownHostException: api.box.com

at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)

at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)

at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)

at java.net.InetAddress.getAllByName0(InetAddress.java:1277)

at java.net.InetAddress.getAllByName(InetAddress.java:1193)