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 bug was originally marked as duplicate of bug 232134, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Linux User Comments: psaberi: when I unse netbeans to programmin in php, i get this error. Corneliu: Managing file associations from Options -> Miscellaneous -> Files Stacktrace: java.lang.IllegalArgumentException: MultiFileObject@64e5472e[Services/MIMEResolver/user-defined-mime-resolver.xml] at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl.create(MIMEResolverImpl.java:358) at org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl.getMIMEToExtensions(MIMEResolverImpl.java:153) at org.openide.filesystems.MIMEResolver$UIHelpers.getMIMEToExtensions(MIMEResolver.java:189) at org.netbeans.core.ui.options.filetypes.FileAssociationsModel.init(FileAssociationsModel.java:302) at org.netbeans.core.ui.options.filetypes.FileAssociationsModel.getExtensions(FileAssociationsModel.java:149) at org.netbeans.core.ui.options.filetypes.FileAssociationsPanel.load(FileAssociationsPanel.java:401)
Created attachment 154089 [details] stacktrace
It seems that file user-defined-mime-resolver.xml is corrupted. Can you please check it? It is located in NetBeans user directory, e.g. ~/.netbeans/8.0/config/Services/MIMEResolver/. If it is empty or missing, please try deleting (or renaming) its parent directory (MIMEResolver). Thank you.
*** Bug 252478 has been marked as a duplicate of this bug. ***
*** Bug 248828 has been marked as a duplicate of this bug. ***
http://hg.netbeans.org/core-main/rev/9c7ed05394ff Fixed (informative message in IDE Log instead of exception report). Thank you for reporting.
Integrated into 'main-silver', will be available in build *201509261150* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9c7ed05394ff User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #252855: IllegalArgumentException: Empty file Services/MIMEResolver/user-defined-mime-resolver.xml