Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2020-01-21 12:35:06.447 DEBUG 63349 --- [nio-9090-exec-7] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:06.447 DEBUG 63349 --- [nio-9090-exec-7] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [select ods_secr.set_user(?, true)]
- 2020-01-21 12:35:06.473 DEBUG 63349 --- [nio-9090-exec-7] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:06.473 DEBUG 63349 --- [nio-9090-exec-7] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [with args as (
- select ? :: bigint as type_id,
- ST_SetSRID(ST_CollectionHomogenize(ST_Collect(array[
- ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?)
- ])),98343) as geometry,
- ? :: bigint as id,
- ? :: bigint as parentId,
- ? :: jsonb as journal,
- ? :: int as cnt,
- ? :: jsonb as attribute
- )
- select
- (info.v #>> '{allow}')::boolean as isAllow,
- ((info.v #>> '{allow}') is not null)::boolean as intersected,
- (
- select jsonb_agg(jsonb_build_object(
- 'id', (item.value::bigint),
- 'points', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(geo.geometry)).geom) a
- from ods_object.object_geometry_v as geo
- where geo.id = (item.value::bigint)) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Point'
- ),
- 'lines', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(geo.geometry)).geom) a
- from ods_object.object_geometry_v as geo
- where geo.id = (item.value::bigint)) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'LineString'
- ),
- 'polygons', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(geo.geometry)).geom) a
- from ods_object.object_geometry_v as geo
- where geo.id = (item.value::bigint)) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Polygon'
- )
- , 'hint', hi.value
- ))
- from
- jsonb_array_elements_text(info.v -> 'ids') item
- , jsonb_each (info.v -> 'object_attribute_hint') hi
- where item.value = hi.key
- ) as geometry,
- (
- select jsonb_build_object(
- 'points', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(args.geometry)).geom) a from args) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Point'
- ),
- 'lines', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(args.geometry)).geom) a from args) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'LineString'
- ),
- 'polygons', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(args.geometry)).geom) a from args) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Polygon'
- )
- )
- ) as target
- from
- (select ods_object.check_geom_contains
- ( (select args.type_id from args) --p_object_type_id in ods_object.object.type_id%type
- , (select args.geometry from args) --p_geometry in ods_object.object_geometry.geometry%type
- , (select args.attribute from args) --p_attribute
- , (select args.journal from args) --p_tree_journal in jsonb default null
- , (select args.cnt from args) --p_cnt_action in int default null
- , (select args.id from args) --p_object_id in ods_object.object.id%type default null
- , (select args.parentId from args) --p_object_parent_id in ods_object.object.id%type default null
- ) as v) info
- ]
- 2020-01-21 12:35:07.213 DEBUG 63349 --- [io-9090-exec-10] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:07.214 DEBUG 63349 --- [io-9090-exec-10] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [select ods_secr.set_user(?, true)]
- 2020-01-21 12:35:07.240 DEBUG 63349 --- [io-9090-exec-10] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:07.240 DEBUG 63349 --- [io-9090-exec-10] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [with args as (
- select ST_SetSRID(ST_CollectionHomogenize(ST_Collect(array[
- ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?)
- ])),98343) as geometry,
- ?::bigint as type_id,
- ?::bigint as id,
- ?::jsonb as attributes,
- ?::bigint as treeParentId,
- to_timestamp(?, 'DD.MM.YYYY') as startDate
- )
- select
- (info.intersection #>> '{allow}')::boolean as isAllow,
- ((info.intersection #>> '{allow}') is not null)::boolean as intersected,
- (
- select jsonb_agg(jsonb_build_object(
- 'id', (item.value::bigint),
- 'points', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(geo.geometry)).geom) a
- from ods_object.object_geometry_v as geo
- where geo.id = (item.value::bigint)) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Point'
- ),
- 'lines', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(geo.geometry)).geom) a
- from ods_object.object_geometry_v as geo
- where geo.id = (item.value::bigint)) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'LineString'
- ),
- 'polygons', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(geo.geometry)).geom) a
- from ods_object.object_geometry_v as geo
- where geo.id = (item.value::bigint)) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Polygon'
- )
- , 'hint', hi.value
- ))
- from
- jsonb_array_elements_text(info.intersection -> 'ids') item
- , jsonb_each (info.intersection -> 'object_attribute_hint') hi
- where item.value = hi.key
- ) as geometry,
- (
- select jsonb_build_object(
- 'points', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(args.geometry)).geom) a from args) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Point'
- ),
- 'lines', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(args.geometry)).geom) a from args) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'LineString'
- ),
- 'polygons', (select jsonb_agg(ST_AsGeoJSON(a.a)::jsonb)
- from (select ((ST_Dump(args.geometry)).geom) a from args) a
- where ((ST_AsGeoJSON(a.a))::jsonb ->> 'type') = 'Polygon'
- )
- )
- ) as target
- from
- (select
- ods_object.check_geom_intersect(
- (select args.geometry from args),
- (select args.type_id from args),
- (select args.id from args),
- (select args.attributes from args),
- (select args.treeParentId from args),
- (select args.startDate from args))
- as intersection) info
- ]
- 2020-01-21 12:35:07.939 DEBUG 63349 --- [nio-9090-exec-3] o.s.jdbc.core.JdbcTemplate : Executing SQL query [select distinct t_1.code||', expected: '||(
- case
- when t_1.code in ('bti_object', 'legal_person') then 'NUMBER'
- when t_2.code is null then 'NOTHING'
- when t_2.value is not null then 'NUMBER'
- else upper(t_2.attribute_type)
- end
- )||', factual: '||t_1.type
- from
- (
- select 'no code'::text as code, 'no type'::text as type
- union
- select 'section_num' as code, 'NUMBER' as type
- union
- select 'total_lawn_area' as code, 'NUMBER' as type
- union
- select 'state_gardening_id' as code, 'OBJECT' as type
- union
- select 'lawn_type_id' as code, 'OBJECT' as type
- union
- select 'no_calc' as code, 'NUMBER' as type
- union
- select 'file_list' as code, 'ARRAY' as type
- union
- select 'state_gardening' as code, 'NUMBER' as type
- union
- select 'lawn_type' as code, 'NUMBER' as type
- ) t_1 left join ods_dict.dict_general_attribute t_2
- on (t_1.code = t_2.code and current_timestamp between t_2.start_date and t_2.end_date)
- where
- (upper(t_1.type) <> upper(t_2.attribute_type) and t_2.value is not null and upper(t_1.type) <> 'NUMBER') --dictionary
- or (upper(t_1.type) <> upper(t_2.attribute_type) and t_2.value is null) --error
- or (t_2.code is null and t_1.code <> 'no code') --first row t_1]
- 2020-01-21 12:35:07.985 DEBUG 63349 --- [nio-9090-exec-3] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:07.985 DEBUG 63349 --- [nio-9090-exec-3] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [select ods_secr.set_user(?, true)]
- 2020-01-21 12:35:08.024 DEBUG 63349 --- [nio-9090-exec-3] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [select ods_object.create_object(?, cast(? as jsonb), ?, ? :: jsonb);
- ]
- 2020-01-21 12:35:08.184 DEBUG 63349 --- [nio-9090-exec-3] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:08.184 DEBUG 63349 --- [nio-9090-exec-3] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [select ods_object.add_object_geometry(? :: bigint, ? :: bigint,
- ST_SetSRID(
- ST_CollectionHomogenize(
- ST_Collect(
- array[ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?)]
- )),
- 98343
- )
- )]
- 2020-01-21 12:35:39.536 ERROR 63349 --- [nio-9090-exec-3] r.a.o.c.PostgresExceptionTranslator : Exception occurred: ERROR: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- Где: PL/pgSQL function ods_object.add_object_geometry(bigint,bigint,geometry,boolean) line 39 at RAISE
- SQL: [select ods_object.add_object_geometry(? :: bigint, ? :: bigint,
- ST_SetSRID(
- ST_CollectionHomogenize(
- ST_Collect(
- array[ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?) :: geometry
- , ST_GeomFromGeoJSON(?)]
- )),
- 98343
- )
- )]
- 2020-01-21 12:35:39.543 ERROR 63349 --- [nio-9090-exec-3] ru.altarix.ods.aop.LoggingAspect : Exception '{"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}' in ru.altarix.ods.repository.GeometryRepo.createGeometry()
- Args = '[27314221700031, 31, {polygons={"type":"Polygon","coordinates":[[[-9197.865956071428,20863.488272265084],[-9193.905483841398,20863.816936256007],[-9197.612557557211,20858.150399127633],[-9197.865956071428,20863.488272265084]]]}, lines=null, points=null}]'
- Cause = 'NULL'
- ru.altarix.ods.exceptions.BusinessSqlException: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- at ru.altarix.ods.config.PostgresExceptionTranslator.customTranslate(PostgresExceptionTranslator.java:45)
- at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:179)
- at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:649)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:684)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:716)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:726)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:776)
- at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:853)
- at ru.altarix.ods.repository.GeometryRepo.createGeometry(GeometryRepo.java:22)
- at ru.altarix.ods.repository.GeometryRepo$$FastClassBySpringCGLIB$$c7866e48.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.repository.GeometryRepo$$EnhancerBySpringCGLIB$$9a27ced5.createGeometry(<generated>)
- at ru.altarix.ods.usecases.cards.ObjectManager.create(ObjectManager.java:68)
- at ru.altarix.ods.usecases.cards.ObjectManager$$FastClassBySpringCGLIB$$a60b4631.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.usecases.cards.ObjectManager$$EnhancerBySpringCGLIB$$7b2425aa.create(<generated>)
- at ru.altarix.ods.web.rest.object.crud.Create.create(Create.java:18)
- at ru.altarix.ods.web.rest.object.crud.Create$$FastClassBySpringCGLIB$$4598d45d.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.web.rest.object.crud.Create$$EnhancerBySpringCGLIB$$3d0f634.create(<generated>)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:110)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)
- at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at ru.altarix.ods.config.ExcludeSessionRepositoryFilter.doFilterInternal(ExcludeSessionRepositoryFilter.java:30)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.lang.Thread.run(Thread.java:748)
- Suppressed: org.postgresql.util.PSQLException: ERROR: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- Где: PL/pgSQL function ods_object.add_object_geometry(bigint,bigint,geometry,boolean) line 39 at RAISE
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
- at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
- at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
- at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
- at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:117)
- at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
- at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
- at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:692)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633)
- ... 198 common frames omitted
- 2020-01-21 12:35:39.545 ERROR 63349 --- [nio-9090-exec-3] ru.altarix.ods.aop.LoggingAspect : Exception '{"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}' in ru.altarix.ods.usecases.cards.ObjectManager.create()
- Args = '[ModifyObject(id=null, rootId=null, type=31, attribute={"section_num":123,"total_lawn_area":123,"state_gardening_id":{"state_gardening":3},"lawn_type_id":{"lawn_type":3},"no_calc":0,"file_list":[]}, calcAttribute=null, treeActions={}, treeCountActions=0, startDate=2021-01-01, endDate=3000-01-01, comment=null, points=null, lines=null, polygons={"type":"Polygon","coordinates":[[[-9197.865956071428,20863.488272265084],[-9193.905483841398,20863.816936256007],[-9197.612557557211,20858.150399127633],[-9197.865956071428,20863.488272265084]]]}, ignoreIntersection=null, reasonId=null, isChild=true, childObjectTypeId=31, oldChildObjectId=0, pathObjectTypeId=31, pathObjectId=null, rootObjectId=27053629800038, rootObjectTypeId=38)]'
- Cause = 'NULL'
- ru.altarix.ods.exceptions.BusinessSqlException: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- at ru.altarix.ods.config.PostgresExceptionTranslator.customTranslate(PostgresExceptionTranslator.java:45)
- at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:179)
- at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:649)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:684)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:716)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:726)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:776)
- at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:853)
- at ru.altarix.ods.repository.GeometryRepo.createGeometry(GeometryRepo.java:22)
- at ru.altarix.ods.repository.GeometryRepo$$FastClassBySpringCGLIB$$c7866e48.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.repository.GeometryRepo$$EnhancerBySpringCGLIB$$9a27ced5.createGeometry(<generated>)
- at ru.altarix.ods.usecases.cards.ObjectManager.create(ObjectManager.java:68)
- at ru.altarix.ods.usecases.cards.ObjectManager$$FastClassBySpringCGLIB$$a60b4631.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.usecases.cards.ObjectManager$$EnhancerBySpringCGLIB$$7b2425aa.create(<generated>)
- at ru.altarix.ods.web.rest.object.crud.Create.create(Create.java:18)
- at ru.altarix.ods.web.rest.object.crud.Create$$FastClassBySpringCGLIB$$4598d45d.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.web.rest.object.crud.Create$$EnhancerBySpringCGLIB$$3d0f634.create(<generated>)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:110)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)
- at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at ru.altarix.ods.config.ExcludeSessionRepositoryFilter.doFilterInternal(ExcludeSessionRepositoryFilter.java:30)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.lang.Thread.run(Thread.java:748)
- Suppressed: org.postgresql.util.PSQLException: ERROR: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- Где: PL/pgSQL function ods_object.add_object_geometry(bigint,bigint,geometry,boolean) line 39 at RAISE
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
- at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
- at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
- at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
- at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:117)
- at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
- at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
- at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:692)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633)
- ... 198 common frames omitted
- 2020-01-21 12:35:39.582 ERROR 63349 --- [nio-9090-exec-3] ru.altarix.ods.aop.LoggingAspect : Exception '{"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}' in ru.altarix.ods.web.rest.object.crud.Create.create()
- Args = '[ModifyObject(id=null, rootId=null, type=31, attribute={"section_num":123,"total_lawn_area":123,"state_gardening_id":{"state_gardening":3},"lawn_type_id":{"lawn_type":3},"no_calc":0,"file_list":[]}, calcAttribute=null, treeActions={}, treeCountActions=0, startDate=2021-01-01, endDate=3000-01-01, comment=null, points=null, lines=null, polygons={"type":"Polygon","coordinates":[[[-9197.865956071428,20863.488272265084],[-9193.905483841398,20863.816936256007],[-9197.612557557211,20858.150399127633],[-9197.865956071428,20863.488272265084]]]}, ignoreIntersection=null, reasonId=null, isChild=true, childObjectTypeId=31, oldChildObjectId=0, pathObjectTypeId=31, pathObjectId=null, rootObjectId=27053629800038, rootObjectTypeId=38)]'
- Cause = 'NULL'
- ru.altarix.ods.exceptions.BusinessSqlException: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- at ru.altarix.ods.config.PostgresExceptionTranslator.customTranslate(PostgresExceptionTranslator.java:45)
- at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:179)
- at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:649)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:684)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:716)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:726)
- at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:776)
- at org.springframework.jdbc.core.JdbcTemplate.queryForList(JdbcTemplate.java:853)
- at ru.altarix.ods.repository.GeometryRepo.createGeometry(GeometryRepo.java:22)
- at ru.altarix.ods.repository.GeometryRepo$$FastClassBySpringCGLIB$$c7866e48.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.repository.GeometryRepo$$EnhancerBySpringCGLIB$$9a27ced5.createGeometry(<generated>)
- at ru.altarix.ods.usecases.cards.ObjectManager.create(ObjectManager.java:68)
- at ru.altarix.ods.usecases.cards.ObjectManager$$FastClassBySpringCGLIB$$a60b4631.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
- at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
- at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.usecases.cards.ObjectManager$$EnhancerBySpringCGLIB$$7b2425aa.create(<generated>)
- at ru.altarix.ods.web.rest.object.crud.Create.create(Create.java:18)
- at ru.altarix.ods.web.rest.object.crud.Create$$FastClassBySpringCGLIB$$4598d45d.invoke(<generated>)
- at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
- at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
- at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:85)
- at ru.altarix.ods.aop.LoggingAspect.logAround(LoggingAspect.java:67)
- at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:629)
- at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:618)
- at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
- at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
- at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
- at ru.altarix.ods.web.rest.object.crud.Create$$EnhancerBySpringCGLIB$$3d0f634.create(<generated>)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
- at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
- at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
- at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
- at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
- at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
- at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
- at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
- at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
- at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:110)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
- at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:64)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
- at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
- at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
- at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
- at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)
- at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at ru.altarix.ods.config.ExcludeSessionRepositoryFilter.doFilterInternal(ExcludeSessionRepositoryFilter.java:30)
- at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
- at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
- at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
- at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
- at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
- at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
- at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
- at java.lang.Thread.run(Thread.java:748)
- Suppressed: org.postgresql.util.PSQLException: ERROR: {"ids": [270511338], "allow": false, "object_attribute_hint": {"270511338": {"object_attribute_hint": [{"key": "title", "value": "Дворовые территории"}, {"key": "name", "value": "Наименование: ДТ\\Митинская ул. 55"}, {"key": "customer_name", "value": "Заказчик: Жилищник Митино"}, {"key": "owner_name", "value": "Балансодержатель: Жилищник Митино"}, {"key": "ogh_object_type_name", "value": "Дворовые территории"}, {"key": "id_ogh", "value": "ID ОГХ: 270511337"}], "object_attribute_hint_short": [{"key": "name", "value": "ДТ\\Митинская ул. 55"}]}}}
- Где: PL/pgSQL function ods_object.add_object_geometry(bigint,bigint,geometry,boolean) line 39 at RAISE
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2477)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2190)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:300)
- at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:428)
- at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:354)
- at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:169)
- at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:117)
- at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
- at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
- at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:692)
- at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:633)
- ... 198 common frames omitted
- 2020-01-21 12:35:42.278 DEBUG 63349 --- [nio-9090-exec-2] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL query
- 2020-01-21 12:35:42.279 DEBUG 63349 --- [nio-9090-exec-2] o.s.jdbc.core.JdbcTemplate : Executing prepared SQL statement [select ods_secr.set_user(?, true)]
- 2020-01-21 12:35:42.307 DEBUG 63349 --- [nio-9090-exec-2] o.s.jdbc.core.JdbcTemplate : Executing SQL query [select
- a.delay_request_count,
- b.all_request_count
- from
- (select
- sum(COALESCE(match_entity.get_matching_role(match_entity.get_last_matching(r.matching)) && match_entity.get_user_organization_role(), false)::int) --Те которые я должен согласовать
- as delay_request_count
- from
- ods_req_car.technic_request_v as r
- where
- now() >= (r.create_date + interval '4 hour')
- and
- r.state_id = const.technic_req_processed() --На согласовании
- ) a,
- (select
- sum(COALESCE(match_entity.get_matching_role(match_entity.get_last_matching(r.matching)) && match_entity.get_user_organization_role(), false)::int) --Те которые я должен согласовать
- as all_request_count
- from
- ods_req_car.technic_request_v as r
- where
- r.state_id = const.technic_req_processed() --На согласовании
- ) b
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement