Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

[Bug] ERROR 5440

Está aparecendo este erro, alguém sabe identificar o que é?

. ____ _ __ _ _ /\ / _' __ _ ()_ __ __ _ \ \ \ ( ( )__ | '_ | '| | ' / ` | \ \ \ \/ _)| |)| | | | | || (_| | ) ) ) ) ' || .|| ||| |_, | / / / / =========||==============|_/=//_// :: Spring Boot :: (v3.1.11)

2024-04-30T11:55:25.760-03:00 INFO 5440 --- [ main] b.c.a.s.ScreenmatchApplication : Starting ScreenmatchApplication using Java 17.0.10 with PID 5440 (C:\Users\Thiago\Projetos\Alura\Screenmatch\screenmatch\target\classes started by Thiago in C:\Users\Thiago\Projetos\Alura\Screenmatch\screenmatch) 2024-04-30T11:55:25.766-03:00 INFO 5440 --- [ main] b.c.a.s.ScreenmatchApplication : No active profile set, falling back to 1 default profile: "default" 2024-04-30T11:55:27.183-03:00 INFO 5440 --- [ main] b.c.a.s.ScreenmatchApplication : Started ScreenmatchApplication in 2.306 seconds (process running for 3.985) {"Title":"The Animatrix","Year":"2003","Rated":"Unrated","Released":"21 Mar 2003","Runtime":"100 min","Genre":"Animation, Action, Sci-Fi","Director":"Peter Chung, Andrew R. Jones, Yoshiaki Kawajiri, Takeshi Koike, Mahiro Maeda, Kôji Morimoto, Shin'ichirô Watanabe","Writer":"Lilly Wachowski (screenplay "The Matrix"), Lana Wachowski (screenplay "The Matrix"), Lilly Wachowski, Lana Wachowski, Yoshiaki Kawajiri, Kôji Morimoto, Shin'ichirô Watanabe, Peter Chung","Actors":"James Arnold Taylor, Julia Fletcher, Dwight Schultz","Plot":"A collection of nine short films featuring stories related to The Matrix (1999).","Language":"English, Japanese","Country":"United States, Japan","Awards":"2 wins & 4 nominations","Poster":"https://m.media-amazon.com/images/M/MV5BZWRiODljNzUtZDkwOC00N2EwLTllMDAtOGQ4MmQ2YWY2MTBiXkEyXkFqcGdeQXVyNDQ0MTYzMDA@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"7.3/10"},{"Source":"Rotten Tomatoes","Value":"89%"}],"Metascore":"N/A","imdbRating":"7.3","imdbVotes":"81,882","imdbID":"tt0328832","Type":"series","totalSeasons":"N/A","Response":"True"} 2024-04-30T11:55:28.615-03:00 INFO 5440 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-04-30T11:55:28.647-03:00 ERROR 5440 --- [ main] o.s.boot.SpringApplication : Application run failed

java.lang.RuntimeException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type java.lang.Integer from String "N/A": not a valid java.lang.Integer value at [Source: (String)"{"Title":"The Animatrix","Year":"2003","Rated":"Unrated","Released":"21 Mar 2003","Runtime":"100 min","Genre":"Animation, Action, Sci-Fi","Director":"Peter Chung, Andrew R. Jones, Yoshiaki Kawajiri, Takeshi Koike, Mahiro Maeda, Kôji Morimoto, Shin'ichirô Watanabe","Writer":"Lilly Wachowski (screenplay "The Matrix"), Lana Wachowski (screenplay "The Matrix"), Lilly Wachowski, Lana Wachowski, Yoshiaki Kawajiri, Kôji Morimoto, Shin'ichirô Watanabe, Peter Chung","Actors":"James Arnold Taylor, Jul"[truncated 602 chars]; line: 1, column: 1079] (through reference chain: br.com.alura.screenmatch.model.DadosSerie["totalTemporadas"]) at br.com.alura.screenmatch.service.ConverteDados.obterDados(ConverteDados.java:14) ~[classes/:na] at br.com.alura.screenmatch.ScreenmatchApplication.run(ScreenmatchApplication.java:23) ~[classes/:na] at org.springframework.boot.SpringApplication.lambda$callRunner$5(SpringApplication.java:774) ~[spring-boot-3.1.11.jar:3.1.11] at org.springframework.util.function.ThrowingConsumer$1.acceptWithException(ThrowingConsumer.java:83) ~[spring-core-6.0.19.jar:6.0.19] at org.springframework.util.function.ThrowingConsumer.accept(ThrowingConsumer.java:60) ~[spring-core-6.0.19.jar:6.0.19] at org.springframework.util.function.ThrowingConsumer$1.accept(ThrowingConsumer.java:88) ~[spring-core-6.0.19.jar:6.0.19] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:782) ~[spring-boot-3.1.11.jar:3.1.11] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:773) ~[spring-boot-3.1.11.jar:3.1.11] at org.springframework.boot.SpringApplication.lambda$callRunners$3(SpringApplication.java:758) ~[spring-boot-3.1.11.jar:3.1.11]

1 resposta
solução!

Pessoal, resolvi aqui, a série só teve uma temporada por isso deu erro.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software