lint errors: LINE_UNDEFINED eclipse jdt formatter(java.lang.reflect.InvocationTargetException) java
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 14h
- PR unite (30g)
- 43
Descrizione
I'm working some changes for [smithy-java](https://github.com/smithy-lang/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 (...)
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo :core:spotlessJavaCheck con Spotless 8.2.1 usando l'esempio smithy-java e analizza i fallimenti segnalati in TraitMapBench.java, inclusi LINE_UNDEFINED e removeUnusedImports. Confronta il risultato con Spotless 8.1.0; l'attività è completata quando il controllo del formatter termina senza questi errori di lint e la causa è documentata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 42/100