Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test compilation for 2020.1 #1745

Merged
merged 9 commits into from Apr 11, 2020
Merged

Conversation

KronicDeth
Copy link
Owner

Changelog

Bug Fixes

  • Fix test compilation for 2020.1

@KronicDeth KronicDeth added this to the 11.6.0 milestone Apr 10, 2020
@KronicDeth KronicDeth self-assigned this Apr 10, 2020
0.48 is incompatible with 2020.1 testing by causing

```
java.lang.IllegalStateException: @NotNull method com/maddyhome/idea/vim/VimPlugin.getInstance must not return null
```
It causes an UnsupportedOperationException in 2020.1

```
ava.lang.UnsupportedOperationException
	at com.intellij.openapi.components.ComponentManager.getComponentInstancesOfType(ComponentManager.java:204)
	at com.intellij.openapi.components.ComponentManager.getComponents(ComponentManager.java:73)
	at com.intellij.openapi.projectRoots.SdkType.getAllTypes(SdkType.java:222)
	at com.intellij.openapi.projectRoots.impl.ProjectJdkTableImpl.findSdkTypeByName(ProjectJdkTableImpl.java:295)
	at com.intellij.openapi.projectRoots.impl.ProjectJdkTableImpl.getSdkTypeByName(ProjectJdkTableImpl.java:290)
	at org.elixir_lang.sdk.elixir.Type.erlangSdkType(Type.java:339)
```
Some components became services and the order of startup changed.
@KronicDeth KronicDeth merged commit e797933 into master Apr 11, 2020
@KronicDeth KronicDeth deleted the 2020.1-test-compatibility branch April 11, 2020 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant