vimeo / vimeo/vimeo-networking-java
error during compiling example app. Name empty for: VALUE_PARAMETER
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 128
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
Summary
I can't compile example application
Reproduction Steps
open project in android studio
modify CLIENT_ID & CLIENT_SECRET to actual values from created vimeo app (on web)
select "example" build target
run
Expected Behavior
example app runs
Actual Behavior
I'm getting this error:
Caused by: org.gradle.api.GradleException: Name empty for: VALUE_PARAMETER
at com.vimeo.modelgenerator.extensions.PsiExtensionsKt.getValidateName(PsiExtensions.kt:20)
at com.vimeo.modelgenerator.ModelFactory.buildClass(ModelFactory.kt:390)
at com.vimeo.modelgenerator.ModelFactory.buildType(ModelFactory.kt:80)
at com.vimeo.modelgenerator.ModelFactory.buildModel(ModelFactory.kt:59)
at com.vimeo.modelgenerator.tasks.GenerateModelsTask.execute(GenerateModelsTask.kt:106)
Any idea why its happening?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by opening the project in Android Studio, setting CLIENT_ID and CLIENT_SECRET, and running the example target. Start with PsiExtensions.kt:20 and the calls through ModelFactory.kt:390 and GenerateModelsTask.kt:106. Done means the example application compiles and runs without the empty VALUE_PARAMETER error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100