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 268755 - 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-10-31 13:07 UTC by stefan79
Modified: 2017-08-22 06:50 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227028


Attachments
stacktrace (6.76 KB, text/plain)
2016-10-31 13:07 UTC, stefan79
Details
stacktrace (7.42 KB, text/plain)
2016-11-30 10:42 UTC, akobberup
Details
stacktrace (7.31 KB, text/plain)
2016-11-30 13:03 UTC, akobberup
Details
stacktrace (6.76 KB, text/plain)
2017-01-25 12:26 UTC, Exceptions Reporter
Details
stacktrace (8.08 KB, text/plain)
2017-01-31 10:12 UTC, akobberup
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2016-10-31 13:07:43 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14
OS: Windows 8.1

User Comments:
stefan79: Exception occured while creating Java-Inner-Class - constructor.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.getOrCacheContext(HintsUtils.java:246)
   at org.netbeans.modules.j2ee.ejbverification.rules.AsynchronousMethodInvocation.run(AsynchronousMethodInvocation.java:86)
   at sun.reflect.GeneratedMethodAccessor200.invoke(GeneratedMethodAccessor200.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:340)
Comment 1 stefan79 2016-10-31 13:07:45 UTC
Created attachment 162698 [details]
stacktrace
Comment 2 akobberup 2016-11-30 10:42:06 UTC
Created attachment 163097 [details]
stacktrace

tried to codecomplete an expression
Comment 3 akobberup 2016-11-30 13:03:06 UTC
Created attachment 163099 [details]
stacktrace

Used codecompletion on a field datatype
Comment 4 Exceptions Reporter 2016-12-15 14:06:51 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227028
Comment 5 Exceptions Reporter 2017-01-25 12:26:42 UTC
Created attachment 163466 [details]
stacktrace

detected the error in tray during edit of sources
Comment 6 akobberup 2017-01-31 10:12:22 UTC
Created attachment 163516 [details]
stacktrace

Tried to invoke code completion on a variable