Hi,
I am trying to import some custom dashboard prepared in last project but when I am trying to import that dashboard I am getting following error,
"Failed to open Dashboard "
Please Help,
Best Regards,
Jaydatt.
Answer by Jaydatt D. ·
Hi Roman,
yes after removing that I am also able to open the dashboards.
thanks for help
Jaydatt
Answer by Jaydatt D. ·
please anyone can help????
It seems that you have some invalid XML here. Open the file up with an XML Editor and you will see that you have some invalid XML closing tags in there.
Also - the dynaTrace Client logfile contains some information about that problem as well after trying to open that xml file:
2013-02-04 10:24:55 SEVERE [com.dynatrace.diagnostics.client.communication.AbstractCommunicationManager$11] communication error 'Requesting dashboard configuration':: com.dynatrace.diagnostics.client.communication.AsyncCallJob jobFinishedWithErrors:136 java.io.IOException: Failed to load Dashboard from file 'C:\Users\cwat-agrabner\Desktop\after_update.dashboard.xml' at com.dynatrace.diagnostics.sdk.dashboard.internal.DashboardConfigManager.loadDashboardConfigurationFromFile(SourceFile:678) at com.dynatrace.diagnostics.client.communication.local.LocalDashboardConfigManager.getDashboardConfiguration(LocalDashboardConfigManager.java:45) at com.dynatrace.diagnostics.client.communication.local.LocalCommunicationManager.getDashboardConfiguration(LocalCommunicationManager.java:583) at com.dynatrace.diagnostics.client.communication.AbstractCommunicationManager$11.execute(AbstractCommunicationManager.java:1704) at com.dynatrace.diagnostics.client.communication.AbstractCommunicationManager$11.execute(AbstractCommunicationManager.java:1700) at com.dynatrace.diagnostics.client.communication.AsyncCallJob.execute(AsyncCallJob.java:101) at com.dynatrace.diagnostics.client.communication.AsyncCallJob.runTask(AsyncCallJob.java:72) at com.dynatrace.diagnostics.client.core.jobs.AbstractJob.run(AbstractJob.java:108) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.jdom.input.JDOMParseException: Error on line 625: Content is not allowed in trailing section. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:557) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:889) at com.dynatrace.diagnostics.util.modern.JDomHelper.loadDocument(JDomHelper.java:232) at com.dynatrace.diagnostics.util.modern.JDomHelper.loadDocument(JDomHelper.java:208) at com.dynatrace.diagnostics.sdk.memento.XMLMementoSerializer.deserialize(SourceFile:102) at com.dynatrace.diagnostics.sdk.memento.XMLMementoSerializer.deserialize(SourceFile:67) at com.dynatrace.diagnostics.sdk.dashboard.internal.DashboardConfigManager.loadDashboardConfigurationFromFile(SourceFile:625) ... 8 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in trailing section. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:542)
hey Andi,
u mean both the files are invalid???? coz i m able to open both the xml's
Jaydatt.
Maybe this is a problem of uploading of the XMLs but right now the two files attached to this page are 64kb in size and have around 13kb of <null> characters at the end. The makes them invalid XML, after I removed them with a text editor (basically everything after the closing </dynatrace> tag) I can open both dashboards.
What does your dynaTrace client write to its log file when you try to open it? The same message that Andi posted above?
Best, Roman
Answer by Jaydatt D. ·
I am sending you both original as well as updated xml.
also when I paste this xml in server --> conf --> dashboard and try to open but that file is not even listed there..
Please help
after_update.dashboard.xmloriginal.dashboard.xml
Jaydatt
Answer by Jaydatt D. ·
thanks for quick relpy..
current version is 5 and i am trying to import dashboard which was created in version 4.2 but before importing that i changed version in xml.
and sorry i don't have internet access on dynatrace server so cant take xml from server.
Jaydatt.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET