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.
This issue was reported manually by janario. It already has 2 duplicates Build: NetBeans IDE Dev (Build 20130507-deee69887229) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: janario: edting xhtml janario: Openning an xhtml Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.jsf.api.editor.JSFResourceBundlesProvider$1.run(JSFResourceBundlesProvider.java:93) at org.netbeans.modules.web.jsf.api.editor.JSFResourceBundlesProvider$1.run(JSFResourceBundlesProvider.java:77) at org.netbeans.modules.web.jsf.impl.metamodel.JsfModelImplementation$1.call(JsfModelImplementation.java:93) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runCallable(AnnotationModelHelper.java:256) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.access$100(AnnotationModelHelper.java:79) at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper$2.run(AnnotationModelHelper.java:184)
Created attachment 134202 [details] stacktrace
This makes impossible to edit an xhtml file
Are you sure that 72patch-candidate is correct? :)
Thanks for reporting and sorry for inconvience with these exceptions. Fixed in web-main #f80f8e70d867 and prevented another NPE.
Guys please could you send me also bundle setup of your projects where this happened? It means: - part of your faces-config.xml where are bundles registered - structure of your project (packages + bundle names) -> It's probable that navigation for your resource bundles will not work properly without these additional information, thanks a lot!
Martine, could I ask you for review of fix for this NPE please? Thanks in advance.
The patch looks fine and safe to me !
(In reply to comment #8) > The patch looks fine and safe to me ! Thanks for quick review.
Integrated into 'main-golden', will be available in build *201305092300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f80f8e70d867 User: Martin Fousek <marfous@netbeans.org> Log: #229480 - NullPointerException at org.netbeans.modules.web.jsf.api.editor.JSFResourceBundlesProvider$1.run
I cannot reproduce it even before the fix but it looks safe, verified Product Version: NetBeans IDE Dev (Build 201305132300) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)
Verified, but status should be changed after verification in 7.3.1, sorry for spam
Transplanted as releases #8ed597cf8579.
Integrated into 'releases', will be available in build *201305142200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/8ed597cf8579 User: Martin Fousek <marfous@netbeans.org> Log: #229480 - NullPointerException at org.netbeans.modules.web.jsf.api.editor.JSFResourceBundlesProvider$1.run (transplanted from f80f8e70d8670b3d839175c53899c5704a2bdb73)