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: | Options => Fonts & Colors - Cannot create or import Profiles | ||
---|---|---|---|
Product: | platform | Reporter: | MrJxN |
Component: | Options&Settings | Assignee: | Theofanis Oikonomou <theofanis> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jiriprox, jtulach, mmirilovic, musilt2 |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
MrJxN
2013-03-26 17:32:04 UTC
Reproducible, The new profile disappears when pressing Apply Fix for creating profiles. http://hg.netbeans.org/jet-main/rev/93a6642aa712 The problem with import, export: There was a change in import and export Bug #226998. After this change, when you import font&colors the following exception is thrown. It hits first file and rest of files are not coppied. I am sending this for evaluation in recent changes. Caused: java.io.SyncFailedException: File .nbattrs already exists in filesystem /home/mito/nb/develop/nbbuild/testuserdir/config (/home/mito/nb/develop/nbbuild/testuserdir/config/.nbattrs). at org.openide.filesystems.LocalFileSystem.createData(LocalFileSystem.java:279) at org.openide.filesystems.LocalFileSystem$Impl.createData(LocalFileSystem.java:588) at org.openide.filesystems.AbstractFileObject.createData(AbstractFileObject.java:474) at org.openide.filesystems.FileUtil.createData(FileUtil.java:783) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1189) at org.openide.filesystems.FileUtil.createData(FileUtil.java:783) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1189) at org.openide.filesystems.FileUtil.createData(FileUtil.java:783) at org.netbeans.modules.options.export.OptionsExportModel.createOutputStream(OptionsExportModel.java:1062) at org.netbeans.modules.options.export.OptionsExportModel.copyFile(OptionsExportModel.java:831) at org.netbeans.modules.options.export.OptionsExportModel.copyZipFile(OptionsExportModel.java:615) [catch] at org.netbeans.modules.options.export.OptionsExportModel.copyFiles(OptionsExportModel.java:592) at org.netbeans.modules.options.export.OptionsExportModel.doImport(OptionsExportModel.java:176) at org.netbeans.modules.options.export.OptionsChooserPanel.showImportDialog(OptionsChooserPanel.java:286) at org.netbeans.modules.options.OptionsDisplayerImpl$4.actionPerformed(OptionsDisplayerImpl.java:266) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:688) at java.awt.EventQueue$3.run(EventQueue.java:686) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:702) at java.awt.EventQueue$4.run(EventQueue.java:700) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:699) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Integrated into 'main-golden', will be available in build *201304172301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/93a6642aa712 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #227963 - Options => Fonts & Colors - Cannot create or import Profiles *** Bug 228893 has been marked as a duplicate of this bug. *** Importing setting is blocked, no easy workaround -> P2 Fixed exceptions thrown during import: http://hg.netbeans.org/core-main/rev/cd31c74cd99b Integrated into 'main-golden', will be available in build *201305062300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cd31c74cd99b User: Theofanis Oikonomou <theofanis@netbeans.org> Log: #227963 - Options => Fonts & Colors - Cannot create or import Profiles verified in trunk. Please backport to 7.3.1 (as issue #226998 is backported as well) backported to release73: http://hg.netbeans.org/releases/rev/4fd2c3017226 Integrated into 'releases', will be available in build *201305102200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/4fd2c3017226 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: #227963 - Options => Fonts & Colors - Cannot create or import Profiles (transplanted from cd31c74cd99b02b0b38561294fc97d1cf9c8ab55) |