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 - 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-01-18 09:54 UTC by Ralph Ruijs
Modified: 2018-02-15 16:02 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222170


Attachments
stacktrace (3.33 KB, text/plain)
2016-01-18 09:54 UTC, Ralph Ruijs
Details
stacktrace (3.33 KB, text/plain)
2016-01-27 14:27 UTC, abien
Details
stacktrace (6.80 KB, text/plain)
2016-04-21 12:56 UTC, Ralph Ruijs
Details
IDE log - writing Atomic in a Java class NB DEV 201609210002 (867.96 KB, text/plain)
2016-09-29 20:17 UTC, zmirc
Details
stacktrace (7.47 KB, text/plain)
2016-10-12 04:31 UTC, Exceptions Reporter
Details
stacktrace (8.09 KB, text/plain)
2016-10-20 16:50 UTC, FiruzzZ
Details
stacktrace (8.79 KB, text/plain)
2017-03-16 07:42 UTC, Ralph Ruijs
Details

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