Skip to content

Failed to deploy - FileNotFoundException #3275

@adam-hurwitz

Description

@adam-hurwitz

Expected

JAR deployment to AppEngine instance for Kotlin app.

Actual

During deployment to my AppEngine instance I am receiving the following FileNotFoundException. This error is not logical because the same built JAR runs the app successfully via IntelliJ prior to the deploy attempt.

Here is the Kotlin app file hierarchy which runs as expected both as an IntelliJ Application and JAR configuration. The "missing" directory/file is firebase/carpecoin-service-firebase-adminsdk-cyl9p-4b18763dbc.json which is nested under the main directory. The hierarchy was not altered after creating and building my JAR.

App Hiearchy
screen shot 2018-05-15 at 11 06 43 pm

Build Config
screen shot 2018-05-15 at 11 35 24 pm

Error

	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at Coordinator.main(Coordinator.kt:12)`
`Failed to deploy '[2018-05-15 23:00:21] carpe.coin_main.jar. Project: carpecoin-service. Version: auto': Deployment failed with exit code: 1```

## IntelliJ Info
IntelliJ IDEA 2018.1.3 (Community Edition)
Build #IC-181.4892.42, built on May 7, 2018
JRE: 1.8.0_152-release-1136-b38 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.10.5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions