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.
Summary: | NullPointerException at org.netbeans.modules.web.jsf.refactoring.Occurrences.getPackageOccurrences | ||
---|---|---|---|
Product: | javaee | Reporter: | adosoniu <adosoniu> |
Component: | JSF | Assignee: | _ potingwu <potingwu> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=21758 | ||
Issue Type: | DEFECT | Exception Reporter: | 21758 |
Bug Depends on: | 116418 | ||
Bug Blocks: | |||
Attachments: | stacktrace |
Description
adosoniu
2008-01-23 13:55:42 UTC
Created attachment 55429 [details]
stacktrace
Please give your reproduce steps and/or attach the project that will reproduce this issue. I think this is not a project that originally created by NetBeans IDE. Please see also issue#116418. Does the workaround in issue#116418 work for you? I.e., remove the namespace of your faces-config.xml file. I have confirmed with the reporter that the faces-config.xml file does contain xmlns="http://java.sun.com/JSF/Configuration"! Removing it will resolve this issue. As discussed with Petr Pisl, the solution should follow xml specification. Which means that if there is an element defining a namespace, then all subelements without a namespace has the same. Therefore, we will always use the namepsace that appears in the <faces-config> for the comparison. I.e., the getQName() method has been restructured. changeset a4c7ae2ae10c in main details: http://hg.netbeans.org/main?cmd=changeset;node=a4c7ae2ae10c changeset 3ce9b72283dd in main details: http://hg.netbeans.org/main?cmd=changeset;node=3ce9b72283dd Please see also issue#116418. |