java.lang.IllegalStateException: Invalid incomingEvent=1971765316 [org.netbeans.editor.FixLineSyntaxState$BeforeLineUndo@77922720 hasBeenDone: true alive: true, org.netbeans.lib.editor.util.swing.DocumentUtilities$EventPropertiesElementChange@35353a6a, Insert:"list the source you have typed": o=679,len=30,hBDone=T,alive=T,IHC=1890542964,markUpdates:NONE,BBmarkUpdates:NONE, org.netbeans.editor.FixLineSyntaxState$AfterLineUndo@33e81fc5 hasBeenDone: true alive: true], type=INSERTtext='list the source you have typed' != evt=1115194393 [], type=CHANGE at org.netbeans.modules.editor.lib2.view.ViewUpdates.clearIncomingEvent(ViewUpdates.java:551) at org.netbeans.modules.editor.lib2.view.ViewUpdates.changedUpdate(ViewUpdates.java:301) at sun.reflect.GeneratedMethodAccessor131.invoke(GeneratedMethodAccessor131.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:487) at com.sun.proxy.$Proxy19.changedUpdate(.java:0) at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.changedUpdate(PriorityDocumentListenerList.java:147) at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:230) at org.netbeans.editor.BaseDocument.fireChangedUpdate(BaseDocument.java:1654) at org.netbeans.editor.GuardedDocument.setCharacterAttributes(GuardedDocument.java:417) at org.netbeans.modules.editor.NbEditorDocument.setCharacterAttributes(NbEditorDocument.java:177) at org.openide.text.NbDocument.unmarkGuarded(NbDocument.java:258) at org.netbeans.modules.editor.impl.NbGuardedMarker.unprotectRegion(NbGuardedMarker.java:74) at org.netbeans.modules.editor.guards.GuardedSectionImpl.markGuarded(GuardedSectionImpl.java:223) at org.netbeans.modules.editor.guards.SimpleSectionImpl.unmarkGuarded(SimpleSectionImpl.java:99) at org.netbeans.modules.editor.guards.GuardedSectionImpl.removeSection(GuardedSectionImpl.java:154) at org.netbeans.api.editor.guards.GuardedSection.removeSection(GuardedSection.java:121) at org.netbeans.modules.jshell.support.ShellSession.lambda$refreshGuardedSection$39(ShellSession.java:1240) at java.lang.Iterable.forEach(Iterable.java:75) at org.netbeans.modules.jshell.support.ShellSession.refreshGuardedSection(ShellSession.java:1240) at org.netbeans.modules.jshell.support.ShellSession.access$700(ShellSession.java:148) at org.netbeans.modules.jshell.support.ShellSession$GuardedSectionUpdater.refresh(ShellSession.java:1277) at org.netbeans.modules.jshell.support.ShellSession$GuardedSectionUpdater.sectionUpdated(ShellSession.java:1287) at org.netbeans.modules.jshell.model.ConsoleModel.lambda$notifyUpdated$8(ConsoleModel.java:668) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at org.netbeans.modules.jshell.model.ConsoleModel.notifyUpdated(ConsoleModel.java:668) at org.netbeans.modules.jshell.model.ConsoleModel.lambda$beforeExecution$14(ConsoleModel.java:941) Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to: java.lang.IllegalStateException: Invalid incomingEvent=1971765316 [org.netbeans.editor.FixLineSyntaxState$BeforeLineUndo@77922720 hasBeenDone: true alive: true, org.netbeans.lib.editor.util.swing.DocumentUtilities$EventPropertiesElementChange@35353a6a, Insert:"list the source you have typed": o=679,len=30,hBDone=T,alive=T,IHC=1890542964,markUpdates:NONE,BBmarkUpdates:NONE, org.netbeans.editor.FixLineSyntaxState$AfterLineUndo@33e81fc5 hasBeenDone: true alive: true], type=INSERTtext='list the source you have typed' != evt=1115194393 [], type=CHANGE at org.openide.util.RequestProcessor.post(RequestProcessor.java:420) at org.netbeans.modules.jshell.model.ConsoleModel.beforeExecution(ConsoleModel.java:939) at org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1452) at org.netbeans.modules.jshell.support.ShellSession.doExecuteCommands(ShellSession.java:1147) at org.netbeans.modules.jshell.support.ShellSession.lambda$evaluate$34(ShellSession.java:1119) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)