{"action":"closed","issue":{"url":"https://api.github.com/repos/katharsis-project/katharsis-core/issues/226","repository_url":"https://api.github.com/repos/katharsis-project/katharsis-core","labels_url":"https://api.github.com/repos/katharsis-project/katharsis-core/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/katharsis-project/katharsis-core/issues/226/comments","events_url":"https://api.github.com/repos/katharsis-project/katharsis-core/issues/226/events","html_url":"https://github.com/katharsis-project/katharsis-core/issues/226","id":132990954,"number":226,"title":"Invalid resource name to include returns status 500","user":{"login":"soldierkam","id":774583,"avatar_url":"https://avatars.githubusercontent.com/u/774583?v=3","gravatar_id":"","url":"https://api.github.com/users/soldierkam","html_url":"https://github.com/soldierkam","followers_url":"https://api.github.com/users/soldierkam/followers","following_url":"https://api.github.com/users/soldierkam/following{/other_user}","gists_url":"https://api.github.com/users/soldierkam/gists{/gist_id}","starred_url":"https://api.github.com/users/soldierkam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soldierkam/subscriptions","organizations_url":"https://api.github.com/users/soldierkam/orgs","repos_url":"https://api.github.com/users/soldierkam/repos","events_url":"https://api.github.com/users/soldierkam/events{/privacy}","received_events_url":"https://api.github.com/users/soldierkam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/katharsis-project/katharsis-core/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"meshuga","id":1073936,"avatar_url":"https://avatars.githubusercontent.com/u/1073936?v=3","gravatar_id":"","url":"https://api.github.com/users/meshuga","html_url":"https://github.com/meshuga","followers_url":"https://api.github.com/users/meshuga/followers","following_url":"https://api.github.com/users/meshuga/following{/other_user}","gists_url":"https://api.github.com/users/meshuga/gists{/gist_id}","starred_url":"https://api.github.com/users/meshuga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshuga/subscriptions","organizations_url":"https://api.github.com/users/meshuga/orgs","repos_url":"https://api.github.com/users/meshuga/repos","events_url":"https://api.github.com/users/meshuga/events{/privacy}","received_events_url":"https://api.github.com/users/meshuga/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-02-11T14:42:09Z","updated_at":"2016-02-12T21:18:54Z","closed_at":"2016-02-12T21:18:54Z","body":"IncludedRelationshipExtractor should throw exception that could be handled by JsonApiExceptionMapper to return status 400 (Bad Request)\r\n\r\nApplication: https://github.com/katharsis-project/katharsis-examples/tree/master/spring-boot-simple-example\r\nURL to invoke: http://localhost:8080/api/tasks?include%5Btasks%5D=asdas\r\n```\r\nio.katharsis.invoker.KatharsisInvokerException: com.fasterxml.jackson.databind.JsonMappingException: Cannot find an getter for io.katharsis.example.springboot.simple.domain.model.Task.asdas\r\n        at io.katharsis.spring.KatharsisFilterV2.invoke(KatharsisFilterV2.java:104)\r\n        at io.katharsis.spring.KatharsisFilterV2.doFilter(KatharsisFilterV2.java:81)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n        at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)\r\n        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)\r\n        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\r\n        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)\r\n        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)\r\n        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)\r\n        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)\r\n        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)\r\n        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)\r\n        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)\r\n        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)\r\n        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)\r\n        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1521)\r\n        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1478)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: com.fasterxml.jackson.databind.JsonMappingException: Cannot find an getter for io.katharsis.example.springboot.simple.domain.model.Task.asdas\r\n        at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:139)\r\n        at com.fasterxml.jackson.databind.ObjectMapper._configAndWriteValue(ObjectMapper.java:2881)\r\n        at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2304)\r\n        at io.katharsis.spring.KatharsisFilterV2.dispatchRequest(KatharsisFilterV2.java:158)\r\n        at io.katharsis.spring.KatharsisFilterV2.invoke(KatharsisFilterV2.java:102)\r\n        ... 26 common frames omitted\r\nCaused by: java.lang.RuntimeException: Cannot find an getter for io.katharsis.example.springboot.simple.domain.model.Task.asdas\r\n        at io.katharsis.utils.PropertyUtils.getPropertyValue(PropertyUtils.java:75)\r\n        at io.katharsis.utils.PropertyUtils.getProperty(PropertyUtils.java:45)\r\n        at io.katharsis.jackson.serializer.IncludedRelationshipExtractor.getElements(IncludedRelationshipExtractor.java:143)\r\n        at io.katharsis.jackson.serializer.IncludedRelationshipExtractor.extractIncludedRelationship(IncludedRelationshipExtractor.java:136)\r\n        at io.katharsis.jackson.serializer.IncludedRelationshipExtractor.extractIncludedRelationships(IncludedRelationshipExtractor.java:105)\r\n        at io.katharsis.jackson.serializer.IncludedRelationshipExtractor.extractIncludedResources(IncludedRelationshipExtractor.java:38)\r\n        at io.katharsis.jackson.serializer.BaseResponseSerializer.serializeResourceCollection(BaseResponseSerializer.java:101)\r\n        at io.katharsis.jackson.serializer.BaseResponseSerializer.writeResponseWithResources(BaseResponseSerializer.java:73)\r\n        at io.katharsis.jackson.serializer.BaseResponseSerializer.serialize(BaseResponseSerializer.java:37)\r\n        at io.katharsis.jackson.serializer.BaseResponseSerializer.serialize(BaseResponseSerializer.java:15)\r\n        at com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:128)\r\n        ... 30 common frames omitted\r\n\r\n```"}}