Skip to content

A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction #1968

@sam43

Description

@sam43

I was migrating from groovy to dsl (build.gradle to build.gradle.kts) with KSP2
kotlin = "2.0.0"
kotlin-ksp = "2.0.0-1.0.22"

Already enabled beta: ksp.useKSP2=true

Still getting following error message and couldn't get the problem. I saw similar issue was created but no satisfactory answer.

Execution failed for task ':app:kspDevDebugKotlin'.
> A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction
   > java.lang.NullPointerException (no error message)

If anyone has any suggestion for me, how to get rid of or fix it?

Relevant issues: #1929 #1941 etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions