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 193953 - NullPointerException: The fileObject parameter cannot be null
Summary: NullPointerException: The fileObject parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 197898 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-31 18:48 UTC by pavelvesely
Modified: 2011-11-01 11:02 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 172661


Attachments
stacktrace (1.18 KB, text/plain)
2010-12-31 18:48 UTC, pavelvesely
Details
stacktrace (1.18 KB, text/plain)
2011-01-14 18:18 UTC, pavelvesely
Details
stacktrace (1.18 KB, text/plain)
2011-01-19 17:57 UTC, gholmer
Details
stacktrace (1.18 KB, text/plain)
2011-01-24 22:51 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pavelvesely 2010-12-31 18:48:34 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-6342-on-101217)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows Vista

User Comments:
sj-nb: find usages on entity primary key getter with generated jsf from entity




Stacktrace: 
java.lang.NullPointerException: The fileObject parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.parsing.api.Source.create(Source.java:126)
   at org.netbeans.modules.web.el.refactoring.ELRefactoringPlugin.getParserResult(ELRefactoringPlugin.java:123)
   at org.netbeans.modules.web.el.refactoring.ELWhereUsedQuery.getMatchingElements(ELWhereUsedQuery.java:363)
   at org.netbeans.modules.web.el.refactoring.ELWhereUsedQuery.handleProperty(ELWhereUsedQuery.java:174)
   at org.netbeans.modules.web.el.refactoring.ELWhereUsedQuery.prepare(ELWhereUsedQuery.java:121)
Comment 1 pavelvesely 2010-12-31 18:48:37 UTC
Created attachment 104643 [details]
stacktrace
Comment 2 pavelvesely 2011-01-14 18:18:00 UTC
Created attachment 105006 [details]
stacktrace
Comment 3 gholmer 2011-01-19 17:57:26 UTC
Created attachment 105154 [details]
stacktrace

gh Called "find usages" from context menu in a Java source file.
Comment 4 Exceptions Reporter 2011-01-19 17:57:37 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=172661
Comment 5 gholmer 2011-01-24 22:51:32 UTC
Created attachment 105321 [details]
stacktrace

Right-clicked a method in Java source and selected "find usages".
Comment 6 Marek Fukala 2011-04-18 13:36:12 UTC
fixed in web-main#ff3d393cf801
Comment 7 Marek Fukala 2011-11-01 11:02:56 UTC
*** Bug 197898 has been marked as a duplicate of this bug. ***