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 - 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
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-18 10:30 UTC by terje7601
Modified: 2017-06-16 13:07 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222171


Attachments
stacktrace (3.33 KB, text/plain)
2016-01-18 10:30 UTC, terje7601
Details
stacktrace (3.33 KB, text/plain)
2016-01-29 14:21 UTC, abien
Details
stacktrace (3.33 KB, text/plain)
2016-02-01 14:45 UTC, muellermi
Details
stacktrace (3.33 KB, text/plain)
2016-02-01 14:51 UTC, muellermi
Details
stacktrace (3.33 KB, text/plain)
2016-03-07 09:32 UTC, Jiri Skrivanek
Details
stacktrace (3.33 KB, text/plain)
2016-03-07 12:56 UTC, Jiri Skrivanek
Details
stacktrace (8.08 KB, text/plain)
2016-10-15 21:01 UTC, Exceptions Reporter
Details
stacktrace (9.37 KB, text/plain)
2016-12-04 03:03 UTC, nleck
Details
stacktrace (5.38 KB, text/plain)
2017-04-03 13:49 UTC, aldobrucale
Details

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