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 257609

Summary: NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext
Product: javaee Reporter: Ralph Ruijs <ralphbenjamin>
Component: EJBAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal CC: abien, fillumina, FiruzzZ, kaichiro, orenaro, pkevin, ralphbenjamin, squib, terje7601, toben
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222170
Attachments: stacktrace
stacktrace
stacktrace
IDE log - writing Atomic in a Java class NB DEV 201609210002
stacktrace
stacktrace
stacktrace

Description Ralph Ruijs 2016-01-18 09:54:57 UTC
Build: NetBeans IDE Dev (Build 20160104-54b088ca84a3)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Linux

User Comments:
ralphbenjamin: No j2ee project open




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
   at org.netbeans.modules.j2ee.ejbverification.rules.SBSuperClassNotSB.run(SBSuperClassNotSB.java:93)
   at sun.reflect.GeneratedMethodAccessor147.invoke(GeneratedMethodAccessor147.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 Ralph Ruijs 2016-01-18 09:54:59 UTC
Created attachment 158165 [details]
stacktrace
Comment 2 abien 2016-01-27 14:27:41 UTC
Created attachment 158253 [details]
stacktrace

Happened during renaming a class
Comment 3 Ralph Ruijs 2016-04-21 12:56:59 UTC
Created attachment 159374 [details]
stacktrace

Invoked CodeCompletion
Comment 4 Exceptions Reporter 2016-09-29 20:16:09 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222170
Comment 5 zmirc 2016-09-29 20:17:06 UTC
Created attachment 162277 [details]
IDE log - writing Atomic in a Java class NB DEV 201609210002
Comment 6 Exceptions Reporter 2016-10-12 04:31:28 UTC
Created attachment 162459 [details]
stacktrace

????? ?? ??? ????????? ?????? ? ????????? ??????? ??????
Comment 7 FiruzzZ 2016-10-20 16:50:35 UTC
Created attachment 162573 [details]
stacktrace

Jumping (CTRL+B) and checking (CTRL+SPACE) between methods
Comment 8 Exceptions Reporter 2017-02-17 13:18:24 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222170
Comment 9 Ralph Ruijs 2017-03-16 07:42:40 UTC
Created attachment 163857 [details]
stacktrace

code completion