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.
Development build #200511291900 of NetBeans 5.0 Windows XP, JDK 1.5.0_05 EA build #02 Description: ============ There are several exceptions thrown on start of IDE when settings from 4.1 are being imported. The cause is all editors show text as plain. This represents very annoying behaviour and should be fixed as soon as possible. Please note that this does not occur on Linux. Steps to reproduce: =================== 1. Launch NetBeans 4.1 with empty userdir. 2. Go to "Tools|Options" from main menu. 3. Select "Editing|Editor Settings|XML Editor" node. 4. Using "Fonts and Colors" change default font to "Arial 11". 5. Push "OK", "Close" and exit IDE. 6. Launch NetBeans 5.0 with empty userdir. 7. Confirm license agreement and click "Yes" to import 4.1 settings. 8. The exceptions will be thrown. 9. Try to create new web application project but new index.jsp will be displayed as plain text.
Created attachment 27439 [details] Exceptions thrown on IDE startup while simporting 4.1 settings.
Seems like editor/settings problem to me.
Note that this is a Q-build stopper. After import from 4.1, plaintext editor is used except java, xml and other editors. Needs to be fixed in branch QBE200511291900 as well.
Jiri, I was able to reproduce it on Linux as well. So it's not an OS specific issue. I have no idea why we weren't able to reproduce it before.
org.netbeans.modules.editor.settings.storage.FontColorSettingsImpl.getFontColors(FontColorSettingsImpl.java:93) ...
fixed in trunk & QBE200511291900 cvs commit -m "69621 Bunch of exceptions on import of settings from 4.1\n69595 Options not saved" -- ColoringStorage.java (in directory C:\Hanz\Dev\qbuild\editor\settings\storage\src\org\netbeans\modules\editor\settings\storage) Checking in ColoringStorage.java; /cvs/editor/settings/storage/src/org/netbeans/modules/editor/settings/storage/ColoringStorage.java,v <-- ColoringStorage.java new revision: 1.11.4.1; previous revision: 1.11 done
Verified in both trunk and q-build branch.