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

Elipse: Failed to launch SAM during debug #236

Open
gvallangca opened this issue Aug 5, 2021 · 4 comments
Open

Elipse: Failed to launch SAM during debug #236

gvallangca opened this issue Aug 5, 2021 · 4 comments

Comments

@gvallangca
Copy link

To whom it may concern,

I'm running AWS SAM local in Eclipse(Windows 10) through debug mode and it's always throwing a pop-up exception. Please see the captured stack trace below:

com.amazonaws.eclipse.core.exceptions.AwsActionException: Cannot invoke "org.eclipse.ui.console.IOConsole.newOutputStream()" because "samLocalConsole" is null
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:159)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:862)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:720)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1029)
at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1243)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.console.IOConsole.newOutputStream()" because "samLocalConsole" is null
at com.amazonaws.eclipse.lambda.launching.SamLocalDelegate.launch(SamLocalDelegate.java:116)
... 5 more

@gvallangca
Copy link
Author

I had used 3 different versions(2019, 2020, 2021) of Eclipse and all of them throws the same error as mentioned above.

@arambhat
Copy link

arambhat commented Jan 18, 2022

I'm having the same issue when trying to spinoff a aws ec2 instance from a eclipse java project using aws sdk. Does anyone have a solution for this issue?

image

@steowens
Copy link

I have the same issue.

@tgpadua
Copy link

tgpadua commented Oct 7, 2022

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants