<?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: Java error when building job &amp; extracting zip file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224175#M16993</link>
    <description>check your project description under file-&amp;gt;properties. If it is blank, add something to it there. 
&lt;BR /&gt;Not sure if this will fix it for you, but its worth a try 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 09 Dec 2013 18:58:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-09T18:58:56Z</dc:date>
    <item>
      <title>Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224174#M16992</link>
      <description>Hi, when I build two of my three jobs I get this error, but only when I select the "Extract the zip file" check box: 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at org.talend.repository.ui.wizards.exportjob.JobScriptsExportWizardPage.finish(JobScriptsExportWizardPage.java:1362) 
&lt;BR /&gt; at org.talend.repository.ui.wizards.exportjob.JavaJobScriptsExportWSWizardPage.finish(JavaJobScriptsExportWSWizardPage.java:1613) 
&lt;BR /&gt; at org.talend.repository.ui.wizards.exportjob.JobScriptsExportWizard.performFinish(JobScriptsExportWizard.java:124) 
&lt;BR /&gt; at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811) 
&lt;BR /&gt; at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) 
&lt;BR /&gt; at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) 
&lt;BR /&gt; at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) 
&lt;BR /&gt; at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) 
&lt;BR /&gt; at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) 
&lt;BR /&gt; at org.eclipse.jface.window.Window.open(Window.java:801) 
&lt;BR /&gt; at org.talend.repository.ui.actions.ExportJobScriptAction.doRun(ExportJobScriptAction.java:117) 
&lt;BR /&gt; at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:607) 
&lt;BR /&gt; at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:93) 
&lt;BR /&gt; at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:237) 
&lt;BR /&gt; at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3199) 
&lt;BR /&gt; at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:1975) 
&lt;BR /&gt; at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:616) 
&lt;BR /&gt; at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 
&lt;BR /&gt; at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) 
&lt;BR /&gt; at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) 
&lt;BR /&gt; at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) 
&lt;BR /&gt; at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622) 
&lt;BR /&gt; at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277) 
&lt;BR /&gt; at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) 
&lt;BR /&gt; at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) 
&lt;BR /&gt; at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) 
&lt;BR /&gt; at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) 
&lt;BR /&gt; at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
&lt;BR /&gt; at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) 
&lt;BR /&gt; at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
&lt;BR /&gt; at org.talend.rcp.intro.Application.start(Application.java:141) 
&lt;BR /&gt; at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 
&lt;BR /&gt; at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 
&lt;BR /&gt; at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 
&lt;BR /&gt; at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) 
&lt;BR /&gt; at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597) 
&lt;BR /&gt; at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) 
&lt;BR /&gt; at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) 
&lt;BR /&gt; at org.eclipse.equinox.launcher.Main.run(Main.java:1407) 
&lt;BR /&gt;Seems that maybe there's something different about 2 of my jobs? 
&lt;BR /&gt;The exported jobs seem to work fine for me, but they fail to export if the Extract file box is checked, so I need to export the zip, extract it, and then run it 
&lt;BR /&gt;Thank you, any advice would be much appreciated ? especially if someone has run into this before 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 09 Dec 2013 18:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224174#M16992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224175#M16993</link>
      <description>check your project description under file-&amp;gt;properties. If it is blank, add something to it there. 
&lt;BR /&gt;Not sure if this will fix it for you, but its worth a try 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 09 Dec 2013 18:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224175#M16993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T18:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224176#M16994</link>
      <description>Hi, it was empty, I put something in there, but as mentioned one of the jobs was previously working (now is not though) 
&lt;BR /&gt;I'm not sure if it's related but the job builder also seems to think that once I've save a job once to a folder that the "Target file already exists.", even once I have moved or deleted the original file 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 09 Dec 2013 19:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224176#M16994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T19:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224177#M16995</link>
      <description>Edit: It looks like there is no path by default (or an unknown default path) in the "To archive file:" field, so perhaps it is trying to save the Job in some default location that I'm not aware of until I change the path. 
&lt;BR /&gt;When I click Browse it remembers my last path and I can click Save which then populates the path in the "To archive file:" field. 
&lt;BR /&gt;And thus, I am now able to export an extracted zip file, with no Java error 
&lt;BR /&gt;However, I can't actually run the resulting sh file, I type this into terminal: 
&lt;BR /&gt; 
&lt;B&gt;/Users/me/Talend/Jobs/JobName/JobName_run.sh&lt;/B&gt; 
&lt;BR /&gt;I get: 
&lt;BR /&gt; 
&lt;B&gt;-bash: /Pat/To/Jobs/JobName/JobName_run.sh: Permission denied&lt;/B&gt; 
&lt;BR /&gt;I can run the Job successfully only if I build the file as a zip, extract it manually and then run the file like this: 
&lt;BR /&gt; 
&lt;B&gt;/Users/me/Talend/Jobs/JobName_1.0/JobName/JobName_run.sh&lt;/B&gt; 
&lt;BR /&gt;What do I need to do to be able to run the automatically unzipped Job? Thanks 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 09 Dec 2013 19:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224177#M16995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T19:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224178#M16996</link>
      <description>Finally,
&lt;BR /&gt;I notice that a 
&lt;B&gt;jobInfo.properties&lt;/B&gt; file, as well as a 
&lt;B&gt;lib&lt;/B&gt; folder gets created and placed at the same folder level as the exported Job folder itself; the file (unsure about the folder, but I assume so) gets overwritten with only the most recent Job information if there is more than one Job folder in the same folder
&lt;BR /&gt;I don't think this is the cause for the permission denied error, because I get it for both Jobs</description>
      <pubDate>Mon, 09 Dec 2013 19:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224178#M16996</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T19:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224179#M16997</link>
      <description>you may need to mark the .sh script as executable (chmod +x run_jobname.sh) before you can run it directly like you have above. If you dont want to take this additional step after exporting the job, invoke bash and then pass the script as an argument: 
&lt;BR /&gt; 
&lt;BR /&gt;bash /path/to/job/run_jobname.sh</description>
      <pubDate>Mon, 09 Dec 2013 21:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224179#M16997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T21:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Java error when building job &amp; extracting zip file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224180#M16998</link>
      <description>Thanks that did it 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 09 Dec 2013 22:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Java-error-when-building-job-extracting-zip-file/m-p/2224180#M16998</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T22:37:25Z</dc:date>
    </item>
  </channel>
</rss>

