[jira] [Commented] (NETBEANS-5154) NetBeans 12.2 keeps throwing exceptions all the time
[ https://issues.apache.org/jira/browse/NETBEANS-5154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254790#comment-17254790 ] Lukas Theussl commented on NETBEANS-5154: - Same problem here, quite a show-stopper. It doesn't happen with 12.1, so it seems to be a recent regression. > NetBeans 12.2 keeps throwing exceptions all the time > > > Key: NETBEANS-5154 > URL: https://issues.apache.org/jira/browse/NETBEANS-5154 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.2 >Reporter: TLX >Priority: Major > Attachments: image-2020-12-15-20-50-10-740.png > > > When I just open NetBeans (nothing else), it keeps displaying exceptions (red > speech bubble in the status bar) all the time. It also doesn't finish > scanning my projects, rather gets stuck at 98%. > > !image-2020-12-15-20-50-10-740.png! > At this time NetBeans (permanently) keeps consuming 23% CPU on a computer > with 8 cores. > The exception it keeps throwing is this: > {code:java} > java.lang.NullPointerExceptionjava.lang.NullPointerException at > com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:914) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.access$2500(JavacProcessingEnvironment.java:113) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1298) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1380) > at > com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1350) > at > com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1240) > at com.sun.tools.javac.api.JavacTaskImpl.enter(JavacTaskImpl.java:404) at > com.sun.tools.javac.api.JavacTaskImpl.enterTrees(JavacTaskImpl.java:451)[catch] > at > org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:204) > at > org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275) > at > org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5714) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5622) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127) > at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279) at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5749) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5419) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5038) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5821) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3420) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6183) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5834) > at > org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6099) > at org.openide.util.lookup.
[jira] [Created] (NETBEANS-5184) NullPointerException at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan
Bob Allison created NETBEANS-5184: - Summary: NullPointerException at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan Key: NETBEANS-5184 URL: https://issues.apache.org/jira/browse/NETBEANS-5184 Project: NetBeans Issue Type: Bug Affects Versions: 12.2, 12.0 Reporter: Bob Allison Attachments: messages.log NOTE: This is consistent behavior I typed "fori" and pressed Tab. Instead of auto-completing the for loop it produced this error: java.lang.NullPointerExceptionjava.lang.NullPointerException at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:587) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:2938) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitCase(Reformatter.java:397) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1258) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601) at org.netbeans.modules.java.source.save.Reformatter$Pretty.handleSwitch(Reformatter.java:2889) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:2790) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitSwitch(Reformatter.java:397) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:1229) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82) at org.netbeans.modules.java.source.save.Reformatter$Pretty.scan(Reformatter.java:601) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:1986) at org.netbeans.modules.java.source.save.Reformatter$Pretty.visitBlock(Reformatter.java:397) at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1032) at jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:56) at org.netbeans.modules.java.source.save.Reformatter$Pretty.reformat(Reformatter.java:514) at org.netbeans.modules.java.source.save.Reformatter.reformatImpl(Reformatter.java:228) at org.netbeans.modules.java.source.save.Reformatter.reformat(Reformatter.java:101) at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:550) at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:309) at org.netbeans.modules.editor.indent.IndentImpl.reformat(IndentImpl.java:349) at org.netbeans.modules.editor.indent.api.Reformat.reformat(Reformat.java:129) at org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.run(CodeTemplateInsertHandler.java:351) at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:333) at org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.insertTemplate(CodeTemplateInsertHandler.java:261) at org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:229) at org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273) at org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82) at org.netbeans.lib.editor.codetemplates.AbbrevDetection.expand(AbbrevDetection.java:517) at org.netbeans.lib.editor.codetemplates.AbbrevDetection.expand(AbbrevDetection.java:411) at org.netbeans.lib.editor.codetemplates.AbbrevDetection.checkExpansionKeystroke(AbbrevDetection.java:315) at org.netbeans.lib.editor.codetemplates.AbbrevDetection.keyPressed(AbbrevDetection.java:267) at java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:258) at java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) at java.desktop/java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:257) at java.desktop/java.awt.Component.processKeyEvent(Component.java:6590) at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849) at java.desktop/java.awt.Component.processEvent(Component.java:6409) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:871) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1140) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1010) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(Defau
[jira] [Commented] (NETBEANS-5123) Scanner class is not working
[ https://issues.apache.org/jira/browse/NETBEANS-5123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254841#comment-17254841 ] Jakub Herkel commented on NETBEANS-5123: I tried source code from stackoverflow and it's working. (Fedora 33, JDK 15.0.1, Maven 3.6.3) Could you recheck if it is still valid issue? > Scanner class is not working > > > Key: NETBEANS-5123 > URL: https://issues.apache.org/jira/browse/NETBEANS-5123 > Project: NetBeans > Issue Type: Bug >Affects Versions: 12.1, 12.2 > Environment: Product Version: Apache NetBeans IDE 12.2 > Java: 14.0.2; OpenJDK 64-Bit Server VM 14.0.2+12 > Runtime: OpenJDK Runtime Environment 14.0.2+12 > System: Linux version 5.9.13-arch1-1 running on amd64; UTF-8; en_US (nb) > User directory: /home/user/.netbeans/12.2 > Cache directory: /home/user/.cache/netbeans/12.2 >Reporter: Maxwell >Priority: Blocker > > Hi, > I'm trying to use the scanner function in Netbeans on GNU/Linux and I can't > get anything. I did a search on the web and I found this similar issues > reports: > [Found in > Reddit:|https://www.reddit.com/r/javahelp/comments/hogiy0/problem_with_netbeans_ide_cant_run_scanner/] > [Found in > StackOverFlow|https://stackoverflow.com/questions/65093960/problem-with-java-scanner-when-using-netbeans-it-does-not-show-any-reaction] > Can you check and fix this ASAP, please? > -- 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
[jira] [Created] (NETBEANS-5185) cleanup imports in the Enterprise Web.Monitor module
Brad Walker created NETBEANS-5185: - Summary: cleanup imports in the Enterprise Web.Monitor module Key: NETBEANS-5185 URL: https://issues.apache.org/jira/browse/NETBEANS-5185 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker In cleaning up Vector raw types, I noticed a bunch of imports in the Enterprise Web.Monitor module that could use some cleanup. It's bad form to use the "*" when importing. It's pulls in every class in the import. In addition, it can make modularization brought in from Project Jigsaw. -- 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
[jira] [Updated] (NETBEANS-5185) cleanup imports in the Enterprise Web.Monitor module
[ https://issues.apache.org/jira/browse/NETBEANS-5185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated NETBEANS-5185: - Labels: pull-request-available (was: ) > cleanup imports in the Enterprise Web.Monitor module > > > Key: NETBEANS-5185 > URL: https://issues.apache.org/jira/browse/NETBEANS-5185 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > In cleaning up Vector raw types, I noticed a bunch of imports in the > Enterprise Web.Monitor module that could use some cleanup. > It's bad form to use the "*" when importing. It's pulls in every class in the > import. > In addition, it can make modularization brought in from Project Jigsaw. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254919#comment-17254919 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5185 - cleanup imports in the Enterprise Web.Monitor module > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5186) Check.java repeatedly throws non-fatal null pointer exception
Paul Rubin created NETBEANS-5186: Summary: Check.java repeatedly throws non-fatal null pointer exception Key: NETBEANS-5186 URL: https://issues.apache.org/jira/browse/NETBEANS-5186 Project: NetBeans Issue Type: Bug Environment: NetBeans 12.2, Linux Mint 20, OpenJDK 14, Intel 64-bit processor Reporter: Paul Rubin Attachments: IDE log.txt, UI log.txt The same exception is thrown repeatedly during a variety of tasks (most recently when adding another project to the libraries of a project under development). It has no effect on my work, just a recurring notification. I've attached the IDE and UI logs. -- 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
[jira] [Commented] (NETBEANS-1232) Import settings from 8.2 to 9.0 tooks too long
[ https://issues.apache.org/jira/browse/NETBEANS-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254929#comment-17254929 ] Christian Lenz commented on NETBEANS-1232: -- After more investigating, because I had the problem again from importing settings from 12.1 to 12.2, the problem was my filehistory folder in Roaming\Netbeans\12.1\var\filehistory. I set the option to never delete my filehistory and the folder is ~ 300mb big with 147.864 files and 69.648 folders. So import settings is fast enough, just copying over the filehistory folder took so long. I backuped my filehistory folder and will add it if I really need it someday. So to make it short, a folder with over 100k files and over 60k folders needs time to copy in NetBeans. > Import settings from 8.2 to 9.0 tooks too long > -- > > Key: NETBEANS-1232 > URL: https://issues.apache.org/jira/browse/NETBEANS-1232 > Project: NetBeans > Issue Type: Bug > Components: platform - Options&Settings >Affects Versions: 9.0 >Reporter: Christian Lenz >Priority: Critical > Attachments: messages.log, plugin list part 1.png, plugin list part > 2.png, plugin list part 3.png, settings111.zip > > > I opened NetBeans 9.0 for the first time and it asks me whether I want to > import my settings from 8.2 or not. I hit yes and I waited 5min (started at > 10:33 to import and ended at 10:38). This is way to long. I opened the > messages.log but there is no exception or whatever inside. > I can't cancel that dialog or close it this is why I set it to critical. > NetBeans opened after 5min, after the import was finished. > Cheers > Chris -- 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