danshannon / javastravav3api

Strava API v3 implementation written in Java v8
http://danshannon.github.io/javastravav3api/
81 stars 44 forks source link

Parsing Error when retrieving running activity #186

Closed lennartblom closed 4 years ago

lennartblom commented 6 years ago

Hi there! First of all: Great stuff you build there! Love the first contact with your API. Especially the cache implementation is great!

Thanks for your great work!

Unfortunately I get an parsing error, when I retrieving a running activity. Cycling activities are working like a charm!

Seems like a minor error, can I help somehow?

Kind regards, Lennart

This is the error which occurs:

{
    "timestamp": 1515928217527,
    "status": 500,
    "error": "Internal Server Error",
    "exception": "javastrava.api.v3.service.exception.StravaUnknownAPIException",
    "message": "200 OK : StravaResponse [message=com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 2841151406 at line 1 column 8096 path $.best_efforts[0].id, errors=null]",
    "path": "/activity/1309530219"
}
{"id":1350511909,"resource_state":3,"external_id":"garmin_push_2426510647","upload_id":1459193335,"athlete":{"id":4518782,"resource_state":1},"name":"Abendlauf","distance":11238.7,"moving_time":3801,"elapsed_time":3836,"total_elevation_gain":23.0,"type":"Run","start_date":"2018-01-10T17:58:56Z","start_date_local":"2018-01-10T18:58:56Z","timezone":"(GMT+01:00) Europe/Berlin","utc_offset":3600.0,"start_latlng":[52.26,8.04],"end_latlng":[52.26,8.04],"location_city":"Osnabrück","location_state":"Niedersachsen","location_country":"Germany","start_latitude":52.26,"start_longitude":8.04,"achievement_count":0,"kudos_count":5,"comment_count":0,"athlete_count":1,"photo_count":0,"map":{"id":"a1350511909","polyline":"{{~}H{`bp@]b@a@b@Wt@eAjA[d@{@`B}@xAaCpCyAdCa@`@yApBgB`E]f@w@vA]b@e@X]d@aA|@]d@wAzB]b@}@~@UdAg@Zi@Fi@Gg@HkA`@FRe@QQS@Uy@EIWG{@Ww@?cAHw@b@kBVw@Ly@E{@m@i@O_AL{BM}@Lw@Cm@c@]o@?CEOeBDMCEEA{Az@e@NYBi@Ve@Bo@P_Bl@qAx@EHa@b@a@j@a@`@e@n@_@^IFc@Bg@C][AQAAMBc@Co@c@ACy@CaAPk@AKkAGEg@Iy@@g@k@CcAF{@sAu@c@]Uo@wABg@WGMm@Sg@Ka@]i@Ia@k@UaAUq@a@[]_@_@q@C]H]J[f@]Ze@pBuDHo@Ts@Ts@Xk@`AaAb@O`@WrBs@b@SdAu@`@StCgAfA]fAk@d@[r@]`@Sb@I`@Wj@Qp@m@d@Mt@iA^c@p@qA|@kAv@mAv@}AJMN|@p@x@Vu@Nu@DaAM{@@{@PaAF_ALaANyC@{@F{@\\sBp@iB^]Xk@\\e@\\a@j@_ARm@PyBF{BLiADMvBa@d@Ob@InBf@`@Fd@EVhA^Zb@Td@Hb@^\\b@b@b@Xh@Rt@l@dBH|@Xn@H~@E~@AbADz@Tz@Lz@\\j@D@R~DR`@C~@Bx@@vBD|BBn@BLE|@Iv@e@xDSt@YnBEdAg@jBGdASt@i@xA_@f@[l@cA|Co@`Bk@bBiB|D[f@Yj@a@^{@lAe@XqAHe@Fu@Tg@^eAUe@Xe@JeAh@c@XeAf@a@Ze@FyCz@eAx@_@d@i@CeAZ_@^o@`@_@Zw@z@c@Zg@Fg@Uc@C_@Fe@Ae@Gc@Ai@De@GaAmA}ByBYs@YaAq@yAc@a@]c@a@_@e@Wa@][g@[y@]e@e@e@mB_DNw@Zc@^]^g@Zg@Rs@N_@L{@h@eBVs@b@c@`@YZInBw@d@QfAq@rCqAj@InA_@hAm@fA}@d@UlBw@t@s@p@_@\\e@^]b@U`@QtAeBXc@LW@m@p@mALGN@JH\\h@\\ZL?NI\\q@Rs@P{@IcAC_ABeCHcAB}@@}BT}BLu@Vq@|@sA^a@x@uATq@LYRKFz@N`ACXNrBF`CJ~@l@nAVv@Zp@Zd@`AbAv@hDBBf@Sb@Ed@[jAo@nB_Ad@QjBiAZMt@QTQNAlA]nBq@f@Cd@Qb@ERp@?tDM`GH|@JP^TPt@B`EJtB\\rBNt@^zDR~A`@jBVp@N~@Pv@fA~CXh@d@MjAi@`@Kd@Ub@Kd@UvBOZNt@bDHd@BR","resource_state":3,"summary_polyline":"{{~}H{`bp@ue@fs@gFzAyCmErAyIcAeDH_HwAc@MyB{UvLcLeDc@kDwLmFqDkH|IyPp\\iOvH{LjAlB`CoZfFiJl@mI`E{@vDh@bIrLjDbd@mDbWeLdXgi@`VkH_@{Ta[~GwOpYuM|K}MbC~@bAaDh@}TfFuIv@lMzFpMfZaLNfPjGpb@`BhEzJkC~AlF"},"trainer":false,"commute":false,"manual":false,"private":false,"flagged":false,"gear_id":"g2897735","from_accepted_tag":false,"average_speed":2.957,"max_speed":10.1,"average_cadence":79.6,"has_heartrate":false,"elev_high":46.2,"elev_low":36.8,"pr_count":0,"total_photo_count":0,"has_kudoed":false,"workout_type":0,"description":"","calories":1009.0,"segment_efforts":[],"splits_metric":[{"distance":1000.8,"elapsed_time":361,"elevation_difference":-5.8,"moving_time":326,"split":1,"average_speed":3.07,"pace_zone":2},{"distance":1021.3,"elapsed_time":346,"elevation_difference":-0.6,"moving_time":346,"split":2,"average_speed":2.95,"pace_zone":2},{"distance":980.3,"elapsed_time":297,"elevation_difference":-0.8,"moving_time":297,"split":3,"average_speed":3.3,"pace_zone":3},{"distance":1000.1,"elapsed_time":354,"elevation_difference":1.8,"moving_time":354,"split":4,"average_speed":2.83,"pace_zone":2},{"distance":998.8,"elapsed_time":366,"elevation_difference":0.2,"moving_time":366,"split":5,"average_speed":2.73,"pace_zone":1},{"distance":999.9,"elapsed_time":403,"elevation_difference":-2.2,"moving_time":403,"split":6,"average_speed":2.48,"pace_zone":1},{"distance":1000.5,"elapsed_time":344,"elevation_difference":2.6,"moving_time":344,"split":7,"average_speed":2.91,"pace_zone":2},{"distance":1001.2,"elapsed_time":314,"elevation_difference":-3.4,"moving_time":314,"split":8,"average_speed":3.19,"pace_zone":2},{"distance":998.0,"elapsed_time":317,"elevation_difference":1.4,"moving_time":317,"split":9,"average_speed":3.15,"pace_zone":2},{"distance":1003.1,"elapsed_time":347,"elevation_difference":0.6,"moving_time":347,"split":10,"average_speed":2.89,"pace_zone":2},{"distance":997.2,"elapsed_time":318,"elevation_difference":1.0,"moving_time":318,"split":11,"average_speed":3.14,"pace_zone":2},{"distance":237.5,"elapsed_time":69,"elevation_difference":2.6,"moving_time":69,"split":12,"average_speed":3.44,"pace_zone":3}],"splits_standard":[{"distance":1612.5,"elapsed_time":570,"elevation_difference":-5.0,"moving_time":535,"split":1,"average_speed":3.01,"pace_zone":2},{"distance":1619.8,"elapsed_time":503,"elevation_difference":-2.2,"moving_time":503,"split":2,"average_speed":3.22,"pace_zone":2},{"distance":1601.8,"elapsed_time":598,"elevation_difference":2.4,"moving_time":598,"split":3,"average_speed":2.68,"pace_zone":1},{"distance":1608.1,"elapsed_time":609,"elevation_difference":-2.0,"moving_time":609,"split":4,"average_speed":2.64,"pace_zone":1},{"distance":1625.8,"elapsed_time":525,"elevation_difference":-1.8,"moving_time":525,"split":5,"average_speed":3.1,"pace_zone":2},{"distance":1590.3,"elapsed_time":539,"elevation_difference":2.0,"moving_time":539,"split":6,"average_speed":2.95,"pace_zone":2},{"distance":1580.4,"elapsed_time":492,"elevation_difference":4.0,"moving_time":492,"split":7,"average_speed":3.21,"pace_zone":2}],"laps":[{"id":4254715599,"resource_state":2,"name":"Lap 1","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":361,"moving_time":326,"start_date":"2018-01-10T17:58:56Z","start_date_local":"2018-01-10T18:58:56Z","distance":1000.0,"start_index":0,"end_index":50,"total_elevation_gain":0.0,"average_speed":3.07,"max_speed":4.3,"average_cadence":78.9,"lap_index":1,"split":1,"pace_zone":2},{"id":4254715602,"resource_state":2,"name":"Lap 2","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":346,"moving_time":346,"start_date":"2018-01-10T18:05:02Z","start_date_local":"2018-01-10T19:05:02Z","distance":1000.0,"start_index":51,"end_index":105,"total_elevation_gain":0.0,"average_speed":2.89,"max_speed":6.2,"average_cadence":78.9,"lap_index":2,"split":2,"pace_zone":2},{"id":4254715604,"resource_state":2,"name":"Lap 3","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":296,"moving_time":296,"start_date":"2018-01-10T18:10:55Z","start_date_local":"2018-01-10T19:10:55Z","distance":1000.0,"start_index":106,"end_index":159,"total_elevation_gain":3.0,"average_speed":3.38,"max_speed":10.1,"average_cadence":79.2,"lap_index":3,"split":3,"pace_zone":3},{"id":4254715607,"resource_state":2,"name":"Lap 4","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":353,"moving_time":353,"start_date":"2018-01-10T18:15:43Z","start_date_local":"2018-01-10T19:15:43Z","distance":1000.0,"start_index":160,"end_index":212,"total_elevation_gain":4.0,"average_speed":2.83,"max_speed":4.8,"average_cadence":79.8,"lap_index":4,"split":4,"pace_zone":2},{"id":4254715612,"resource_state":2,"name":"Lap 5","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":366,"moving_time":366,"start_date":"2018-01-10T18:21:38Z","start_date_local":"2018-01-10T19:21:38Z","distance":1000.0,"start_index":213,"end_index":269,"total_elevation_gain":3.0,"average_speed":2.73,"max_speed":5.9,"average_cadence":77.3,"lap_index":5,"split":5,"pace_zone":1},{"id":4254715615,"resource_state":2,"name":"Lap 6","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":402,"moving_time":402,"start_date":"2018-01-10T18:27:46Z","start_date_local":"2018-01-10T19:27:46Z","distance":1000.0,"start_index":270,"end_index":319,"total_elevation_gain":1.0,"average_speed":2.49,"max_speed":3.9,"average_cadence":78.8,"lap_index":6,"split":6,"pace_zone":1},{"id":4254715618,"resource_state":2,"name":"Lap 7","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":343,"moving_time":343,"start_date":"2018-01-10T18:34:30Z","start_date_local":"2018-01-10T19:34:30Z","distance":1000.0,"start_index":320,"end_index":368,"total_elevation_gain":1.0,"average_speed":2.92,"max_speed":4.2,"average_cadence":80.9,"lap_index":7,"split":7,"pace_zone":2},{"id":4254715621,"resource_state":2,"name":"Lap 8","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":313,"moving_time":313,"start_date":"2018-01-10T18:40:14Z","start_date_local":"2018-01-10T19:40:14Z","distance":1000.0,"start_index":369,"end_index":418,"total_elevation_gain":2.0,"average_speed":3.19,"max_speed":4.9,"average_cadence":81.4,"lap_index":8,"split":8,"pace_zone":2},{"id":4254715632,"resource_state":2,"name":"Lap 9","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":317,"moving_time":317,"start_date":"2018-01-10T18:45:27Z","start_date_local":"2018-01-10T19:45:27Z","distance":1000.0,"start_index":419,"end_index":479,"total_elevation_gain":5.0,"average_speed":3.15,"max_speed":5.2,"average_cadence":80.9,"lap_index":9,"split":9,"pace_zone":2},{"id":4254715635,"resource_state":2,"name":"Lap 10","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":345,"moving_time":345,"start_date":"2018-01-10T18:50:44Z","start_date_local":"2018-01-10T19:50:44Z","distance":1000.0,"start_index":480,"end_index":534,"total_elevation_gain":2.0,"average_speed":2.9,"max_speed":4.1,"average_cadence":78.8,"lap_index":10,"split":10,"pace_zone":2},{"id":4254715638,"resource_state":2,"name":"Lap 11","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":319,"moving_time":319,"start_date":"2018-01-10T18:56:26Z","start_date_local":"2018-01-10T19:56:26Z","distance":1000.0,"start_index":535,"end_index":588,"total_elevation_gain":0.0,"average_speed":3.13,"max_speed":4.9,"average_cadence":80.1,"lap_index":11,"split":11,"pace_zone":2},{"id":4254715640,"resource_state":2,"name":"Lap 12","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":69,"moving_time":69,"start_date":"2018-01-10T19:01:44Z","start_date_local":"2018-01-10T20:01:44Z","distance":238.66,"start_index":589,"end_index":601,"total_elevation_gain":2.0,"average_speed":3.46,"max_speed":4.5,"average_cadence":82.8,"lap_index":12,"split":12,"pace_zone":3}],"best_efforts":[{"id":2934012765,"resource_state":2,"name":"400m","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":94,"moving_time":96,"start_date":"2018-01-10T18:13:11Z","start_date_local":"2018-01-10T19:13:11Z","distance":400,"start_index":130,"end_index":150,"pr_rank":null,"achievements":[]},{"id":2934012767,"resource_state":2,"name":"1/2 mile","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":216,"moving_time":218,"start_date":"2018-01-10T18:13:11Z","start_date_local":"2018-01-10T19:13:11Z","distance":805,"start_index":130,"end_index":171,"pr_rank":null,"achievements":[]},{"id":2934012768,"resource_state":2,"name":"1k","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":285,"moving_time":287,"start_date":"2018-01-10T18:13:11Z","start_date_local":"2018-01-10T19:13:11Z","distance":1000,"start_index":130,"end_index":180,"pr_rank":null,"achievements":[]},{"id":2934012771,"resource_state":2,"name":"1 mile","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":483,"moving_time":484,"start_date":"2018-01-10T18:38:30Z","start_date_local":"2018-01-10T19:38:30Z","distance":1609,"start_index":351,"end_index":430,"pr_rank":null,"achievements":[]},{"id":2934012774,"resource_state":2,"name":"2 mile","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":1037,"moving_time":1038,"start_date":"2018-01-10T18:38:18Z","start_date_local":"2018-01-10T19:38:18Z","distance":3219,"start_index":349,"end_index":525,"pr_rank":null,"achievements":[]},{"id":2934012776,"resource_state":2,"name":"5k","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":1628,"moving_time":1595,"start_date":"2018-01-10T18:35:36Z","start_date_local":"2018-01-10T19:35:36Z","distance":5000,"start_index":329,"end_index":599,"pr_rank":null,"achievements":[]},{"id":2934012783,"resource_state":2,"name":"10k","activity":{"id":1350511909,"resource_state":1},"athlete":{"id":4518782,"resource_state":1},"elapsed_time":3394,"moving_time":3273,"start_date":"2018-01-10T18:01:26Z","start_date_local":"2018-01-10T19:01:26Z","distance":10000,"start_index":18,"end_index":553,"pr_rank":null,"achievements":[]}],"gear":{"id":"g2897735","primary":true,"name":"On Clouds","resource_state":2,"distance":21946.0},"partner_brand_tag":null,"photos":{"primary":null,"count":0},"similar_activities":{"effort_count":2,"average_speed":3.046455938697318,"min_average_speed":2.956774533017627,"mid_average_speed":3.04735257634884,"max_average_speed":3.1436555460507556,"pr_rank":2,"frequency_milestone":null,"trend":{"speeds":[3.1436555460507556,3.04735257634884],"current_activity_index":1,"min_speed":2.956774533017627,"mid_speed":3.04735257634884,"max_speed":3.1436555460507556,"direction":-1},"resource_state":2},"highlighted_kudosers":[{"destination_url":"strava://athletes/18427899","display_name":"Patrick A.","avatar_url":"https://dgalywyr863hv.cloudfront.net/pictures/athletes/18427899/5239874/1/medium.jpg","show_name":true},{"destination_url":"strava://athletes/3290899","display_name":"Sebastian S.","avatar_url":"https://dgalywyr863hv.cloudfront.net/pictures/athletes/3290899/1072214/15/medium.jpg","show_name":true},{"destination_url":"strava://athletes/14851233","display_name":"Sascha W.","avatar_url":"https://dgalywyr863hv.cloudfront.net/pictures/athletes/14851233/5280608/8/medium.jpg","show_name":true}],"device_name":"Garmin Forerunner 920XT","embed_token":"cf3b4684f3517f38e25e0c75399031615a1248a5","segment_leaderboard_opt_out":false}
<--- END HTTP (14016-byte body)
12:21:16.234 [http-nio-8080-exec-2] ERROR javastrava.api.v3.rest.util.RetrofitErrorHandler - StravaResponse [message=com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 2934012765 at line 1 column 10306 path $.best_efforts[0].id, errors=null]
2018-01-14 12:21:16.237 ERROR 9402 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is javastrava.api.v3.service.exception.StravaUnknownAPIException: 200 OK : StravaResponse [message=com.google.gson.JsonSyntaxException: java.lang.NumberFormatException: Expected an int but was 2934012765 at line 1 column 10306 path $.best_efforts[0].id, errors=null]] with root cause

