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 258074

Summary: NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext
Product: javaee Reporter: Martin Fousek <marfous>
Component: EJBAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal CC: Alniks, IrianR, pkevin, scanti, stefan79, vegaonline
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222620
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description Martin Fousek 2016-02-20 07:38:07 UTC
Build: NetBeans IDE Dev (Build 20160215-2966f97e98d6)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
marfous: opened file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
   at org.netbeans.modules.j2ee.ejbverification.rules.AnnotationPostContruct.run(AnnotationPostContruct.java:92)
   at sun.reflect.GeneratedMethodAccessor190.invoke(GeneratedMethodAccessor190.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:483)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:339)
Comment 1 Martin Fousek 2016-02-20 07:38:09 UTC
Created attachment 158580 [details]
stacktrace
Comment 2 IrianR 2016-07-28 07:46:15 UTC
Created attachment 161479 [details]
stacktrace

Invoked auto complete on a class in an implements block.
Comment 3 stefan79 2016-11-15 11:04:34 UTC
Created attachment 162918 [details]
stacktrace

Moved Source-Code (clipboard).
Comment 4 Exceptions Reporter 2016-11-15 11:04:40 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=222620
Comment 5 Exceptions Reporter 2016-12-04 13:51:08 UTC
Created attachment 163142 [details]
stacktrace

<Forne?a uma descri??o do problema ou as etapas a serem reproduzidas>
Comment 6 Exceptions Reporter 2016-12-15 23:15:51 UTC
Created attachment 163258 [details]
stacktrace

Compile code and run several times. Between this I have made some changes in code.
Comment 7 IrianR 2017-08-09 06:55:57 UTC
Created attachment 164919 [details]
stacktrace

Creating a class level variable from an hint.