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 271458 - NullPointerException at org.netbeans.modules.web.beans.CdiUtil.isCdi11OrLater
Summary: NullPointerException at org.netbeans.modules.web.beans.CdiUtil.isCdi11OrLater
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-11 15:41 UTC by Exceptions Reporter
Modified: 2017-09-11 15:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 230277


Attachments
stacktrace (5.53 KB, text/plain)
2017-09-11 15:41 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-09-11 15:41:32 UTC
This bug was originally marked as duplicate of bug 246616, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.2 (Build 201705191307)
VM: Java HotSpot(TM) Client VM, 25.144-b01, Java(TM) SE Runtime Environment, 1.8.0_144-b01
OS: Windows 7

User Comments:
GUEST: just opened a test java class




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.beans.CdiUtil.isCdi11OrLater(CdiUtil.java:195)
   at org.netbeans.modules.web.beans.impl.model.BeansModelImpl.getBeanArchiveType(BeansModelImpl.java:199)
   at org.netbeans.modules.web.beans.impl.model.ArchiveTypeBindingTypeFilter.filter(ArchiveTypeBindingTypeFilter.java:76)
   at org.netbeans.modules.web.beans.impl.model.FieldInjectionPointLogic.filterBindingByArchiveType(FieldInjectionPointLogic.java:653)
   at org.netbeans.modules.web.beans.impl.model.FieldInjectionPointLogic.doFindVariableInjectable(FieldInjectionPointLogic.java:247)
   at org.netbeans.modules.web.beans.impl.model.FieldInjectionPointLogic.findVariableInjectable(FieldInjectionPointLogic.java:167)
Comment 1 Exceptions Reporter 2017-09-11 15:41:35 UTC
Created attachment 165113 [details]
stacktrace