Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2574

NPE in org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      SEVERE [org.openide.util.Exceptions]
      java.lang.NullPointerException
      at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:221)
      at org.netbeans.modules.j2ee.ejbverification.rules.AsynchronousMethodInvocation.run(AsynchronousMethodInvocation.java:63)
      at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      [catch] at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:317)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.runHint(HintsInvoker.java:798)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.access$400(HintsInvoker.java:90)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.runAndAdd(HintsInvoker.java:657)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:676)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      at com.sun.source.util.TreeScanner.visitNewClass(TreeScanner.java:553)
      at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1792)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
      at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
      at com.sun.source.util.TreeScanner.visitNewClass(TreeScanner.java:552)
      at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1792)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.visitMemberSelect(TreeScanner.java:707)
      at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2203)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      at com.sun.source.util.TreeScanner.visitMethodInvocation(TreeScanner.java:535)
      at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1731)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.visitExpressionStatement(TreeScanner.java:459)
      at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1533)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
      at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
      at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1044)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:207)
      at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:910)
      at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
      at org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:682)
      at org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker$ScannerImpl.scan(HintsInvoker.java:610)
      at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
      at com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)

      Can I disable this functionality to make the IDE faster? I don't use j2ee.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arren Shevek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: