Fork me on GitHub
#cursive
<
2020-12-10
>
salam01:12:11

Colin, before you release cursive 1.10.0, do you mind fixing this NPE which seems to be new?

java.lang.NullPointerException
	at cursive.scratch.CopyLibraryFileToScratchAction.update(Scratches.kt:46)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:178)
	at com.intellij.ide.util.gotoByName.GotoActionModel.updateActionBeforeShow(GotoActionModel.java:337)
	at com.intellij.ide.util.gotoByName.GotoActionModel$ActionWrapper.lambda$getPresentation$0(GotoActionModel.java:701)
	at com.intellij.ide.util.gotoByName.GotoActionModel.lambda$updateOnEdt$4(GotoActionModel.java:495)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:216)
	at com.intellij.openapi.application.TransactionGuardImpl.access$200(TransactionGuardImpl.java:24)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:199)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:324)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:85)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:134)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:190)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:976)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:843)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:454)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:773)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:453)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:822)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:501)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

cfleming01:12:36

Done, thanks.

🎉 3
thanks3 3
stijn09:12:43

named REPLs are 💯 !

6
helios10:12:01

congrats on shipping @cfleming 😄

cfleming23:12:05

Thanks @U0AD3JSHL! I was worried about this one since I’m about to move cities so I didn’t want it to all go to pot, but it was the smoothest EAP ever, especially one that contains a lot of new stuff - phew!

Lucio Assis21:12:10

Thank you SO MUCH for the test runner and the lib file scratches! These will help me immensely!

Henry12:12:56

Quick question: in terms of "send top form to repl", is there a way for the result to be printed directly next to the form in the file, instead of the repl? Thank you.

cfleming23:12:22

There isn’t at the moment, but it’s something I’m planning to implement very soon.

👍 6
🤯 3
genekim05:12:34

Incredible! I’ve always loved that in LightTable! 🎉🎉 I always assumed it would be impossible inside IntelliJ. Brilliant!

genekim05:12:49

🤞🤞🙏🙏😃😃

cfleming08:12:07

It actually was until the last couple of releases, but they’ve made a lot of great changes there in the 2020.x series.

royalaid18:12:08

https://github.com/cursive-ide/cursive/issues/394 Hey @cfleming, just wondering if this issue is on your radar? Running into renamed functions behind undefined

cfleming23:12:37

Yes, I’ve been meaning to look at that one, I’ll try to do it for the next EAP.

royalaid00:12:46

Ty and thanks for the generally quick turn around on other issues I have raised!

royalaid18:12:50

This happens in both ns forms and let destructuring