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 3099 - Closing Text Editor may cause an exception.
Summary: Closing Text Editor may cause an exception.
Status: CLOSED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All Linux
: P4 normal (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-08-04 02:09 UTC by Marian Petras
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 Marian Petras 1999-08-04 02:09:31 UTC
1. Run fresh NetBeans IDE.
2. Make sure that only "Development" directory (from the NetBeans directory) is mounted. If there are some other filesystems mounted, unmount them.
3. Use console to create a new subdirectory "test" of the directory "Development".
4. Use console to create a new file "test.txt" in the directory "test".
5. Open "test.txt" in NetBeans.
6. Close the TextEditor.

The exception below is thrown.

If the file open and closed is "readme" in the directory "Development", everything is OK.

Exception occurred during event dispatching:
java.lang.NullPointerException: NullPointerException

	at sun.awt.motif.X11InputMethod.createXICNative(Native Method)
	at sun.awt.motif.X11InputMethod.activate(X11InputMethod.java:219)
	at sun.awt.im.InputContext.activate(InputContext.java:194)
	at sun.awt.im.InputContext.dispatchEvent(InputContext.java:129)
	at sun.awt.im.InputMethodContext.dispatchEvent(InputMethodContext.java:148)
	at java.awt.Component.dispatchEventImpl(Component.java:2320)
	at java.awt.Container.dispatchEventImpl(Container.java:1032)
	at java.awt.Window.dispatchEventImpl(Window.java:714)
	at java.awt.Component.dispatchEvent(Component.java:2289)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
Comment 1 Marek Grummich 2000-07-25 09:24:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 15:34:22 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:41:25 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.