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 257610

Summary: NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext
Product: javaee Reporter: terje7601
Component: EJBAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal CC: abien, aldobrucale, FiruzzZ, hink084, hmlnarik, jskrivanek, muellermi, nleck, scanti
Priority: P2    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222171
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description terje7601 2016-01-18 10:30:57 UTC
Build: NetBeans IDE Dev (Build 201601130002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
terje7601: Had just undone a change in an annotation value (changing 1 to 100)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
   at org.netbeans.modules.j2ee.ejbverification.rules.HasNoArgContructor.run(HasNoArgContructor.java:84)
   at sun.reflect.GeneratedMethodAccessor214.invoke(GeneratedMethodAccessor214.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 terje7601 2016-01-18 10:30:59 UTC
Created attachment 158166 [details]
stacktrace
Comment 2 abien 2016-01-29 14:21:41 UTC
Created attachment 158287 [details]
stacktrace

Happened during switching files
Comment 3 muellermi 2016-02-01 14:45:43 UTC
Created attachment 158336 [details]
stacktrace

edit java file
Comment 4 muellermi 2016-02-01 14:51:43 UTC
Created attachment 158338 [details]
stacktrace

editing Java file. completed class name and typed a dot. Exactly that point, when autosuggestion should start
Comment 5 Jiri Skrivanek 2016-03-07 09:32:22 UTC
Created attachment 158763 [details]
stacktrace

Updated git repository in external window.
Comment 6 Exceptions Reporter 2016-03-07 09:32:26 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222171
Comment 7 Jiri Skrivanek 2016-03-07 12:56:23 UTC
Created attachment 158767 [details]
stacktrace

Opening java file.
Comment 8 Exceptions Reporter 2016-10-15 21:01:33 UTC
Created attachment 162515 [details]
stacktrace

just coding...
Comment 9 nleck 2016-12-04 03:03:08 UTC
Created attachment 163139 [details]
stacktrace

typing
Comment 10 Exceptions Reporter 2016-12-04 03:03:14 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222171
Comment 11 aldobrucale 2017-04-03 13:49:10 UTC
Created attachment 164010 [details]
stacktrace

Tried to inline a constant
Comment 12 Exceptions Reporter 2017-06-16 13:07:22 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222171