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 214685 - NPE - CompositeFCS.getRenderingHints
Summary: NPE - CompositeFCS.getRenderingHints
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-25 07:16 UTC by Jaroslav Tulach
Modified: 2012-06-26 04:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2012-06-25 07:16:06 UTC
The test
http://deadlock.netbeans.org/hudson/job/ergonomics/lastCompletedBuild/testReport/org.netbeans.modules.ide.ergonomics.fod/OpenEditorEnablesEditMenuFactoryTest/testIfProjectFactoryInstalled/
failed with following NPE:


Caused by: java.lang.NullPointerException
	at org.netbeans.modules.editor.settings.storage.fontscolors.CompositeFCS.getRenderingHints(CompositeFCS.java:311)
	at org.netbeans.modules.editor.settings.storage.fontscolors.CompositeFCS.getFontColors(CompositeFCS.java:153)
	at org.netbeans.modules.editor.lib.ColoringMap.collectNonTokenColorings(ColoringMap.java:282)
	at org.netbeans.modules.editor.lib.ColoringMap.loadTheMap(ColoringMap.java:245)
	at org.netbeans.modules.editor.lib.ColoringMap.<init>(ColoringMap.java:175)
	at org.netbeans.modules.editor.lib.ColoringMap.getInternal(ColoringMap.java:210)
	at org.netbeans.modules.editor.lib.ColoringMap.get(ColoringMap.java:91)
	at org.netbeans.editor.EditorUI.getCMInternal(EditorUI.java:674)
	at org.netbeans.editor.EditorUI.updateLineHeight(EditorUI.java:719)
	at org.netbeans.editor.EditorUI.initLineHeight(EditorUI.java:341)
	at org.netbeans.editor.BaseTextUI.getEditorUI(BaseTextUI.java:406)
	at org.netbeans.editor.BaseTextUI.installUI(BaseTextUI.java:237)
	at javax.swing.JComponent.setUI(JComponent.java:662)
Comment 1 Milutin Kristofic 2012-06-25 13:12:56 UTC
http://hg.netbeans.org/jet-main/rev/7cd98e066e16

NPE in LOG.FINE.
Comment 2 Quality Engineering 2012-06-26 04:56:31 UTC
Integrated into 'main-golden', will be available in build *201206260002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7cd98e066e16
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #214685 - NPE - CompositeFCS.getRenderingHints