<?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: [XCB] - XInitThreads issue with Runtime Java Linux in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440685#M1351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very good explanation, thank you Sachin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are using the SWT-AWT bridge? They do have different threading models, which could be related to the problem. JMap is pure Swing/AWT. Are you using Java 8?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't make any explicit calls to XInitThreads or code any interaction with it. We have certainly tested tabbed environments on Linux before and no one has experienced this kind of issue. We have not tested the mix of SWT/AWT in tabbed applications, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could make an official Technical Support call for this, or maybe you have already? That way it could get officially looked at in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish I could be of more help here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 16:46:45 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2015-02-23T16:46:45Z</dc:date>
    <item>
      <title>[XCB] - XInitThreads issue with Runtime Java Linux</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440682#M1348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are developing a component which has couple of tabs and JMap is inside one of those tabs. While switching between tabs, the application crashed when click on the tab having JMap with the follow exception on Linux &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;[xcb] Unknown request in queue while dequeuing&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;[xcb] Aborting, sorry about that.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;java: xcb_io.c:178: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;Can you someone confirm that XInitThreads has been called correctly within the ArcGIS Runtime code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;Enviroment Information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;OS - RHEL 6.4 Workstation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;Graphics Driver - Nvidia&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;&lt;A href="https://community.esri.com/migrated-users/3159"&gt;Eric Bader&lt;/A&gt;‌ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;&lt;A href="https://community.esri.com/migrated-users/23266"&gt;Vijay Gandhi&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: navy; font-size: 10pt;"&gt;&lt;A href="https://community.esri.com/migrated-users/25068"&gt;Elise Acheson&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 11:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440682#M1348</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2015-02-19T11:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: [XCB] - XInitThreads issue with Runtime Java Linux</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440683#M1349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sachin, can I assume this is a 64-bit OS?&lt;/P&gt;&lt;P&gt;Does it crash immediately, or does it happen after a series of tab clicks back and forth?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a simple Swing app with JTabbedPane and 3 tabs. 2 are empty and one with a JMap + a tiled basemap. Java 7, RHEL 6.2 32-bit. This app works fine, clicking the tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you provide a bit more info about what is going on in the JMap? What do you have running in the other tabs, or just the one before you hit the JMap tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 20:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440683#M1349</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-02-19T20:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: [XCB] - XInitThreads issue with Runtime Java Linux</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440684#M1350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its a 64bit OS RHEL 6.4 Workstation. It doesn't crash immediately but after a series of tab clicks sometime around 20-30 clicks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application is SWT (RCP based) and only JMap Tab has a Swing component. In the JMap we have arcgisonline basemap and we add couple of shapefiles. It happens even without adding shapefiles. There is nothing running in other tabs at the moment. Let me know if I can provide any other details that could be helpful in recreating this problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 07:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440684#M1350</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2015-02-20T07:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: [XCB] - XInitThreads issue with Runtime Java Linux</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440685#M1351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very good explanation, thank you Sachin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are using the SWT-AWT bridge? They do have different threading models, which could be related to the problem. JMap is pure Swing/AWT. Are you using Java 8?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't make any explicit calls to XInitThreads or code any interaction with it. We have certainly tested tabbed environments on Linux before and no one has experienced this kind of issue. We have not tested the mix of SWT/AWT in tabbed applications, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could make an official Technical Support call for this, or maybe you have already? That way it could get officially looked at in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish I could be of more help here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 16:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/xcb-xinitthreads-issue-with-runtime-java-linux/m-p/440685#M1351</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-02-23T16:46:45Z</dc:date>
    </item>
  </channel>
</rss>

