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.
Build: NetBeans IDE Dev (Build 20130912-e3e10b127ff2) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15 OS: Mac OS X User Comments: mfukala: trying to invoke "extract inline style" on following code: <div style="color: red" id="hellos" class="sss"> Stacktrace: java.lang.NullPointerException at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog(ParametersPanel.java:607) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.refresh(RefactoringPanel.java:680) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(RefactoringPanel.java:168) at org.netbeans.modules.refactoring.spi.impl.RefactoringPanel.<init>(RefactoringPanel.java:156) at org.netbeans.modules.refactoring.spi.ui.UI.openRefactoringUI(UI.java:75) at org.netbeans.modules.html.editor.refactoring.HtmlSpecificRefactoringsProvider$2$1.run(HtmlSpecificRefactoringsProvider.java:146)
Created attachment 139983 [details] stacktrace
Caused by ralphbenjamin fixing #235736. It is not defined if the RefactoringUI.getHelpContext() method can return null or not so I'd better add a NPE check to the ParametersPanel code... I've added the helpcontext to the ExtractInlinedStyleRefactoringUI anyway: web-main#df8c77d46c66
Integrated into 'main-silver', will be available in build *201309140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/df8c77d46c66 User: Marek Fukala <mfukala@netbeans.org> Log: #235875 - NullPointerException at org.netbeans.modules.refactoring.spi.impl.ParametersPanel.showDialog