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 - NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext
Summary: NullPointerException at org.netbeans.modules.j2ee.ejbverification.HintsUtils....
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-20 07:38 UTC by Martin Fousek
Modified: 2017-10-20 13:14 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222620


Attachments
stacktrace (3.34 KB, text/plain)
2016-02-20 07:38 UTC, Martin Fousek
Details
stacktrace (7.48 KB, text/plain)
2016-07-28 07:46 UTC, IrianR
Details
stacktrace (6.60 KB, text/plain)
2016-11-15 11:04 UTC, stefan79
Details
stacktrace (7.29 KB, text/plain)
2016-12-04 13:51 UTC, Exceptions Reporter
Details
stacktrace (7.48 KB, text/plain)
2016-12-15 23:15 UTC, Exceptions Reporter
Details
stacktrace (8.73 KB, text/plain)
2017-08-09 06:55 UTC, IrianR
Details

Note You need to log in before you can comment on or make changes to this bug.
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.