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 217622

Summary: NullPointerException: Passed null to InjectionTargetQuery.isInjectionTarget(CompilationController, TypeElement)
Product: javaee Reporter: neialcantarajr
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WORKSFORME    
Severity: normal CC: pjiricka
Priority: P4    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191984
Attachments: stacktrace

Description neialcantarajr 2012-08-30 12:20:32 UTC
Build: NetBeans IDE 7.1.1 (Build 201202271535)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException: Passed null to InjectionTargetQuery.isInjectionTarget(CompilationController, TypeElement)
   at org.netbeans.modules.j2ee.common.queries.api.InjectionTargetQuery.isInjectionTarget(InjectionTargetQuery.java:82)
   at org.netbeans.modules.web.project.WebEMGenStrategyResolver$1.run(WebEMGenStrategyResolver.java:113)
   at org.netbeans.modules.web.project.WebEMGenStrategyResolver$1.run(WebEMGenStrategyResolver.java:109)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:665)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:655)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:482)
Comment 1 neialcantarajr 2012-08-30 12:20:34 UTC
Created attachment 123738 [details]
stacktrace
Comment 2 Sergey Petrov 2012-10-18 18:58:17 UTC
happen once in 7.1.1, no details -> p4 for now, but let collect more exception reports if there will be more later.

 neialcantarajr,
do you have any additional information on how to reproduce the issue?
Comment 3 neialcantarajr 2012-10-18 19:10:42 UTC
Hi Sergey Petrov,

I do not remember how to simulate this problem.
I was working when the error occurred and I sent the report. I do not remember what I was doing, I'm sorry.
I'll try to remember, if I can, I comment here.

(In reply to comment #2)
>  neialcantarajr,
> do you have any additional information on how to reproduce the issue?
Comment 4 Quality Engineering 2015-02-04 03:29:52 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.