title: Error in uploading lambda"Unable to export project to jar"
body: <p>I am trying to use the Eclipse Java Toolkit. I followed the instructions on the AWS website (<a href="https://docs.aws.amazon.com/toolkit-for-eclipse/v1/user-guide/getting-started.html" rel="nofollow noreferrer">User Guide</a>) to install Eclipse and the Toolkit.</p>
  
  <p>I was following <a href="https://www.baeldung.com/java-aws-lambda" rel="nofollow noreferrer">tutorial</a>.</p>
  
  <p>When I am trying to upload lambda then I keep getting the following error.</p>
  
  <p>Stack trace:</p>
  
  <pre><code>Message: Failed to upload project to Lambda
  Exception Stack Trace: 
  com.amazonaws.eclipse.core.exceptions.AwsActionException
  at com.amazonaws.eclipse.lambda.upload.wizard.UploadFunctionWizard.doFinish(UploadFunctionWizard.java:115)
  at com.amazonaws.eclipse.core.plugin.AbstractAwsJobWizard$1.run(AbstractAwsJobWizard.java:35)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
  Caused by: java.lang.NullPointerException
  at com.amazonaws.eclipse.lambda.upload.wizard.util.UploadFunctionUtil.performFunctionUpload(UploadFunctionUtil.java:82)
  at com.amazonaws.eclipse.lambda.upload.wizard.UploadFunctionWizard.doFinish(UploadFunctionWizard.java:111)
  ... 2 more
  </code></pre>