ERROR: String is not parsed on SonarQube 9.5.0.56709

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Developer Edition Version 9.5.0 (build 56709)

  • what are you trying to achieve

Wer are trying to analyse a Swift source code, it’s giving as ERROR: String is not parsed for IOS Xcode 14.2 version

We have a piece of code that looks like this:
Error says it is on line 102, but is the closing parenthesis .

Please help us to resolve the issue, or the version needs to be upgraded

ERROR: String is not parsed (file PlusHome/HomeAwareness/Device/DeviceSelection/VZHADeviceSelectionApiModel.swift, line 102)
92: self?.navigation.setSetupStatus(setupStatus: VZHASetupState.incomplete)
93: completionHandler?(true)
94: }.onFailure { failureResponse in
95: completionHandler?(false)
96: VZLogger.log(.homeAwareness,
97: logLevel: .error,
98: message: LogConstants.APIError.updateHASetupState + failureResponse.message)
99:
100: }
101: }
102: }
^
103: }

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

9.5 → 9.9 → 10.0 (last step optional)

You may find the (https://docs.sonarqube.org/9.9/setup-and-upgrade/lts-to-lts-release-upgrade-notes/) helpful. If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

 
Ann

Thank you Ann, for the update.
Could you please let me know the steps to follow for upgrade.

Regards,
Pardha

Hi,

Here you go: Upgrade guide

 
Ann

Hi Ann,

Thanks, Can’t we upgrade from 9.5 to 10.0 directly or I should follow the sequence 9.5 → 9.9 → 10.0.

Regards,
Satya.

Hi Satya,

As indicated in my original response, to get to 10.0, you need to go through 9.9. The docs will help.

 
Ann