Dear Arrow Core Team Please kindly help: I am us...
# arrow
j
Dear Arrow Core Team Please kindly help: I am using arrow-core:1.0.1 in my kotlin project. recently I upgraded kotlin version from 1.6.0 to 1.6.21 and ktor from 1.6.0 to 2.0.1, but keep arrow-core version as it is now when I am building my kotlin project from remote CICD pipeline, I constantly observed the build failures (see the attachment for full stack). several re-tries can fix this problem. But I want to know the root cause here. I cannot search out any similar case from Bing.com for rootcause. hence I have no clue what is happening around. Maybe arrow-core:1.0.1 will NOT work with latest 1.6.21 kotlin... Caused by: java.lang.IllegalArgumentException: Missing extension point: org.jetbrains.kotlin.com.intellij.documentWriteAccessGuard in container org.jetbrains.kotlin.com.intellij.core.CoreApplicationEnvironment$1@3b88f6af at org.jetbrains.kotlin.com.intellij.openapi.extensions.impl.ExtensionsAreaImpl.getExtensionPoint(ExtensionsAreaImpl.java:273) at org.jetbrains.kotlin.com.intellij.openapi.extensions.BaseExtensionPointName.getPointImpl(BaseExtensionPointName.java:28) at org.jetbrains.kotlin.com.intellij.openapi.extensions.ExtensionPointName.getExtensions(ExtensionPointName.java:38) at org.jetbrains.kotlin.com.intellij.openapi.editor.impl.DocumentImpl.assertWriteAccess(DocumentImpl.java:700) at org.jetbrains.kotlin.com.intellij.openapi.editor.impl.DocumentImpl.replaceString(DocumentImpl.java:605) at org.jetbrains.kotlin.com.intellij.openapi.editor.impl.DocumentImpl.lambda$setText$2(DocumentImpl.java:1083) at org.jetbrains.kotlin.com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:211) at org.jetbrains.kotlin.com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:177) at org.jetbrains.kotlin.com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:167) at org.jetbrains.kotlin.com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:153) at org.jetbrains.kotlin.com.intellij.openapi.editor.impl.DocumentImpl.setText(DocumentImpl.java:1088) at arrow.meta.quotes.QuoteProcessorKt$changeSource$1$1.invoke(QuoteProcessor.kt:205) at arrow.meta.quotes.QuoteProcessorKt$changeSource$1$1.invoke(QuoteProcessor.kt:203) at arrow.meta.phases.analysis.MetaFileViewProvider.getDocument(MetaFileViewProvider.kt:17) at org.jetbrains.kotlin.com.intellij.psi.AbstractFileViewProvider$VirtualFileContent.getText(AbstractFileViewProvider.java:468)
i
It seems that your project depends on arrow-meta, does your project depend on arrow-optics by any chance or are you using the Quote system?
j
yes, my project is using arrow-meta to build a custmozied kotlin compiler plugin to auto-generate some extra pieces of code based on the original source code (xxx.kt). I didn't use arrow-optics at all, at lease no explicitly useages from project wise. maybe it is impicitly called by other arrow libs which I don't know. we often met such "Missing extension point" problem during building project within CICD pipeline. and strangely around 3+ around re-tries finannly bypass it. but it is very annoying and we'd like to know the reason, hence turn for help from here.😂
i
Without looking at the compiler plugin, I can only guess that either the compiler version is out of sync from the arrow-meta version you’re using. Or there is a dependency issue in the project. @raulraja might know more 😄