java.lang.NumberFormatException: Expected an int but was 2934012765 at line 1 column 10306 path $.best_efforts[0].id
    at com.google.gson.stream.JsonReader.nextInt(JsonReader.java:1172) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:225) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:217) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:82) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:61) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129) ~[gson-2.8.2.jar:na]
    at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220) ~[gson-2.8.2.jar:na]
    at com.google.gson.Gson.fromJson(Gson.java:888) ~[gson-2.8.2.jar:na]
    at com.google.gson.Gson.fromJson(Gson.java:853) ~[gson-2.8.2.jar:na]
    at retrofit.converter.GsonConverter.fromBody(GsonConverter.java:63) ~[retrofit-1.9.0.jar:na]
    at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:367) ~[retrofit-1.9.0.jar:na]
    at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) ~[retrofit-1.9.0.jar:na]
    at com.sun.proxy.$Proxy93.getActivity(Unknown Source) ~[na:na]
    at javastrava.api.v3.rest.API.getActivity(API.java:428) ~[javastrava-api-1.0.3.jar:na]
    at javastrava.api.v3.service.impl.ActivityServiceImpl.getActivity(ActivityServiceImpl.java:356) ~[javastrava-api-1.0.3.jar:na]
    at javastrava.api.v3.service.impl.ActivityServiceImpl.getActivity(ActivityServiceImpl.java:339) ~[javastrava-api-1.0.3.jar:na]
    at javastrava.api.v3.service.Strava.getActivity(Strava.java:402) ~[javastrava-api-1.0.3.jar:na]
    at bike_mechanics.service.StravaAPIController.getDistanceFromSampleActivity(StravaAPIController.java:35) ~[classes/:na]
    at bike_mechanics.view.BikeChainController.activity(BikeChainController.java:46) ~[classes/:na]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_45]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_45]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_45]
    at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_45]
    at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) ~[spring-webmvc-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-embed-websocket-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[spring-web-4.3.12.RELEASE.jar:4.3.12.RELEASE]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) ~[tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.5.23.jar:8.5.23]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
JuanRomani commented 6 years ago

Check #180