Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Unable to launch SAM local from eclipse on CENTOS7 #142

Open
cpandey05 opened this issue Apr 11, 2019 · 1 comment
Open

Unable to launch SAM local from eclipse on CENTOS7 #142

cpandey05 opened this issue Apr 11, 2019 · 1 comment
Labels
bug We can reproduce the issue and confirmed it is a bug.

Comments

@cpandey05
Copy link

I installed AWS plugin for eclipse CENTOS 7 with SAM CLI, version 0.14.1. I am trying to debug a sample app from https://github.com/aws-samples/aws-sam-java-rest , but the debug launch fails with following error (This may be related to #104 but that is for other environment and was solved by setting some variables, so opening a new one here)

eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_131
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
com.amazonaws.eclipse.core.exceptions.AwsActionException
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:159)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.buildSamLocalCommandLine(SamLocalDelegate.java:243)
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:105)
... 5 more

@zhangzhx zhangzhx added the bug We can reproduce the issue and confirmed it is a bug. label Apr 24, 2019
@zhangzhx
Copy link
Contributor

Thanks for reporting this issue. It seems to be Eclipse Debugger has not been successfully launched.

By the way, we are deprioritizing Eclipse plugin development and focusing on JetBrains IDEs support. Here is the AWS toolkit for JetBrains. We'd like you to give it a try and let us know how you feel. It will provide better support and faster bug fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants