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 96176 - Exception after long idle period
Summary: Exception after long idle period
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2007-02-21 15:40 UTC by Mikhail Matveev
Modified: 2007-11-05 13:44 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 Mikhail Matveev 2007-02-21 15:40:16 UTC
I created LoanApplication schema and left IDE open for several hours. After
return, I got following exception.
Functionality wasn't affected.


java.lang.NullPointerException
	at
org.netbeans.modules.editor.NbEditorUI$SystemActionPerformer.detachSystemActionPerformer(NbEditorUI.java:456)
	at
org.netbeans.modules.editor.NbEditorUI$SystemActionPerformer.propertyChange(NbEditorUI.java:477)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
	at org.netbeans.editor.EditorUI.firePropertyChange(EditorUI.java:430)
	at org.netbeans.editor.EditorUI.putProperty(EditorUI.java:857)
	at org.netbeans.editor.EditorUI.uninstallUI(EditorUI.java:393)
	at org.netbeans.modules.editor.NbEditorUI.uninstallUI(NbEditorUI.java:313)
	at org.netbeans.editor.BaseTextUI.uninstallUI(BaseTextUI.java:255)
	at javax.swing.JComponent.setUI(JComponent.java:646)
	at javax.swing.text.JTextComponent.setUI(JTextComponent.java:322)
	at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:332)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1206)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI0(SwingUtilities.java:1221)
	at javax.swing.SwingUtilities.updateComponentTreeUI(SwingUtilities.java:1197)
	at
com.sun.java.swing.plaf.windows.DesktopProperty.updateWindowUI(DesktopProperty.java:110)
	at
com.sun.java.swing.plaf.windows.DesktopProperty.updateWindowUI(DesktopProperty.java:113)
	at
com.sun.java.swing.plaf.windows.DesktopProperty.updateAllUIs(DesktopProperty.java:102)
	at
com.sun.java.swing.plaf.windows.DesktopProperty.access$000(DesktopProperty.java:24)
[catch] at
com.sun.java.swing.plaf.windows.DesktopProperty$1.run(DesktopProperty.java:210)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	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 Vitezslav Stejskal 2007-03-18 22:49:59 UTC
I guess it's probably not anything easily reproducible?
Comment 2 Miloslav Metelka 2007-03-27 13:09:04 UTC
It seems that the action map of the text component is null. I've made the code
to check for that.

Checking in NbEditorUI.java;
/cvs/editor/src/org/netbeans/modules/editor/NbEditorUI.java,v  <--  NbEditorUI.java
new revision: 1.63; previous revision: 1.62