本帖最后由 sujinfu 于 2021-11-15 09:39 编辑
新建项目无法加载MCC,原来的项目可以加载
09:10:42.371 SEVERE: Invalid configuration file.
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604)
at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:83)
at org.simpleframework.xml.stream.StreamReader.read(StreamReader.java:110)
at org.simpleframework.xml.stream.StreamReader.read(StreamReader.java:122)
at org.simpleframework.xml.stream.StreamReader.next(StreamReader.java:94)
at org.simpleframework.xml.stream.NodeReader.readElement(NodeReader.java:111)
at org.simpleframework.xml.stream.NodeReader.readRoot(NodeReader.java:85)
at org.simpleframework.xml.stream.NodeBuilder.read(NodeBuilder.java:84)
at org.simpleframework.xml.stream.NodeBuilder.read(NodeBuilder.java:58)
at org.simpleframework.xml.core.Persister.read(Persister.java:543)
at org.simpleframework.xml.core.Persister.read(Persister.java:444)
[catch] at com.microchip.mcc.host.services.project.ConfigurationContainer.fromFile(ConfigurationContainer.java:51)
at com.microchip.mcc.host.services.project.AHostProjectService.loadFromFile(AHostProjectService.java:109)
at com.microchip.mcc.host.services.project.AHostProjectService.loadConfig(AHostProjectService.java:72)
at com.microchip.mcc.plugin.Controller.loadConfiguration(Controller.java:106)
at com.microchip.mcc.plugin.Controller.open(Controller.java:97)
at com.microchip.mcc.plugin.Controller.openClosePlugin(Controller.java:184)
at com.microchip.mcc.plugin.view.toolbar.ToolbarMccIcon.lambda$performAction$2(ToolbarMccIcon.java:110)
at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$3(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)
|