Erreur à la deuxième ligne
var report = Ext.util.JSON.decode(reportNodes[0][org.ametys.servercomm.ServerComm.xmlTextContent])[0];
if(report.syncOk == 'true')
Et voici le contenu de reportNodes[0][org.ametys.servercomm.ServerComm.xmlTextContent]
"{"syncFailed":"true","programCode":"5E29-101","stacktrace":"ERROR : org.ametys.runtime.plugins.core.sqlmap.dao.DataAccessException: Unable to get the program with codes DIP : 5E29, VDI :101\r\n\tat org.ametys.odf.apogee.daos.DefaultApogeeDAO.getProgram(DefaultApogeeDAO.java:77)\r\n\tat org.ametys.odf.apogee.program.ApogeeProgramsSynchronizationManager._synchronizeProgram(ApogeeProgramsSynchronizationManager.java:209)\r\n\tat org.ametys.odf.apogee.program.ApogeeProgramsSynchronizationManager.synchronizeProgram(ApogeeProgramsSynchronizationManager.java:171)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\r\n\tat java.lang.reflect.Method.invoke(Method.java:597)\r\n\tat org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)\r\n\tat $Proxy35.synchronizeProgram(Unknown Source)\r\n\tat org.ametys.odf.program.actions.SynchronizeProgramAction.act(SynchronizeProgramAction.java:131)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:193)\r\n\tat org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:193)\r\n\tat org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)\r\n\tat org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333)\r\n\tat org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215)\r\n\tat org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:65)\r\n\tat org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)\r\n\tat org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)\r\n\tat org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)\r\n\tat org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)\r\n\tat org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)\r\n\tat org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:125)\r\n\tat org.ametys.runtime.plugins.core.dispatcher.DispatchGenerator.generate(DispatchGenerator.java:81)\r\n\tat org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)\r\n\tat org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)\r\n\tat org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:481)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)\r\n\tat org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)\r\n\tat org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)\r\n\tat org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)\r\n\tat org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)\r\n\tat org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)\r\n\tat org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)\r\n\tat org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)\r\n\tat org.apache.cocoon.Cocoon.process(Cocoon.java:699)\r\n\tat org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)\r\n\tat org.ametys.runtime.servlet.RuntimeServlet._doService(RuntimeServlet.java:133)\r\n\tat org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:90)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:717)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)\r\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)\r\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\r\n\tat java.lang.Thread.run(Thread.java:619)\r\nCaused by: java.sql.SQLException: Exception d'E/S: The Network Adapter could not establish the connection\r\n\tat oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)\r\n\tat oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)\r\n\tat oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)\r\n\tat oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)\r\n\tat oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)\r\n\tat oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)\r\n\tat oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)\r\n\tat oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)\r\n\tat java.sql.DriverManager.getConnection(DriverManager.java:582)\r\n\tat java.sql.DriverManager.getConnection(DriverManager.java:185)\r\n\tat org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75)\r\n\tat org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)\r\n\tat org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)\r\n\tat org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)\r\n\tat com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.init(JdbcTransaction.java:48)\r\n\tat com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:89)\r\n\tat com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForObject(GeneralStatement.java:104)\r\n\tat com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:566)\r\n\tat com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:541)\r\n\tat com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:106)\r\n\tat com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:83)\r\n\tat org.ametys.odf.apogee.daos.DefaultApogeeDAO.getProgram(DefaultApogeeDAO.java:73)\r\n\t... 99 more\r\n\n"}"
La véritable erreur ne s'affiche pas.
- duplicates
-
ODF-267 JS bug after synchronization ends
- Closed