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 193299 - Null Pointer Exception
Summary: Null Pointer Exception
Status: RESOLVED DUPLICATE of bug 194366
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-12 17:55 UTC by rahulraja
Modified: 2011-05-19 12:23 UTC (History)
1 user (show)

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 rahulraja 2010-12-12 17:55:08 UTC
[ BUILD # : 201012110001 ]
[ JDK VERSION : 1.6.22 ]

When we open any project.xml file or any project properties of a module and
close the file then it occurs an exception
The following exception is occured :

java.lang.NullPointerException
	at
org.netbeans.modules.editor.lib2.view.DocumentView.propertyChange(DocumentView.j
ava:1301)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:3
39)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:2
76)
	at java.awt.Component.firePropertyChange(Component.java:7865)
	at
org.openide.text.QuietEditorPane.firePropertyChange(QuietEditorPane.java:209)
	at java.awt.Component.setFont(Component.java:1648)
	at java.awt.Container.setFont(Container.java:1571)
	at javax.swing.JComponent.setFont(JComponent.java:2716)
	at org.openide.text.QuietEditorPane.setFont(QuietEditorPane.java:132)
	at
org.netbeans.modules.editor.lib2.view.DocumentView.updateDefaultFontAndColors(Do
cumentView.java:771)
	at
org.netbeans.modules.editor.lib2.view.DocumentView.checkSettingsInfo(DocumentVie
w.java:684)
	at
org.netbeans.modules.editor.lib2.view.DocumentView.checkViewsInited(DocumentView
.java:477)
	at
org.netbeans.modules.editor.lib2.view.DocumentView.modelToViewChecked(DocumentVi
ew.java:908)
	at
org.netbeans.modules.editor.lib2.view.EditorView.modelToView(EditorView.java:253
)
	at
javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1496)
	at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1034)
	at javax.swing.text.DefaultCaret.setVisible(DefaultCaret.java:952)
	at javax.swing.text.DefaultCaret.focusLost(DefaultCaret.java:347)
	at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:213)
	at java.awt.Component.processFocusEvent(Component.java:5930)
	at java.awt.Component.processEvent(Component.java:5794)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
	at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusMan
ager.java:878)
	at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.j
ava:551)
	at java.awt.Component.dispatchEventImpl(Component.java:4282)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
	at java.awt.SequencedEvent.dispatch(SequencedEvent.java:98)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273
)
	at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173
)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Miloslav Metelka 2011-05-19 12:23:46 UTC

*** This bug has been marked as a duplicate of bug 194366 ***