<?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: APPCRASH after running a macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865278#M302686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you are running the batch file.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 02:34:25 GMT</pubDate>
    <dc:creator>vardhancse</dc:creator>
    <dc:date>2015-07-02T02:34:25Z</dc:date>
    <item>
      <title>APPCRASH after running a macro</title>
      <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865277#M302685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a batch file that opens a QlikView application, that has a series of instructions happening 'On Open', such as exporting a pivot chart and filtering data in a certain way. The last triggered event of the series, is quitting the application via a macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub QuitApplication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set QvDoc = ActiveDocument&lt;/P&gt;&lt;P&gt;QvDoc.GetApplication.Quit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The end result is as expected (charts exported etc.) BUT QlikView seems to crash 8 times out of 10..&lt;/P&gt;&lt;P&gt;My QV version is 11.20.12664.0&lt;/P&gt;&lt;P&gt;See below printscreen of the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AppCrash.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91569_AppCrash.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AppCrash2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/91570_AppCrash2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 23:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865277#M302685</guid>
      <dc:creator />
      <dc:date>2015-07-01T23:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: APPCRASH after running a macro</title>
      <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865278#M302686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How you are running the batch file.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 02:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865278#M302686</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-07-02T02:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: APPCRASH after running a macro</title>
      <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865279#M302687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set up a task on the server that runs the batch file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 02:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865279#M302687</guid>
      <dc:creator />
      <dc:date>2015-07-02T02:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: APPCRASH after running a macro</title>
      <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865280#M302688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are reloading the dashboard, and there are any joins in the table once check that there is a common field between the table or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we write join in script and there is no common field then also our app will be crashed/unresponsive&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 03:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865280#M302688</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2015-07-02T03:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: APPCRASH after running a macro</title>
      <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865281#M302689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thanks for the feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't believe there is a problem with the joins. The script runs fine, it creates the right charts and associates fields appropriately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I wanted to leave QlikView open, I don't think I'd have an issue. It seems to be the close file and exit application instructions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 04:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865281#M302689</guid>
      <dc:creator />
      <dc:date>2015-07-02T04:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: APPCRASH after running a macro</title>
      <link>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865282#M302690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe some routines aren't ended when the next statement will be executed. I would try to put some WaitForIdle or Sleep statements between the routines. Also helpful could be to use a logging for the routines to see when which routines hangs and when it happens (set timestamps) and which variables has which value, see here what is meant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/599084"&gt;Re: Error in a macro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 04:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/APPCRASH-after-running-a-macro/m-p/865282#M302690</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-02T04:46:22Z</dc:date>
    </item>
  </channel>
</rss>

