vimeo / vimeo/vimeo-networking-java

error during compiling example app. Name empty for: VALUE_PARAMETER

Open
#572 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.