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 257042

Summary: NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext
Product: javaee Reporter: _ tboudreau <tboudreau>
Component: EJBAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal CC: Alniks, hermes85pl, javydreamercsw, jskrivanek, KevinAnderson, MorganX, nleck, scanti, terje7601
Priority: P2    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221563
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description _ tboudreau 2015-12-08 05:13:33 UTC
Build: NetBeans IDE Dev (Build NetBeans-911-on-20151204)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17
OS: Mac OS X

User Comments:
tboudreau: Changed the signature of a generic interface adding a parameter of Instant[], and then switched to a file containing an unmodified lambda implementation of it.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
   at org.netbeans.modules.j2ee.ejbverification.rules.BeanImplementsBI.run(BeanImplementsBI.java:92)
   at sun.reflect.GeneratedMethodAccessor180.invoke(GeneratedMethodAccessor180.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:339)
Comment 1 _ tboudreau 2015-12-08 05:13:35 UTC
Created attachment 157710 [details]
stacktrace
Comment 2 Jiri Skrivanek 2016-02-26 06:44:20 UTC
Created attachment 158645 [details]
stacktrace

When invoking code completion.
Comment 3 nleck 2016-10-30 00:52:27 UTC
Created attachment 162684 [details]
stacktrace

code hint
Comment 4 Exceptions Reporter 2016-10-30 00:52:32 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221563
Comment 5 Exceptions Reporter 2016-12-07 05:42:09 UTC
Created attachment 163177 [details]
stacktrace

running a program
Comment 6 Exceptions Reporter 2017-01-19 21:59:42 UTC
Created attachment 163436 [details]
stacktrace

i was  jsut coding, and this exception always occurs with me 

i think it occurs specially when i am writing so quickly and using auto-complete(ctr+space)

also i am working on NetBeans 8.2 with patch 1
Comment 7 Exceptions Reporter 2017-04-12 00:28:11 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221563
Comment 8 javydreamercsw 2017-08-30 20:40:06 UTC
Created attachment 165059 [details]
stacktrace

Committing appending to last commit in git.
Comment 9 Exceptions Reporter 2017-09-28 17:14:38 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221563