Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Spoon Api checking processor throws NullpointerException #580

@sureshtheeda

Description

@sureshtheeda

I am getting NullPointerException at Launcher.prettyprint during Api checking processor.

Exception in thread "main" spoon.SpoonException: java.lang.NullPointerException
at spoon.Launcher.prettyprint(Launcher.java:777)
at spoon.Launcher.run(Launcher.java:710)
at com.cgi.pojogenerator.spoon.transformation.apichecking.ApiProcessorLauncher.main(ApiProcessorLauncher.java:17)
Caused by: java.lang.NullPointerException
at spoon.reflect.visitor.OperatorHelper.getOperatorText(OperatorHelper.java:59)
at spoon.reflect.visitor.DefaultJavaPrettyPrinter.visitCtBinaryOperator(DefaultJavaPrettyPrinter.java:507)
at spoon.support.reflect.code.CtBinaryOperatorImpl.accept(CtBinaryOperatorImpl.java:34)
at spoon.reflect.visitor.DefaultJavaPrettyPrinter.scan(DefaultJavaPrettyPrinter.java:380)
at spoon.reflect.visitor.DefaultJavaPrettyPrinter.lambda$visitCtInvocation$10(DefaultJavaPrettyPrinter.java:1333)
at spoon.reflect.visitor.ElementPrinterHelper.printList(ElementPrinterHelper.java:537)
at spoon.reflect.visitor.DefaultJavaPrettyPrinter.visitCtInvocation(DefaultJavaPrettyPrinter.java:1331)
at spoon.support.reflect.code.CtInvocationImpl.accept(CtInvocationImpl.java:46)
at spoon.reflect.visitor.DefaultJavaPrettyPrinter.scan(DefaultJavaPrettyPrinter.java:380)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions