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 201573 - [70cat] NullPointerException at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasResource
Summary: [70cat] NullPointerException at org.netbeans.modules.web.beans.navigation.act...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 14:45 UTC by misterm
Modified: 2011-09-08 23:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180882


Attachments
stacktrace (1.31 KB, text/plain)
2011-09-02 14:45 UTC, misterm
Details
stacktrace (1.31 KB, text/plain)
2011-09-02 15:05 UTC, misterm
Details
stacktrace (1.31 KB, text/plain)
2011-09-02 15:08 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2011-09-02 14:45:41 UTC
Build: NetBeans IDE Dev (Build 20110902-1069436e7e58)
VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04
OS: Windows 7

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasResource(WebBeansActionHelper.java:264)
   at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasJsr330(WebBeansActionHelper.java:205)
   at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.isEnabled(WebBeansActionHelper.java:179)
   at org.netbeans.modules.web.beans.analysis.CancellableAnalysysTask.run(CancellableAnalysysTask.java:70)
   at org.netbeans.modules.web.beans.analysis.CancellableAnalysysTask.run(CancellableAnalysysTask.java:58)
   at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:324)
Comment 1 misterm 2011-09-02 14:45:46 UTC
Created attachment 110364 [details]
stacktrace
Comment 2 misterm 2011-09-02 15:05:15 UTC
Created attachment 110365 [details]
stacktrace
Comment 3 misterm 2011-09-02 15:08:15 UTC
Created attachment 110366 [details]
stacktrace
Comment 4 Martin Janicek 2011-09-08 12:26:23 UTC
http://hg.netbeans.org/web-main/rev/9c2b86fb8223
Comment 5 David Konecny 2011-09-08 23:44:49 UTC
Martin, it is good to transfer issue to its component - CDI. When you do that BugZilla suggest that it will automatically assign it to owner of such component but you can override that and keep the issue assigned to you - just uncheck "Reset Assignee to default" checkbox.