{"action":"created","issue":{"url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/160","labels_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/160/comments","events_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/160/events","html_url":"https://github.com/YAMJ/yamj-v3/issues/160","id":53951489,"number":160,"title":"trap and treat  error 500 , 503, storage error ","user":{"login":"jluc2808","id":3936741,"avatar_url":"https://avatars.githubusercontent.com/u/3936741?v=3","gravatar_id":"","url":"https://api.github.com/users/jluc2808","html_url":"https://github.com/jluc2808","followers_url":"https://api.github.com/users/jluc2808/followers","following_url":"https://api.github.com/users/jluc2808/following{/other_user}","gists_url":"https://api.github.com/users/jluc2808/gists{/gist_id}","starred_url":"https://api.github.com/users/jluc2808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jluc2808/subscriptions","organizations_url":"https://api.github.com/users/jluc2808/orgs","repos_url":"https://api.github.com/users/jluc2808/repos","events_url":"https://api.github.com/users/jluc2808/events{/privacy}","received_events_url":"https://api.github.com/users/jluc2808/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YAMJ/yamj-v3/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/YAMJ/yamj-v3/labels/YAMJ-Common","name":"YAMJ-Common","color":"444444"},{"url":"https://api.github.com/repos/YAMJ/yamj-v3/labels/YAMJ-Core","name":"YAMJ-Core","color":"444444"},{"url":"https://api.github.com/repos/YAMJ/yamj-v3/labels/YAMJ-Jetty","name":"YAMJ-Jetty","color":"444444"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-10T08:37:37Z","updated_at":"2015-01-18T23:06:24Z","closed_at":"2015-01-18T23:06:24Z","body":"some known ERROR should be trapped and treated , rather than letting java failed with all the consequences (error line xx, ...) \r\nhere a short list of what is known : \r\n\r\nERROR 500\r\n[06:04:43] ERROR org.yamj.core.service.metadata.online.allocine.AllocineApiWrapper  - Failed retrieving Allocine infos for movie: 128357\r\n[06:04:43] ERROR org.yamj.core.service.metadata.online.allocine.AllocineApiWrapper  - Allocine error\r\njava.lang.RuntimeException: Unexpected status 500 for uri http://api.allocine.fr/rest/v3/movie?partner=100043982026&code=128357&profile=large&filter=movie&format=json&striptags=synopsis%2Csynopsisshort&sed=20150109&sig=vMGYPpvpnKpzutfnCSY9fMEqRSo%3D\r\n\tat org.yamj.core.tools.web.PoolingHttpClient.requestContent(PoolingHttpClient.java:116)\r\n......\r\n[06:04:43] ERROR org.yamj.core.service.metadata.online.allocine.AllocineScanner  - Can't find informations for movie with id 128357\r\n\r\nERROR 503\r\n[06:12:05] ERROR org.yamj.core.service.metadata.online.allocine.AllocineApiWrapper  - Failed retrieving Allocine filmography for person: 432835\r\n[06:12:05] ERROR org.yamj.core.service.metadata.online.allocine.AllocineApiWrapper  - Allocine error\r\njava.lang.RuntimeException: Unexpected status 503 for uri http://api.allocine.fr/rest/v3/filmography?partner=100043982026&profile=large&format=json&code=432835&striptags=synopsis%2Csynopsisshort&sed=20150109&sig=ytTnI2QweFP4AJ07TTSJ8VlNPbQ%3D\r\n\tat org.yamj.core.tools.web.PoolingHttpClient.requestContent(PoolingHttpClient.java:116)\r\n.......\r\n[06:12:05] ERROR org.yamj.core.service.metadata.online.allocine.AllocineScanner  - Can't find filmography for person 'Fred Luck' with id 432835\r\n\r\nERROR storage error \r\n[06:12:08] ERROR org.yamj.core.service.metadata.MetadataScannerService  - Failed storing person filmography 9289-'Denys Darahan'\r\n[06:12:08] ERROR org.yamj.core.service.metadata.MetadataScannerService  - Storage error\r\norg.springframework.dao.DataIntegrityViolationException: not-null property references a null or transient value: org.yamj.core.database.model.FilmParticipation.jobType; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value: org.yamj.core.database.model.FilmParticipation.jobType\r\n\tat org.springframework.orm.hibernate4.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:160)\r\n.....\r\nCaused by: org.hibernate.PropertyValueException: not-null property references a null or transient value: org.yamj.core.database.model.FilmParticipation.jobType\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/comments/70431099","html_url":"https://github.com/YAMJ/yamj-v3/issues/160#issuecomment-70431099","issue_url":"https://api.github.com/repos/YAMJ/yamj-v3/issues/160","id":70431099,"user":{"login":"modmax","id":3912027,"avatar_url":"https://avatars.githubusercontent.com/u/3912027?v=3","gravatar_id":"","url":"https://api.github.com/users/modmax","html_url":"https://github.com/modmax","followers_url":"https://api.github.com/users/modmax/followers","following_url":"https://api.github.com/users/modmax/following{/other_user}","gists_url":"https://api.github.com/users/modmax/gists{/gist_id}","starred_url":"https://api.github.com/users/modmax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modmax/subscriptions","organizations_url":"https://api.github.com/users/modmax/orgs","repos_url":"https://api.github.com/users/modmax/repos","events_url":"https://api.github.com/users/modmax/events{/privacy}","received_events_url":"https://api.github.com/users/modmax/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T23:06:24Z","updated_at":"2015-01-18T23:06:24Z","body":"Closed with 34ebabab19322cb05391a088604989e1e1fa6f85"}}