<?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: Unresolved Compilation Problems - no other information in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374175#M136806</link>
    <description>Hi Steve
&lt;BR /&gt;If you got a compilation error, open the Code tab and then you will see which line has the error and the prompt error message.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Fri, 18 May 2012 05:11:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-18T05:11:55Z</dc:date>
    <item>
      <title>Unresolved Compilation Problems - no other information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374174#M136805</link>
      <description>I'm trying to build a tMap component that maps 4 incoming values: accountID (String), deviceID (String), timestamp (Long), and statusCode (int) into a single output value, pk (String), as follows: 
&lt;BR /&gt;pk = accountID_deviceID_dateString_statusCode 
&lt;BR /&gt;where accountID and deviceID have been padded with spaces to 32 characters, and dateString converts timestamp from a long to a date string of the form YYYY-MM-DD HH:MM 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S 
&lt;BR /&gt;To do this, I'm using the following expression: 
&lt;BR /&gt;row1.accountID+StringHandling.SPACE(32 -StringHandling.LEN(StringHandling.TRIM(row1.accountID))) 
&lt;BR /&gt;+ "_" + 
&lt;BR /&gt;row1.deviceID+StringHandling.SPACE(32 -StringHandling.LEN(StringHandling.TRIM(row1.deviceID))) 
&lt;BR /&gt;+ "_" + 
&lt;BR /&gt;TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",TalendDate.parseTimestamp(row1.timestamp)) 
&lt;BR /&gt;+ "_" + 
&lt;BR /&gt;DataOperation.DTX((int)row1.statusCode) 
&lt;BR /&gt;Where TalendDate.parseTimestamp is a method I added to TalendDate: 
&lt;BR /&gt; public static Timestamp parseTimestamp(long arg) { 
&lt;BR /&gt; Timestamp timestamp = new java.sql.Timestamp(new Long(arg)*1000); 
&lt;BR /&gt; return timestamp; 
&lt;BR /&gt; } 
&lt;BR /&gt;The thing is, every line in the above expression works when run independently. However, when I put it together as above, I get an "unresolved compilation error" with no additional information (no java error indicated) 
&lt;BR /&gt;Any suggestions? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 18 May 2012 04:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374174#M136805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-18T04:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unresolved Compilation Problems - no other information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374175#M136806</link>
      <description>Hi Steve
&lt;BR /&gt;If you got a compilation error, open the Code tab and then you will see which line has the error and the prompt error message.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 18 May 2012 05:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374175#M136806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-18T05:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unresolved Compilation Problems - no other information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374176#M136807</link>
      <description>Hi Shong, 
&lt;BR /&gt;Thanks for the quick response. I'm not seeing any hard errors in the code tab - see attached screenshot. Just some generic type and static method warnings. I have also atttached shots of the tMap_1 screen and the expression builder screen. The latter shows the compilation error that results after hitting the "Test!" button. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 18 May 2012 12:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374176#M136807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-18T12:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unresolved Compilation Problems - no other information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374177#M136808</link>
      <description>Sorry, here's the expressionbuilder and tMap screenshots</description>
      <pubDate>Fri, 18 May 2012 12:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374177#M136808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-18T12:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unresolved Compilation Problems - no other information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374178#M136809</link>
      <description>It's probably not a real error. I get this lots of times when testing expressions. It's probably a bug in expression builder. So long as the job runs ignore it.</description>
      <pubDate>Fri, 18 May 2012 13:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374178#M136809</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-05-18T13:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unresolved Compilation Problems - no other information</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374179#M136810</link>
      <description>Thanks janhess, turns out you're right. Despite the "unresolved compilation problems" error using "Test!," the code runs fine when executed. Now I know to just ignore that error unless there are actual errors indicated in the code.
&lt;BR /&gt;Steve</description>
      <pubDate>Sun, 20 May 2012 16:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Unresolved-Compilation-Problems-no-other-information/m-p/2374179#M136810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-20T16:24:42Z</dc:date>
    </item>
  </channel>
</rss>

