JetBrains / sbt-idea-plugin

Develop IntelliJ plugins with Scala and SBT
Apache License 2.0
97 stars 28 forks source link

Still NumberFormatException in updateIntellij #40

Closed exoego closed 4 years ago

exoego commented 4 years ago

37 is resolved in https://github.com/JetBrains/sbt-idea-plugin/commit/b1e825d00f1dde9110f799e3d3b04a93a78c913e and released in version 3.3.1,

but now the below error shows up when rebooting sbt after successful installation.

(ThisBuild / updateIntellij) java.lang.NumberFormatException: For input string: "192-2147483647"
mutcianm commented 4 years ago

This seems to be unrelated to previous bug. Apparently some plugin authors are not following IDEA's versioning convention(

exoego commented 4 years ago

This error does not show up if removing intellijExternalPlugins += "PsiViewer".toPlugin. So I assume PsiViewer does not follow convention.

Should I report an issue in https://github.com/cmf/psiviewer ?

mutcianm commented 4 years ago

No, thanks, it's fine. I'll just implement a more generic version comparison. Easier than reaching out to everyone who has malformed version string.