java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • RTFEditorKit - BUG
    via by Oliver Hirschi,
  • Reading from an rtf file
    via by 843804,
  • RTF null pointer
    via by 843805,
  • writing rtf
    via by Derrick Koes,
  • exception while accessing rtf files
    via by 807587,
    • java.lang.NullPointerException at javax.swing.text.rtf.RTFReader$StylesheetDestination$StyleDefiningDestination.close(RTFReader.java:914) at javax.swing.text.rtf.RTFReader.setRTFDestination(RTFReader.java:247) at javax.swing.text.rtf.RTFReader.handleKeyword(RTFReader.java:477) at javax.swing.text.rtf.RTFParser.write(RTFParser.java:232) at javax.swing.text.rtf.AbstractFilter.readFromReader(AbstractFilter.java:105) at javax.swing.text.rtf.RTFEditorKit.read(RTFEditorKit.java:111) at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.handleReaderImport(BasicTextUI.java:2143) at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler.importData(BasicTextUI.java:2314) at javax.swing.TransferHandler$TransferAction.actionPerformed(TransferHandler.java:820) at javax.swing.text.JTextComponent.invokeAction(JTextComponent.java:1203) at javax.swing.text.JTextComponent.paste(JTextComponent.java:1181) at edu.iyte.wp.actions.PasteAction.actionPerformed(PasteAction.java:60) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    No Bugmate found.