<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Box connection issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222347#M15994</link>
    <description>&lt;P&gt;Hi Meghana,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please advise why you are looking to connect Box using java custom code? Talend has already got a Box Connection component. Could you please try to use this component for your use case?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0uW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152744i87D772EE102F39A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0uW.png" alt="0683p000009M0uW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 10:25:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-11-08T10:25:57Z</dc:date>
    <item>
      <title>Box connection issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222344#M15991</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to connect with box.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;com.box.sdk.BoxConfig boxConfig = new com.box.sdk.BoxConfig(clientId, clientSecret, enterpriseId, publicKeyId, privateKey, passphrase);&lt;BR /&gt;com.box.sdk.BoxDeveloperEditionAPIConnection client = com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(boxConfig);&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have used this code in tJava component. But, I am getting below error. Can anyone help me out.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;Exception in component tJava_2 (BoxConnection)&lt;/P&gt; 
&lt;P class="p1"&gt;java.lang.NullPointerException&lt;/P&gt; 
&lt;P class="p1"&gt;at com.box.sdk.BoxDeveloperEditionAPIConnection.decryptPrivateKey(BoxDeveloperEditionAPIConnection.java:507)&lt;/P&gt; 
&lt;P class="p1"&gt;at com.box.sdk.BoxDeveloperEditionAPIConnection.constructJWTAssertion(BoxDeveloperEditionAPIConnection.java:450)&lt;/P&gt; 
&lt;P class="p1"&gt;at com.box.sdk.BoxDeveloperEditionAPIConnection.constructJWTAssertion(BoxDeveloperEditionAPIConnection.java:431)&lt;/P&gt; 
&lt;P class="p1"&gt;at com.box.sdk.BoxDeveloperEditionAPIConnection.authenticate(BoxDeveloperEditionAPIConnection.java:320)&lt;/P&gt; 
&lt;P class="p1"&gt;at com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(BoxDeveloperEditionAPIConnection.java:179)&lt;/P&gt; 
&lt;P class="p1"&gt;at com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(BoxDeveloperEditionAPIConnection.java:211)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tJava_2Process(BoxConnection.java:521)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_7Process(BoxConnection.java:1720)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_6Process(BoxConnection.java:1556)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_5Process(BoxConnection.java:1392)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_4Process(BoxConnection.java:1228)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_3Process(BoxConnection.java:1064)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_2Process(BoxConnection.java:900)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.tLibraryLoad_1Process(BoxConnection.java:736)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.runJobInTOS(BoxConnection.java:1976)&lt;/P&gt; 
&lt;P class="p1"&gt;at reports.boxconnection_0_1.BoxConnection.main(BoxConnection.java:1802)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222344#M15991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Box connection issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222345#M15992</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Would you mind posting your whole job design screenshots on forum which will be helpful for us to address your issue?&lt;/P&gt; 
&lt;P&gt;Talend provides users with&amp;nbsp; &lt;A title="TalendHelpCenter:Box components" href="https://help.talend.com/reader/BQcNaziZh7BFNuRJ~zM7Kg/ho0QWM3W_fn19J_2V~Fxjw" target="_self" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:Box components.&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;What special needs you have that requires custom code in tJava component?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 06 Nov 2018 09:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222345#M15992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-06T09:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Box connection issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222346#M15993</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;com.box.sdk.BoxConfig boxConfig = &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;new&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; com.box.sdk.BoxConfig(&lt;/SPAN&gt;"clientID"&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;"clientSecret"&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;"enterpriseID"&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;"publicKeyID"&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;"privateKey"&lt;SPAN class="s1"&gt;,&lt;/SPAN&gt;"passphrase"&lt;SPAN class="s1"&gt;); &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p2"&gt;com.box.sdk.BoxDeveloperEditionAPIConnection client = com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(boxConfig);&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p2"&gt;This is the code I have in my tJavaComponent. Trying to connect with box using this code.&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p2"&gt;Thanks,&lt;/P&gt; 
&lt;P class="p2"&gt;Meghana&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 06:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222346#M15993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-08T06:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Box connection issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222347#M15994</link>
      <description>&lt;P&gt;Hi Meghana,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Could you please advise why you are looking to connect Box using java custom code? Talend has already got a Box Connection component. Could you please try to use this component for your use case?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0uW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152744i87D772EE102F39A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0uW.png" alt="0683p000009M0uW.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 10:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222347#M15994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-08T10:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Box connection issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222348#M15995</link>
      <description>&lt;P&gt;So, if I use this, What should I put under refresh token.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got only developer access token.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 10:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222348#M15995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-08T10:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Box connection issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222349#M15996</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please check with your Box Admin about the token? From the internet, below link has the details but I have not tried it myself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.searchtechnologies.com/index.php/Box_Access_Refresh_Tokens_(Aspire_2" target="_blank" rel="nofollow noopener noreferrer"&gt;https://wiki.searchtechnologies.com/index.php/Box_Access_Refresh_Tokens_(Aspire_2&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Warm Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 10:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Box-connection-issue/m-p/2222349#M15996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-08T10:59:18Z</dc:date>
    </item>
  </channel>
</rss>

