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 246616 - NullPointerException at org.netbeans.modules.web.beans.CdiUtil.isCdi11OrLater
Summary: NullPointerException at org.netbeans.modules.web.beans.CdiUtil.isCdi11OrLater
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 14:50 UTC by NukemBy
Modified: 2015-06-12 11:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211364


Attachments
stacktrace (5.01 KB, text/plain)
2014-08-21 14:50 UTC, NukemBy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2014-08-21 14:50:08 UTC
This bug was originally marked as duplicate of bug 234017, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201408210001)
VM: Java HotSpot(TM) Client VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19
OS: Windows Server 2008 R2

User Comments:
NukemBy: Just navigated to a class via Goto Type




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:197)
   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:623)
   at org.netbeans.modules.web.beans.impl.model.FieldInjectionPointLogic.doFindVariableInjectable(FieldInjectionPointLogic.java:227)
   at org.netbeans.modules.web.beans.impl.model.FieldInjectionPointLogic.findVariableInjectable(FieldInjectionPointLogic.java:147)
Comment 1 NukemBy 2014-08-21 14:50:10 UTC
Created attachment 148818 [details]
stacktrace
Comment 2 Petr Hejl 2015-06-12 11:52:53 UTC
I have no idea how this could happen. There are only two reports from specific old dev build. Feel free to reopen.