findbugsproject / findbugs

The new home of the FindBugs project
753 stars 183 forks source link

ExcludeBaseLineBug files configuration failed.: Failing reading D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Sax error while parsing D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Invalid top-level element (expected BugCollection, saw FindBugsFilter) #181

Closed huangyichun closed 2 years ago

huangyichun commented 5 years ago

Product Infos FindBugs: 3.0.1 FindBugs-IDEA: FindBugs-IDEA 1.0.1 IDEA: IntelliJ IDEA 2018.1.6 IDEA-Build: IU-181.5540.7, July 11, 2018 JRE: 1.8.0_152-release-1136-b39 amd64 JVM: OpenJDK 64-Bit Server VM JetBrains s.r.o

ExcludeBaseLineBug files configuration failed.: Failing reading D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Sax error while parsing D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Invalid top-level element (expected BugCollection, saw FindBugsFilter) org.dom4j.DocumentException: Failing reading D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Sax error while parsing D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Invalid top-level element (expected BugCollection, saw FindBugsFilter) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:328) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:309) at edu.umd.cs.findbugs.ExcludingHashesBugReporter.addToExcludedInstanceHashes(ExcludingHashesBugReporter.java:57) at edu.umd.cs.findbugs.ExcludingHashesBugReporter.(ExcludingHashesBugReporter.java:44) at edu.umd.cs.findbugs.FindBugs.configureBaselineFilter(FindBugs.java:533) at edu.umd.cs.findbugs.FindBugs2.excludeBaselineBugs(FindBugs2.java:379) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.configureFilter(FindBugsStarter.java:485) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.executeImpl(FindBugsStarter.java:349) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStartImpl(FindBugsStarter.java:244) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStart(FindBugsStarter.java:217) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.access$300(FindBugsStarter.java:73) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter$3.run(FindBugsStarter.java:201) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:750) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144) at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Nested exception: org.dom4j.DocumentException: Sax error while parsing D:\IdeaProject\console-navigator\findbugs-exclude.xml Nested exception: Invalid top-level element (expected BugCollection, saw FindBugsFilter) at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:422) at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:384) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:360) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:324) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:309) at edu.umd.cs.findbugs.ExcludingHashesBugReporter.addToExcludedInstanceHashes(ExcludingHashesBugReporter.java:57) at edu.umd.cs.findbugs.ExcludingHashesBugReporter.(ExcludingHashesBugReporter.java:44) at edu.umd.cs.findbugs.FindBugs.configureBaselineFilter(FindBugs.java:533) at edu.umd.cs.findbugs.FindBugs2.excludeBaselineBugs(FindBugs2.java:379) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.configureFilter(FindBugsStarter.java:485) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.executeImpl(FindBugsStarter.java:349) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStartImpl(FindBugsStarter.java:244) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStart(FindBugsStarter.java:217) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.access$300(FindBugsStarter.java:73) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter$3.run(FindBugsStarter.java:201) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:750) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144) at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Nested exception: org.xml.sax.SAXException: Invalid top-level element (expected BugCollection, saw FindBugsFilter) at edu.umd.cs.findbugs.SAXBugCollectionHandler.startElement(SAXBugCollectionHandler.java:188) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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 edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:412) at edu.umd.cs.findbugs.SortedBugCollection.doReadXML(SortedBugCollection.java:384) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:360) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:324) at edu.umd.cs.findbugs.SortedBugCollection.readXML(SortedBugCollection.java:309) at edu.umd.cs.findbugs.ExcludingHashesBugReporter.addToExcludedInstanceHashes(ExcludingHashesBugReporter.java:57) at edu.umd.cs.findbugs.ExcludingHashesBugReporter.(ExcludingHashesBugReporter.java:44) at edu.umd.cs.findbugs.FindBugs.configureBaselineFilter(FindBugs.java:533) at edu.umd.cs.findbugs.FindBugs2.excludeBaselineBugs(FindBugs2.java:379) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.configureFilter(FindBugsStarter.java:485) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.executeImpl(FindBugsStarter.java:349) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStartImpl(FindBugsStarter.java:244) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.asyncStart(FindBugsStarter.java:217) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter.access$300(FindBugsStarter.java:73) at org.twodividedbyzero.idea.findbugs.core.FindBugsStarter$3.run(FindBugsStarter.java:201) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:750) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:157) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144) at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:395) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:305) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

iloveeclipse commented 2 years ago

This project continues development in a new home: https://github.com/spotbugs/spotbugs/

Please do not open new issues here anymore!