Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lint errors: LINE_UNDEFINED eclipse jdt formatter(java.lang.reflect.InvocationTargetException) java #2862

@sugmanue

Description

@sugmanue

I'm working some changes for smithy-java, and using spotless 8.2.1. Lately I have seen several errors like these after making some changes. Somehow the build gets broken after that and I cannot get out of that state. The build succeeds if I stash my changes. Any idea what can be the cause and how to fix it?

Update Downgraded to 8.1.0 and the build is back to normal

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:spotlessJavaCheck'.
> There were 214 lint error(s), they must be fixed or suppressed.
  src/jmh/java/software/amazon/smithy/java/core/schema/TraitMapBench.java:LINE_UNDEFINED eclipse jdt formatter(java.lang.reflect.InvocationTargetException) java.lang.reflect.InvocationTargetException (...)
  src/jmh/java/software/amazon/smithy/java/core/schema/TraitMapBench.java:LINE_UNDEFINED removeUnusedImports(java.lang.NoClassDefFoundError) com/google/googlejavaformat/java/RemoveUnusedImports (...)

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