AnsweredAssumed Answered

Nullpointer when i will send as message or write a message

Question asked by aclausen on Jul 17, 2008
Latest reply on May 27, 2014 by leonardo.piedade

 

Hello,

 

 

the error is, when i write a message. What can i do ?

 

 

 

 

 

_This is the log-file: _

 

 

16.07.2008 14:04:45 org.jivesoftware.spark.util.log.Log error

SCHWERWIEGEND:

java.lang.NullPointerException

    at java.util.Hashtable.put(Unknown Source)

    at javax.swing.text.SimpleAttributeSet.addAttribute(Unknown Source)

    at javax.swing.text.StyleConstants.setForeground(Unknown Source)

    at org.jivesoftware.spark.ui.TranscriptWindow.insertPrefixAndMessage(TranscriptWin dow.java:197)

    at org.jivesoftware.sparkimpl.plugin.alerts.BroadcastPlugin.showAlert(BroadcastPlu gin.java:248)

    at org.jivesoftware.sparkimpl.plugin.alerts.BroadcastPlugin.access$200(BroadcastPl ugin.java:69)

    at org.jivesoftware.sparkimpl.plugin.alerts.BroadcastPlugin$5.run(BroadcastPlugin. java:198)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

17.07.2008 10:56:41 org.jivesoftware.spark.util.log.Log error

SCHWERWIEGEND: Error sending message

java.lang.NullPointerException

    at java.util.Hashtable.put(Unknown Source)

    at javax.swing.text.SimpleAttributeSet.addAttribute(Unknown Source)

    at javax.swing.text.StyleConstants.setForeground(Unknown Source)

    at org.jivesoftware.spark.ui.TranscriptWindow.insertMessage(TranscriptWindow.java: 167)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:262)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:248)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:223)

    at org.jivesoftware.spark.ui.ChatRoom.checkForEnter(ChatRoom.java:466)

    at org.jivesoftware.spark.ui.ChatRoom.access$100(ChatRoom.java:73)

    at org.jivesoftware.spark.ui.ChatRoom$2.keyPressed(ChatRoom.java:251)

    at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)

    at java.awt.Component.processKeyEvent(Unknown Source)

    at javax.swing.JComponent.processKeyEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

17.07.2008 10:56:49 org.jivesoftware.spark.util.log.Log error

SCHWERWIEGEND: Error sending message

java.lang.NullPointerException

    at java.util.Hashtable.put(Unknown Source)

    at javax.swing.text.SimpleAttributeSet.addAttribute(Unknown Source)

    at javax.swing.text.StyleConstants.setForeground(Unknown Source)

    at org.jivesoftware.spark.ui.TranscriptWindow.insertMessage(TranscriptWindow.java: 167)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:262)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:248)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:223)

    at org.jivesoftware.spark.ui.ChatRoom.checkForEnter(ChatRoom.java:466)

    at org.jivesoftware.spark.ui.ChatRoom.access$100(ChatRoom.java:73)

    at org.jivesoftware.spark.ui.ChatRoom$2.keyPressed(ChatRoom.java:251)

    at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)

    at java.awt.Component.processKeyEvent(Unknown Source)

    at javax.swing.JComponent.processKeyEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

17.07.2008 11:03:27 org.jivesoftware.spark.util.log.Log error

SCHWERWIEGEND: Error sending message

java.lang.NullPointerException

    at java.util.Hashtable.put(Unknown Source)

    at javax.swing.text.SimpleAttributeSet.addAttribute(Unknown Source)

    at javax.swing.text.StyleConstants.setForeground(Unknown Source)

    at org.jivesoftware.spark.ui.TranscriptWindow.insertMessage(TranscriptWindow.java: 167)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:262)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:248)

    at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:223)

    at org.jivesoftware.spark.ui.ChatRoom.checkForEnter(ChatRoom.java:466)

    at org.jivesoftware.spark.ui.ChatRoom.access$100(ChatRoom.java:73)

    at org.jivesoftware.spark.ui.ChatRoom$2.keyPressed(ChatRoom.java:251)

    at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)

    at java.awt.Component.processKeyEvent(Unknown Source)

    at javax.swing.JComponent.processKeyEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

 

 

 

 

 

 

cu Achim

 

 

Outcomes