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 242360 - NullPointerException at org.netbeans.modules.web.el.refactoring.RefactoringUtil.getPostionRefs
Summary: NullPointerException at org.netbeans.modules.web.el.refactoring.RefactoringUt...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 11:20 UTC by Maksim Khramov
Modified: 2014-04-28 10:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207973


Attachments
stacktrace (3.09 KB, text/plain)
2014-02-26 11:20 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2014-02-26 11:20:40 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1357-on-20140224)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
mkhramov: Occurs after delete some JSF bean class and JSF page




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.el.refactoring.RefactoringUtil.getPostionRefs(RefactoringUtil.java:224)
   at org.netbeans.modules.web.el.refactoring.WhereUsedQueryElement.getPosition(WhereUsedQueryElement.java:116)
   at org.netbeans.modules.refactoring.api.RefactoringElement.getPosition(RefactoringElement.java:136)
   at org.netbeans.modules.refactoring.spi.impl.CheckNode.getPosition(CheckNode.java:196)
   at org.netbeans.modules.refactoring.spi.impl.CheckNode.getToolTip(CheckNode.java:208)
   at org.netbeans.modules.refactoring.spi.impl.CheckRenderer.getToolTipText(CheckRenderer.java:118)
Comment 1 Maksim Khramov 2014-02-26 11:20:42 UTC
Created attachment 145595 [details]
stacktrace
Comment 2 Martin Fousek 2014-02-28 13:33:01 UTC
Thanks for reporting. Fixed in web-main #45311f6b42f6.
Comment 3 Quality Engineering 2014-03-01 06:15:16 UTC
Integrated into 'main-silver', will be available in build *201403010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/45311f6b42f6
User: Martin Fousek <marfous@netbeans.org>
Log: #242360 - NullPointerException at org.netbeans.modules.web.el.refactoring.RefactoringUtil.getPostionRefs
Comment 4 Vladimir Riha 2014-04-16 07:26:48 UTC
Cannot reproduce, verified

Product Version: NetBeans IDE Dev (Build 201404150001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70
Runtime: Java(TM) SE Runtime Environment 1.8.0-b132
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Comment 5 Martin Fousek 2014-04-18 05:57:37 UTC
Transplanted as releases #4763473b4053.
Spec.version, long description change in releases #617d152570c6.
Comment 6 Quality Engineering 2014-04-24 02:14:08 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/4763473b4053
User: Martin Fousek <marfous@netbeans.org>
Log: #242360 - NullPointerException at org.netbeans.modules.web.el.refactoring.RefactoringUtil.getPostionRefs
(transplanted from 45311f6b42f6a9c97f41446634c58e6843cbe49d)
Comment 7 Vladimir Riha 2014-04-28 10:28:00 UTC
cannot reproduce in patch1

Product Version: NetBeans IDE 8.0 (Build 201403101706)
Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 1
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)