bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23864] New: NPE in DefaultStyledDocument.insertUpdate


From: thebohemian at gmx dot net
Subject: [Bug swing/23864] New: NPE in DefaultStyledDocument.insertUpdate
Date: 13 Sep 2005 19:01:20 -0000

When running beanshell (bsh 2.0_beta1) bsh.Console class the following exception
occurs when the workspace window is displayed:

Caused by: java.lang.NullPointerException
   at javax.swing.text.DefaultStyledDocument.insertUpdate (DefaultStyledDocument
.java:1109)
   at javax.swing.text.AbstractDocument.insertString (AbstractDocument.java:524)
   at javax.swing.JTextPane.replaceSelection (JTextPane.java:177)
   at bsh.util.JConsole.append (Unknown Source)
   at bsh.util.JConsole.access$300 (Unknown Source)
   at bsh.util.JConsole$2.run (Unknown Source)
   at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:184)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:466)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)

The application immediately provokes another one in the same method but at a
different location:

Caused by: java.lang.NullPointerException
   at javax.swing.text.DefaultStyledDocument.insertUpdate (DefaultStyledDocument
.java:1075)
   at javax.swing.text.AbstractDocument.insertString (AbstractDocument.java:524)
   at javax.swing.JTextPane.replaceSelection (JTextPane.java:177)
   at bsh.util.JConsole.append (Unknown Source)
   at bsh.util.JConsole.access$300 (Unknown Source)
   at bsh.util.JConsole$2.run (Unknown Source)
   at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:184)
   at java.awt.EventQueue.dispatchEvent (EventQueue.java:466)
   at java.awt.EventDispatchThread.run (EventDispatchThread.java:75)

-- 
           Summary: NPE in DefaultStyledDocument.insertUpdate
           Product: classpath
           Version: 0.18
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thebohemian at gmx dot net
                CC: bug-classpath at gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23864




reply via email to

[Prev in Thread] Current Thread [Next in Thread]