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 70073 - [fonts/colors] NPE thrown while changing font/color for CSS
Summary: [fonts/colors] NPE thrown while changing font/color for CSS
Status: VERIFIED DUPLICATE of bug 71803
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-12-08 10:57 UTC by Pavel Rehak
Modified: 2007-11-05 13:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thrown NPE (1.40 KB, text/plain)
2005-12-08 10:58 UTC, Pavel Rehak
Details
Exception thrown when changing font for property files (29.81 KB, text/plain)
2006-01-23 05:22 UTC, wbarnes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Rehak 2005-12-08 10:57:42 UTC
Product Version         = NetBeans IDE Dev (Build 200512072015)
  Operating System        = Mac OS X version 10.3.9 running on ppc
  Java; VM; Vendor; Home  = 1.4.2_09; Java HotSpot(TM) Client VM 1.4.2-56; Apple
Computer, Inc.; /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
---
Attached NPE was thrown after changes at font and color and fontsize for
CSS documents.
Comment 1 Pavel Rehak 2005-12-08 10:58:02 UTC
Created attachment 27660 [details]
thrown NPE
Comment 2 Jan Jancura 2005-12-09 10:14:21 UTC
I am playing with CSS for several minutes, and I am still not able to reproduce
this NPE. Can you write some how to reproduce, please?
Comment 3 Jan Jancura 2006-01-03 09:02:15 UTC
Too late to fix in nb5.0.
Comment 4 wbarnes 2006-01-23 05:17:29 UTC
I'm using NB 5.0 RC1 on Windows XP and I get the same exception when I attempt 
to change the font for property files using Tools>Options>Fonts & Colors. The
error scrambles the options window and I have to restart the IDE. The exception
seems to originate in the same location as reported by prehak:

org.netbeans.modules.editor.NbEditorUI.toFont(NbEditorUI.java:256)

Please see attached messages.log
Comment 5 wbarnes 2006-01-23 05:22:19 UTC
Created attachment 28529 [details]
Exception thrown when changing font for property files
Comment 6 Martin Roskanin 2006-01-24 15:13:42 UTC
just fixed, thanks for the report

*** This issue has been marked as a duplicate of 71803 ***
Comment 7 Pavel Rehak 2006-03-22 11:04:21 UTC
Verified.