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 202231 - [71cat] [71cat] NullPointerException at org.netbeans.modules.web.beans.analysis.CdiEditorAnalysisFactory.getElementPosition
Summary: [71cat] [71cat] NullPointerException at org.netbeans.modules.web.beans.analys...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 13:58 UTC by muellermi
Modified: 2011-09-21 08:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181182


Attachments
stacktrace (4.45 KB, text/plain)
2011-09-16 13:58 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2011-09-16 13:58:06 UTC
Build: NetBeans IDE Dev (Build 201109141017)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows XP

User Comments:
muellermi: changing variable type

muellermi: editing type of injected var




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.beans.analysis.CdiEditorAnalysisFactory.getElementPosition(CdiEditorAnalysisFactory.java:218)
   at org.netbeans.modules.web.beans.hints.EditorAnnotationsHelper.addAnnotation(EditorAnnotationsHelper.java:249)
   at org.netbeans.modules.web.beans.hints.EditorAnnotationsHelper.addInjectionPoint(EditorAnnotationsHelper.java:171)
   at org.netbeans.modules.web.beans.analysis.analyzer.field.InjectionPointAnalyzer.analyze(InjectionPointAnalyzer.java:124)
   at org.netbeans.modules.web.beans.analysis.analyzer.FieldModelAnalyzer.analyze(FieldModelAnalyzer.java:78)
   at org.netbeans.modules.web.beans.analysis.WebBeansAnalysisTask.analyze(WebBeansAnalysisTask.java:204)
Comment 1 muellermi 2011-09-16 13:58:10 UTC
Created attachment 110815 [details]
stacktrace
Comment 2 Denis Anisimov 2011-09-20 18:06:24 UTC
web-main#a0103a74c761
Comment 3 Quality Engineering 2011-09-21 08:04:05 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a0103a74c761
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#202231 - [71cat] [71cat] NullPointerException at org.netbeans.modules.web.beans.analysis.CdiEditorAnalysisFactory.getElementPosition