Error in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 17.0.7
  • OS: Mac OS X x86_64
  • IDE: IntelliJ IDEA 2023.1.5
  • SonarLint: 10.7.0.78874

Detector org.jetbrains.plugins.textmate.TextMateFileType$TextMateFileDetector@79e4e262 (class org.jetbrains.plugins.textmate.TextMateFileType$TextMateFileDetector) exception occurred:

com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
 at [Source: (BufferedInputStream); line: 1, column: 0]
	at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
	at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4821)
	at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4723)
	at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3714)
	at org.jetbrains.plugins.textmate.bundles.VSCBundleReaderKt.readVSCBundle(VSCBundleReader.kt:27)
	at org.jetbrains.plugins.textmate.TextMateServiceImpl.readBundle(TextMateServiceImpl.java:237)
	at org.jetbrains.plugins.textmate.TextMateServiceImpl.registerBundle(TextMateServiceImpl.java:270)
	at org.jetbrains.plugins.textmate.TextMateServiceImpl.registerBundles(TextMateServiceImpl.java:94)
	at org.jetbrains.plugins.textmate.TextMateServiceImpl.ensureInitialized(TextMateServiceImpl.java:260)
	at org.jetbrains.plugins.textmate.TextMateServiceImpl.getLanguageDescriptorByFileName(TextMateServiceImpl.java:202)
	at org.jetbrains.plugins.textmate.TextMateFileType$TextMateFileDetector.detect(TextMateFileType.java:89)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.lambda$detectFromContent$5(FileTypeDetectionService.java:553)

Hey there

Can you update to v10.8.1 and see if the issue persists?

If so, can you provide more details about what actions you’re taking in IntelliJ when you get this error?