kir_dfg » 01 мар 2017, 12:11
NastasyaS писал(а):vladim74 писал(а):NastasyaS писал(а):Всем доброго дня! У меня вопрос по ошибке валидации по схеме... Дело в том, что предложенный способ устранения проблемы нам совсем не помог, все поля перепроверили уже сто раз, все заполнено, но сообщение не пропадает, на контроль ПЗ не уходит уже почти месяц((( Может кто-нибудь сталкивался с подобным, решили данную проблему другим способом или техподдержка помогла? Нам не отвечают, хотя пишу и звоню каждый день
Простите рад бы помочь но не знаю что такое
валидация по схеме..
Вот такое сообщение
java.lang.RuntimeException: ru.lanit.pgz.crypto.CryptoException: ru.lanit.pgz.crypto.CryptoException: java.lang.RuntimeException: Error occurred while validating print form [printFormContentId = 4837536]. Ошибка при валидации по схеме. 3376:37 cvc-complex-type.2.4.a: Invalid content was found starting with element 'purchaseNumber'. One of '{"http://zakupki.gov.ru/oos/types/1":KVRInfo}' is expected. at ru.lanit.fz44.util.sign.AbstractEntityPublishService.getAction(AbstractEntityPublishService.java:138) at ru.lanit.fz44.web.rpz.beans.PlanEditionBean.getAction(PlanEditionBean.java:578) at ru.lanit.fz44.util.sign.PublishHelper.getAction(PublishHelper.java:66) at ru.lanit.fz44.crypto.controller.publicationV2.PublicationController.doAction(PublicationController.java:62) at sun.reflect.GeneratedMethodAccessor1923.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:920) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:816) at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1635) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:149) at ru.lanit.fz44.filters.UserFilter.doFilterInternal(UserFilter.java:82) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125) at ru.lanit.monitoring.monitors.RequestMonitor.doFilterMonitored(RequestMonitor.java:84) at ru.lanit.monitoring.monitors.RequestMonitor.doFilter(RequestMonitor.java:49) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125) at ru.lanit.auth.user.control.filters.UserMaxActiveFilter.doFilter(UserMaxActiveFilter.java:63) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:125) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:80) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:965) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:508) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:878) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:191) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:516) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:307) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:84) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1662) Caused by: ru.lanit.pgz.crypto.CryptoException: ru.lanit.pgz.crypto.CryptoException: java.lang.RuntimeException: Error occurred while validating print form [printFormContentId = 4837536]. Ошибка при валидации по схеме. 3376:37 cvc-complex-type.2.4.a: Invalid content was found starting with element 'purchaseNumber'. One of '{"http://zakupki.gov.ru/oos/types/1":KVRInfo}' is expected. at ru.lanit.fz44.web.rpz.beans.PlanEditionBean.publish(PlanEditionBean.java:349) at ru.lanit.fz44.util.sign.AbstractEntityPublishService.getAction(AbstractEntityPublishService.java:134) ... 62 more Caused by: ru.lanit.pgz.crypto.CryptoException: java.lang.RuntimeException: Error occurred while validating print form [printFormContentId = 4837536]. Ошибка при валидации по схеме. 3376:37 cvc-complex-type.2.4.a: Invalid content was found starting with element 'purchaseNumber'. One of '{"http://zakupki.gov.ru/oos/types/1":KVRInfo}' is expected. at ru.lanit.fz44.ejb.service.rpz.impl.PlanEditionServiceBean.publish(PlanEditionServiceBean.java:452) at sun.reflect.GeneratedMethodAccessor2503.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ejs.container.EJSContainer.invokeProceed(EJSContainer.java:5882) at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:586) at ru.lanit.monitoring.monitors.aop.MonitoredOperationInterceptor.monitorAroundMethod(MonitoredOperationInterceptor.java:62) at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227) at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:566) at ru.lanit.fz44.ejb.common.interceptors.ContextEjbInterceptor.invoke(ContextEjbInterceptor.java:46) at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227) at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:566) at com.ibm.ejs.container.interceptors.InvocationContextImpl.doAroundInvoke(InvocationContextImpl.java:217) at com.ibm.ejs.container.EJSContainer.invoke(EJSContainer.java:5774) at ru.lanit.fz44.ejb.service.rpz.api.EJSRemote0SLPlanEditionServiceBean_3c8ff864.publish(EJSRemote0SLPlanEditionServiceBean_3c8ff864.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.ibm.CORBA.iiop.ClientDelegate$3.run(ClientDelegate.java:1190) at java.security.AccessController.doPrivileged(AccessController.java:413) at com.ibm.CORBA.iiop.ClientDelegate.invoke0(ClientDelegate.java:1187) at com.ibm.CORBA.iiop.ClientDelegate$ClientDelegate0.invoke(ClientDelegate.java:1424) at com.sun.proxy.$Proxy218.publish(Unknown Source) at ru.lanit.fz44.ejb.service.rpz.api._PlanEditionService_Stub.publish(_PlanEditionService_Stub.java) at sun.reflect.GeneratedMethodAccessor2639.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.remoting.rmi.RmiClientInterceptorUtils.invokeRemoteMethod(RmiClientInterceptorUtils.java:111) at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvoke(SimpleRemoteSlsbInvokerInterceptor.java:99) at org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.invokeInContext(AbstractRemoteSlsbInvokerInterceptor.java:141) at org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.invoke(AbstractSlsbInvokerInterceptor.java:189) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy55.publish(Unknown Source) at ru.lanit.fz44.web.rpz.beans.PlanEditionBean.publish(PlanEditionBean.java:344) ... 63 more Caused by: java.lang.RuntimeException: Error occurred while validating print form [printFormContentId = 4837536]. Ошибка при валидации по схеме. 3376:37 cvc-complex-type.2.4.a: Invalid content was found starting with element 'purchaseNumber'. One of '{"http://zakupki.gov.ru/oos/types/1":KVRInfo}' is expected. at ru.lanit.fz44.util.printform.PrintFormValidator.validateAndUpdatePFContent(PrintFormValidator.java:65) at ru.lanit.fz44.util.printform.PrintFormValidator.valildatePrintForm(PrintFormValidator.java:33) at ru.lanit.fz44.service.rpz.spring.PlanEditionPublicationServiceImpl.sendToControl99(PlanEditionPublicationServiceImpl.java:134) at ru.lanit.fz44.service.rpz.spring.PlanEditionPublicationServiceImpl$$FastClassByCGLIB$$6cc456ad.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:132) at org.springframework.transaction.jta.WebSphereUowTransactionManager$UOWActionAdapter.run(WebSphereUowTransactionManager.java:338) at com.ibm.ws.uow.UOWManagerImpl.runUnderCurrentUOW(UOWManagerImpl.java:1341) at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:634) at org.springframework.transaction.jta.WebSphereUowTransactionManager.execute(WebSphereUowTransactionManager.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:127) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631) at ru.lanit.fz44.service.rpz.spring.PlanEditionPublicationServiceImpl$$EnhancerByCGLIB$$1ee4c7b8.sendToControl99() at ru.lanit.fz44.ejb.service.rpz.impl.PlanEditionServiceBean.publish(PlanEditionServiceBean.java:433) ... 104 more
Ну он ссылается на КВР. Видимо, где-то он не заполнен все-таки. Браузер - вряд ли причем, но почему бы и не попробовать. Отпишитесь, пожалуйста, если получится, то добавим. А так - пока еще не было случаев, чтобы причиной не оказалось именно пустое поле...
Машины времени есть у каждого. Те, что переносят в прошлое, зовутся воспоминаниями, а те, что уносят в будущее - мечтами ©