Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IntelliJ][ReportedByUser] Uncaught Exception Error org.xml.sax.SAXParseException; systemId: file:/C:/Users/Gopichaithanya/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/azure-toolkit-for-intellij/data.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. #4490

Closed
gopichaithanya opened this issue Jul 2, 2020 · 2 comments · Fixed by #4540

Comments

@gopichaithanya
Copy link

IntelliJ build version: 2020.1.2 IC-201.7846.76
OS: Windows 10
JDK: JetBrains s.r.o. 11.0.7
Plugin version: 3.39.0-2020.1
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,6,6,1281x690,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=Error, throwable=org.xml.sax.SAXParseException; systemId: file:/C:/Users/Gopichaithanya/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/azure-toolkit-for-intellij/data.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at com.microsoft.azuretools.azurecommons.util.ParserXMLUtility.parseXMLFile(ParserXMLUtility.java:70)
	at com.microsoft.intellij.AzurePlugin.setValues(AzurePlugin.java:255)
	at com.microsoft.intellij.AzurePlugin.initializeTelemetry(AzurePlugin.java:163)
	at com.microsoft.intellij.AzurePlugin.runActivity(AzurePlugin.java:128)
``
@andxu
Copy link
Contributor

andxu commented Jul 3, 2020

Hi @gopichaithanya , could you please check file C:/Users/Gopichaithanya/AppData/Roaming/JetBrains/IdeaIC2020.1/plugins/azure-toolkit-for-intellij/data.xmlwith proper xml header:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

@andxu andxu self-assigned this Jul 3, 2020
@andxu andxu added this to the V3.40.0 milestone Jul 14, 2020
@andxu
Copy link
Contributor

andxu commented Jul 14, 2020

@Flanker32 , We should delete existing file if it is corrupt .

@andxu andxu assigned Flanker32 and unassigned andxu Jul 14, 2020
@andxu andxu pinned this issue Aug 7, 2020
@andxu andxu unpinned this issue Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants