Fork me on GitHub
#cursive
<
2019-08-04
>
davewo22:08:23

I encounter a problem when importing a project by selecting deps.edn inside a lein template. An error dialog pops up with the title of "Resolve Error" and this content

java.lang.NullPointerException at com.intellij.openapi.externalSystem.model.DataNode.nodeCopy(DataNode.java:284) at com.intellij.openapi.externalSystem.model.DataNode.copy(DataNode.java:290) at com.intellij.openapi.externalSystem.model.DataNode.graphCopy(DataNode.java:224) at com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDataStorage.update(ExternalProjectsDataStorage.java:197) at com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsManagerImpl.updateExternalProjectData(ExternalProjectsManagerImpl.java:209) at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManagerImpl.updateExternalProjectData(ProjectDataManagerImpl.java:399) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.setState(ExternalSystemResolveProjectTask.java:150) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:147) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:132) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.executeImpl(ExternalSystemUtil.java:535) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.lambda$execute$0(ExternalSystemUtil.java:388) at com.intellij.openapi.project.DumbServiceImpl.suspendIndexingAndRun(DumbServiceImpl.java:149) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.execute(ExternalSystemUtil.java:388) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4.run(ExternalSystemUtil.java:633) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:894) at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:447) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:552) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
idea.log does not seem to have any further info, but a line like this:
2019-08-04 14:56:15,997 [  76462]   INFO - System.util.ExternalSystemUtil - External project [/home/dave/projects/foo] resolution task executed in 741 ms.
Am I on the right track thinking of this as a Cursive issue, or should I take this up with JetBrains?

davewo22:08:54
replied to a thread:I encounter a problem when importing a project by selecting `deps.edn` inside a lein template. An error dialog pops up with the title of "Resolve Error" and this content java.lang.NullPointerException at com.intellij.openapi.externalSystem.model.DataNode.nodeCopy(DataNode.java:284) at com.intellij.openapi.externalSystem.model.DataNode.copy(DataNode.java:290) at com.intellij.openapi.externalSystem.model.DataNode.graphCopy(DataNode.java:224) at com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsDataStorage.update(ExternalProjectsDataStorage.java:197) at com.intellij.openapi.externalSystem.service.project.manage.ExternalProjectsManagerImpl.updateExternalProjectData(ExternalProjectsManagerImpl.java:209) at com.intellij.openapi.externalSystem.service.project.manage.ProjectDataManagerImpl.updateExternalProjectData(ProjectDataManagerImpl.java:399) at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.setState(ExternalSystemResolveProjectTask.java:150) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:147) at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:132) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.executeImpl(ExternalSystemUtil.java:535) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.lambda$execute$0(ExternalSystemUtil.java:388) at com.intellij.openapi.project.DumbServiceImpl.suspendIndexingAndRun(DumbServiceImpl.java:149) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$3.execute(ExternalSystemUtil.java:388) at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4.run(ExternalSystemUtil.java:633) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:894) at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:447) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:552) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) `idea.log` does not seem to have any further info, but a line like this: 2019-08-04 14:56:15,997 [ 76462] INFO - System.util.ExternalSystemUtil - External project [/home/dave/projects/foo] resolution task executed in 741 ms. Am I on the right track thinking of this as a Cursive issue, or should I take this up with JetBrains?

Ah, this has been reported already: https://github.com/cursive-ide/cursive/issues/2209

cfleming23:08:43

@davewo Yes, see the pinned post in this channel

✔️ 4
danieroux06:08:50

Maybe set the topic to that too?