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.

Bug 69621 - Bunch of exceptions on import of settings from 4.1
Summary: Bunch of exceptions on import of settings from 4.1
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 5.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks: 69578
  Show dependency tree
 
Reported: 2005-11-30 14:13 UTC by Jiri Kovalsky
Modified: 2007-11-05 13:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exceptions thrown on IDE startup while simporting 4.1 settings. (7.76 KB, text/plain)
2005-11-30 14:14 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2005-11-30 14:13:31 UTC
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.
Comment 1 Jiri Kovalsky 2005-11-30 14:14:37 UTC
Created attachment 27439 [details]
Exceptions thrown on IDE startup while simporting 4.1 settings.
Comment 2 Jan Lahoda 2005-11-30 14:45:12 UTC
Seems like editor/settings problem to me.
Comment 3 Roman Strobl 2005-11-30 14:48:53 UTC
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.
Comment 4 Roman Strobl 2005-11-30 15:34:09 UTC
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.
Comment 5 Martin Roskanin 2005-11-30 15:41:22 UTC
org.netbeans.modules.editor.settings.storage.FontColorSettingsImpl.getFontColors(FontColorSettingsImpl.java:93)
...
Comment 6 Jan Jancura 2005-11-30 20:31:34 UTC
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
Comment 7 Roman Strobl 2005-12-01 14:09:05 UTC
Verified in both trunk and q-build branch.