java.lang.IllegalStateException

Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8'

Solutions on the web16054

  • via Google Groups by Michael Giroux, 9 months ago
    Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8'
  • Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8'
  • via Google Groups by Giacomo Boccardo, 1 year ago
    Fail to read file 'C:\PARENT-1-PROJECT_LOC\pom.xml' with encoding 'UTF-8'
  • Stack trace

    • java.lang.IllegalStateException: Fail to read file 'C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF' with encoding 'UTF-8' at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileMetadata.readFile(FileMetadata.java:163) at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileMetadata.readMetadata(FileMetadata.java:139) at org.sonarsource.sonarlint.core.container.analysis.filesystem.InputFileBuilder.create(InputFileBuilder.java:49) at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileIndexer.indexFile(FileIndexer.java:85) at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileIndexer.indexFiles(FileIndexer.java:80) at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileIndexer.index(FileIndexer.java:68) at org.sonarsource.sonarlint.core.container.analysis.filesystem.SonarLintFileSystem.index(SonarLintFileSystem.java:39) at org.sonarsource.sonarlint.core.analyzer.sensor.PhaseExecutor.execute(PhaseExecutor.java:42) at org.sonarsource.sonarlint.core.container.analysis.AnalysisContainer.doAfterStart(AnalysisContainer.java:143) at org.sonarsource.sonarlint.core.container.ComponentContainer.startComponents(ComponentContainer.java:125) at org.sonarsource.sonarlint.core.container.ComponentContainer.execute(ComponentContainer.java:110) at org.sonarsource.sonarlint.core.container.standalone.StandaloneGlobalContainer.analyze(StandaloneGlobalContainer.java:118) at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:93) at org.sonarsource.sonarlint.core.StandaloneSonarLintEngineImpl.analyze(StandaloneSonarLintEngineImpl.java:83) at org.sonarlint.eclipse.core.internal.jobs.StandaloneSonarLintClientFacade.runAnalysis(StandaloneSonarLintClientFacade.java:60) at org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob.run(AnalyzeProjectJob.java:457) at org.sonarlint.eclipse.core.internal.jobs.AnalyzeProjectJob$AnalysisThread.run(AnalyzeProjectJob.java:127) Caused by: java.io.FileNotFoundException: C:\Users\mgiroux\git\b2b-applications-yelp\yelp-b2b-ear\target\m2e-wtp\ear-resources\META-INF\MANIFEST.MF (The system cannot find the path specified) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at org.sonarsource.sonarlint.core.container.analysis.filesystem.FileMetadata.readFile(FileMetadata.java:158) ... 16 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 23 hours ago
    15 times, 2 weeks ago
    3 times, 2 weeks ago
    Once, 2 weeks ago
    8 times, 3 weeks ago
    194 more bugmates