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

VirtualFile is null for BeansUtils #317

Merged
merged 1 commit into from
Apr 5, 2023

Conversation

mlytvyn
Copy link
Collaborator

@mlytvyn mlytvyn commented Apr 5, 2023

java.lang.NullPointerException: Cannot invoke "com.intellij.openapi.vfs.VirtualFile.getExtension()" because "virtualFile" is null
	at com.intellij.idea.plugin.hybris.system.bean.BeansUtils.isGeneratedFile(BeansUtils.kt:34)
	at com.intellij.idea.plugin.hybris.system.bean.BeansUtils.isEnumFile(BeansUtils.kt:28)
	at com.intellij.idea.plugin.hybris.system.bean.codeInsight.daemon.DtoBeanLineMarkerProvider.canProcess(DtoBeanLineMarkerProvider.kt:36)
	at com.intellij.idea.plugin.hybris.codeInsight.daemon.AbstractHybrisClassLineMarkerProvider.canProcess(AbstractHybrisClassLineMarkerProvider.kt:40)
	at com.intellij.idea.plugin.hybris.codeInsight.daemon.AbstractHybrisLineMarkerProvider.collectSlowLineMarkers(AbstractHybrisLineMarkerProvider.kt:37)
	at com.intellij.codeInsight.daemon.impl.LineMarkersPass.queryProviders(LineMarkersPass.java:223)

@mlytvyn mlytvyn added this to the Release 2023.2.0 milestone Apr 5, 2023
@mlytvyn mlytvyn merged commit 1ce92b9 into epam:release/2023.2.0 Apr 5, 2023
@mlytvyn mlytvyn deleted the fix/2023.2.0/npe_beansUtils branch April 5, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant