This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268755

Summary: NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext
Product: javaee Reporter: stefan79 <stefan79>
Component: EJBAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal CC: akobberup, aplatypus, FiruzzZ, toben
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227028
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description stefan79 2016-10-31 13:07:43 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Windows 8.1

User Comments:
stefan79: Exception occured while creating Java-Inner-Class - constructor.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
   at org.netbeans.modules.j2ee.ejbverification.rules.AsynchronousMethodInvocation.run(AsynchronousMethodInvocation.java:86)
   at sun.reflect.GeneratedMethodAccessor200.invoke(GeneratedMethodAccessor200.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:340)
Comment 1 stefan79 2016-10-31 13:07:45 UTC
Created attachment 162698 [details]
stacktrace
Comment 2 akobberup 2016-11-30 10:42:06 UTC
Created attachment 163097 [details]
stacktrace

tried to codecomplete an expression
Comment 3 akobberup 2016-11-30 13:03:06 UTC
Created attachment 163099 [details]
stacktrace

Used codecompletion on a field datatype
Comment 4 Exceptions Reporter 2016-12-15 14:06:51 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227028
Comment 5 Exceptions Reporter 2017-01-25 12:26:42 UTC
Created attachment 163466 [details]
stacktrace

detected the error in tray during edit of sources
Comment 6 akobberup 2017-01-31 10:12:22 UTC
Created attachment 163516 [details]
stacktrace

Tried to invoke code completion on a variable