Pb publi fichier avec message d'erreur non affiché
Avec le yaml ci-joint des conditions de prélèvement (remanié avec les nouveaux OA...) j'ai une erreur à l'insertion du fichier avec le message : "impossible de lire le message d'erreur" ==> du coup je n'arrive pas à trouver l'erreur. (le dépot passe bien; j'ai tenté une date de fin au 31/12/2021 et 01/01/2022 mais meme résultat) ; j'ai testé aussi avec un autre fichier. Les 2 fichiers testés passé bien dans la OA prod (ancienne mouture donc).
Merci si je peux savoir rapidement ce qui bloque, peut-etre un détail mais je n'arrive pas à trouver.
OA_suivi_des_lacs_leman_conditions_prelevements_01-01-2021_31-12-2021__V9_.csvOA-dev-conditions_prelevement.yamlOA_REFERENTIELS_0-11.zip
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Philippe Tcherniatinsky assigned to @ptcherniati
assigned to @ptcherniati
- Ghislaine Monet assigned to @lucile.varloteaux
assigned to @lucile.varloteaux
- VARLOTEAUX Lucile assigned to @ghislaine.monet and unassigned @lucile.varloteaux
assigned to @ghislaine.monet and unassigned @lucile.varloteaux
- Maintainer
tu veux bien me faire 2 ticket distonc car ce sont 2 problème distonct ? merci
- Ghislaine Monet changed title from Pb affichage oa_title dans submission et publi fichier et message d'erreur non affiché to Pb publi fichier avec message d'erreur non affiché
changed title from Pb affichage oa_title dans submission et publi fichier et message d'erreur non affiché to Pb publi fichier avec message d'erreur non affiché
- Ghislaine Monet changed the description
changed the description
- Author Maintainer
J'ai modifier le ticket, il n'y a plus qu'un seul pb dans celui-ci.
1 - VARLOTEAUX Lucile assigned to @lucile.varloteaux and unassigned @ghislaine.monet
assigned to @lucile.varloteaux and unassigned @ghislaine.monet
- Maintainer
Save de l'erreur console pour
POST http://localhost:8081/api/v1/applications/olaprelev/data/t_conditions_prelevement_cpr
{"timestamp":1734104452043,"status":500,"error":"Internal Server Error","trace":"java.lang.ClassCastException: class fr.inra.oresing.domain.checker.type.PatternType cannot be cast to class fr.inra.oresing.domain.checker.type.StringType (fr.inra.oresing.domain.checker.type.PatternType and fr.inra.oresing.domain.checker.type.StringType are in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @165dd3c4)\n\tat fr.inra.oresing.domain.data.deposit.validation.validationcheckresults.GroovyValidationCheckResult.success(GroovyValidationCheckResult.java:21)\n\tat fr.inra.oresing.domain.checker.LineChecker$OneChecker.checkReference(LineChecker.java:333)\n\tat fr.inra.oresing.domain.data.deposit.DataImporter.check(DataImporter.java:161)\n\tat fr.inra.oresing.domain.data.deposit.DataImporter.lambda$doImport$12(DataImporter.java:261)\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)\n\tat java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)\n\tat java.base/java.util.LinkedList$LLSpliterator.tryAdvance(LinkedList.java:1263)\n\tat java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:280)\n\tat java.base/java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1950)\n\tat java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:292)\n\tat java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)\n\tat java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161)\n\tat java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:298)\n\tat java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)\n\tat com.google.common.collect.Iterators$4.hasNext(Iterators.java:629)\n\tat java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)\n\tat fr.inra.oresing.persistence.JsonTableRepositoryTemplate.storeAll(JsonTableRepositoryTemplate.java:63)\n\tat fr.inra.oresing.persistence.JsonTableInApplicationSchemaRepositoryTemplate.storeAll(JsonTableInApplicationSchemaRepositoryTemplate.java:13)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:355)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:716)\n\tat fr.inra.oresing.persistence.DataRepository$$SpringCGLIB$$627.storeAll(<generated>)\n\tat fr.inra.oresing.rest.data.DataService.lambda$addData$1(DataService.java:141)\n\tat fr.inra.oresing.domain.data.deposit.DataImporter.storeAll(DataImporter.java:603)\n\tat fr.inra.oresing.domain.data.deposit.DataImporter.doImport(DataImporter.java:276)\n\tat fr.inra.oresing.rest.data.DataService.addData(DataService.java:147)\n\tat fr.inra.oresing.rest.data.DataService.addData(DataService.java:125)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:355)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:379)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:720)\n\tat fr.inra.oresing.rest.data.DataService$$SpringCGLIB$$0.addData(<generated>)\n\tat fr.inra.oresing.rest.data.VersioningService.createData(VersioningService.java:68)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:355)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)\n\tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:379)\n\tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)\n\tat org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:720)\n\tat fr.inra.oresing.rest.data.VersioningService$$SpringCGLIB$$0.createData(<generated>)\n\tat fr.inra.oresing.rest.OreSiResources.createData(OreSiResources.java:466)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:580)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:255)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:188)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)\n\tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)\n\tat jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)\n\tat org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)\n\tat jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)\n\tat org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:113)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n\tat org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)\n\tat org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n","message":"class fr.inra.oresing.domain.checker.type.PatternType cannot be cast to class fr.inra.oresing.domain.checker.type.StringType (fr.inra.oresing.domain.checker.type.PatternType and fr.inra.oresing.domain.checker.type.StringType are in unnamed module of loader org.springframework.boot.devtools.restart.classloader.RestartClassLoader @165dd3c4)","path":"/api/v1/applications/olaprelev/data/t_conditions_prelevement_cpr"}
Edited by VARLOTEAUX Lucile - VARLOTEAUX Lucile added In Progress label
added In Progress label
- Maintainer
@ghislaine.monet ton erreur vient en partie du checker float sur la valeur de la variable dans patterncomponent car il essaye de transformer une chaîne de caractère en nombre décimal ce qui n'est pas possible
Edited by VARLOTEAUX Lucile - VARLOTEAUX Lucile assigned to @ptcherniati and unassigned @lucile.varloteaux
assigned to @ptcherniati and unassigned @lucile.varloteaux
- Maintainer
@philippe dans "DataColumnPatternValue" il faut rebrancher la méthode "transform" avec "Maps.transformValues(values, transformation::apply);"
- Philippe Tcherniatinsky moved from frontend#324
moved from frontend#324
- Philippe Tcherniatinsky created branch
4-pb-publi-fichier-avec-message-d-erreur-non-affiche
to address this issuecreated branch
4-pb-publi-fichier-avec-message-d-erreur-non-affiche
to address this issue - Philippe Tcherniatinsky mentioned in merge request !6 (merged)
mentioned in merge request !6 (merged)
- Philippe Tcherniatinsky mentioned in commit 171b0e23
mentioned in commit 171b0e23
- Maintainer
correction dans 171b0e23 reste l'erreur Error: Il manque la chaine de traduction pour l'erreur suivante. Merci de vérifier que ce n'est pas un problème d'indentation ou de fichier avant de contacter les administrateurs. missingMandatoryColumns
fait avec le fichier joint OA-dev-conditions_prelevement.yaml
- Philippe Tcherniatinsky assigned to @lucile.varloteaux and unassigned @ptcherniati
assigned to @lucile.varloteaux and unassigned @ptcherniati
- Maintainer
traduction message missingMandatoryColumns faite dans le commit frontend@1e69a06b
Edited by VARLOTEAUX Lucile