[ https://issues.apache.org/jira/browse/NETBEANS-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17368261#comment-17368261 ]
Ronny Perinke edited comment on NETBEANS-5740 at 6/23/21, 3:13 PM: -------------------------------------------------------------------- I was able to "reproduce" it by opening a multi-module Java Maven project and pasting a few lines of code into one of the the classes from a sub-module. The project has a Java compile level of 16. It uses compile on save with nb-javac enabled and lombok 1.8.20. A dump file for the class is created in {{<profile>/var/log}}. Sometimes Netbeans freezes immediately when pasting the code (_it is not even showing up in the editor_) and sometimes it requires a few undo/redo steps to cause a freeze. messages.log did not contain the lines about java.util.zip.CRC32C as mentioned above by Diego. {code:java|title=messages.log last lines} WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with the position attribute: [org-netbeans-modules-lsp-client-bindings-CompletionProviderImpl.instance], but some are: [org-netbeans-modules-parsing-ui-WaitScanFinishedCompletionProvider.instance, org-netbeans-modules-editor-java-JavaCompletionProvider.instance, org-netbeans-modules-jshell-editor-HistoryCompletionProvider.instance, org-netbeans-modules-java-editor-javadoc-JavadocCompletionProvider.instance, org-netbeans-lib-editor-codetemplates-CodeTemplateCompletionProvider.instance, org-netbeans-modules-j2ee-persistence-editor-completion-JPACodeCompletionProvider.instance, org-netbeans-modules-websvc-editor-completion-WSCompletionProvider.instance, org-netbeans-modules-spellchecker-completion-WordCompletion.instance] INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: CancelableTaskWrapper[task: org.netbeans.modules.java.hints.spiimpl.hints.HintsTask@161ee7e4, phase: RESOLVED, priority: 500] : class org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper ignored cancel for 59 ms. WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.modules.java.source.parsing.JavacParser.createDumpFile(JavacParser.java:1231) INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration.dump INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: org.netbeans.modules.java.editor.semantic.SemanticHighlighter@708419b8 : class org.netbeans.modules.java.editor.semantic.SemanticHighlighter ignored cancel for 57 ms. INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_1.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_2.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_3.dump {code} 2nd time {code} INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: org.netbeans.modules.java.source.parsing.VanillaPartialReparser$VerifyPartialReparse@5ad3e2fe : class org.netbeans.modules.java.source.parsing.VanillaPartialReparser$VerifyPartialReparse ignored cancel for 74 ms. INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: org.netbeans.modules.java.source.parsing.VanillaPartialReparser$VerifyPartialReparse@5ad3e2fe : class org.netbeans.modules.java.source.parsing.VanillaPartialReparser$VerifyPartialReparse ignored cancel for 151 ms. WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.modules.java.source.parsing.JavacParser.createDumpFile(JavacParser.java:1231) INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_1.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_2.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_3.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_4.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_5.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_6.dump INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: org.netbeans.modules.java.source.parsing.VanillaPartialReparser$VerifyPartialReparse@5ad3e2fe : class org.netbeans.modules.java.source.parsing.VanillaPartialReparser$VerifyPartialReparse ignored cancel for 74 ms. INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_7.dump {code} ---- Product Version: Apache NetBeans IDE 12.4 Java: 11.0.11; Java HotSpot(TM) 64-Bit Server VM 11.0.11+9-LTS-194 Runtime: Java(TM) SE Runtime Environment 11.0.11+9-LTS-194 System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) Theme: FlatLAF dark Plugins: Display readme files in project view (and many more), Serial version UID generator, TypeScript Editor, Editor zoom, External Code Formatters, Toggle line wrap, The nb-javac Java editing support library was (Author: sephiroth-j): I was able to "reproduce" it by opening a multi-module Java Maven project and pasting a few lines of code into one of the the classes from a sub-module. The project has a Java compile level of 16. It uses compile on save with nb-javac enabled and lombok 1.8.20. A dump file for the class is created in {{<profile>/var/log}}. Sometimes Netbeans freezes immediately when pasting the code (_it is not even showing up in the editor_) and sometimes it requires a few undo/redo steps to cause a freeze. messages.log did not contain the lines about java.util.zip.CRC32C as mentioned above by Diego. {code:java|title=messages.log last lines} WARNING [org.openide.filesystems.Ordering]: Not all children in / marked with the position attribute: [org-netbeans-modules-lsp-client-bindings-CompletionProviderImpl.instance], but some are: [org-netbeans-modules-parsing-ui-WaitScanFinishedCompletionProvider.instance, org-netbeans-modules-editor-java-JavaCompletionProvider.instance, org-netbeans-modules-jshell-editor-HistoryCompletionProvider.instance, org-netbeans-modules-java-editor-javadoc-JavadocCompletionProvider.instance, org-netbeans-lib-editor-codetemplates-CodeTemplateCompletionProvider.instance, org-netbeans-modules-j2ee-persistence-editor-completion-JPACodeCompletionProvider.instance, org-netbeans-modules-websvc-editor-completion-WSCompletionProvider.instance, org-netbeans-modules-spellchecker-completion-WordCompletion.instance] INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: CancelableTaskWrapper[task: org.netbeans.modules.java.hints.spiimpl.hints.HintsTask@161ee7e4, phase: RESOLVED, priority: 500] : class org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper ignored cancel for 59 ms. WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.netbeans.modules.java.source.parsing.JavacParser.createDumpFile(JavacParser.java:1231) INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration.dump INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: org.netbeans.modules.java.editor.semantic.SemanticHighlighter@708419b8 : class org.netbeans.modules.java.editor.semantic.SemanticHighlighter ignored cancel for 57 ms. INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_1.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_2.dump INFO [org.netbeans.modules.java.source.parsing.VanillaPartialReparser]: Incorrect partial reparse detected, dump filed: C:\Users\XXX\AppData\Roaming\NetBeans\12.4\var\log\PartnerServiceClientConfiguration_3.dump {code} ---- Product Version: Apache NetBeans IDE 12.4 Java: 11.0.11; Java HotSpot(TM) 64-Bit Server VM 11.0.11+9-LTS-194 Runtime: Java(TM) SE Runtime Environment 11.0.11+9-LTS-194 System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) Theme: FlatLAF dark Plugins: Display readme files in project view (and many more), Serial version UID generator, TypeScript Editor, Editor zoom, External Code Formatters, Toggle line wrap, The nb-javac Java editing support library > Netbeans 12.4 randomly freezes > ------------------------------ > > Key: NETBEANS-5740 > URL: https://issues.apache.org/jira/browse/NETBEANS-5740 > Project: NetBeans > Issue Type: Bug > Affects Versions: 12.4 > Environment: Ubuntu 20.04 > Netbeans 12.4 > OpenJDK 11.0.11 > Reporter: Diego Díez > Priority: Major > > We have started experiencing random freezes after upgrading to Netbeans 12.3, > not responding any component to mouse or keyboard interactions. > We have also noticed that lombok-1.18.18 stopped working with the newer > nb-javac installed with the 12.4 version (java16 support). I can't confirm > whether this is related with the freezes or not. Using lombok-1.18.20 seems > to work well, though. > Any ideas? Is there any log to look for errors? > As a workaround we have downgraded to 12.3 as it is a blocking issue for us, > being forced to kill the process every time it gets stuck. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists