Assertion failure logging into Spark

Windows XP SP3

Java 1.6.0_11

Java 1.6.0_29

Local Admin

Spark 2.6.3

OpenFire 3.7.1

When logging into Spark, after inputing the user name and password, we receive the following error:

Microsoft Visual C++ Runtime Library

Assertion failed!

Program: C:\Program Files\Spark\Spark.exe

File: …/…/…/src/windows/native/sun/…/Resolv…nImpl.c

Line: 519

Expression: ulType == REG_SZ

This is multiple users. We are not in full production with OF/Spark yet. This is our test group. We all receive this error.

Is it the official installer for this site? Online version? If so, i suggest to use the full installer with java included. This can also be some other application interference, but this error doesn’t give much clues. You can also check error.log in Spark installation folder and also in C:\Documents and Settings\User\Application Data\Spark\logs

I found this error log after wroot pointed out where to find them.

Jun 19, 2012 11:16:34 AM org.jivesoftware.spark.util.log.Log error

SEVERE: 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: 190)

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

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

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

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

at org.jivesoftware.spark.ui.ChatRoom.access$300(ChatRoom.java:89)

at org.jivesoftware.spark.ui.ChatRoom$3.keyPressed(ChatRoom.java:335)

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)

I did use full installer.

Does this help?

Not much. Especially when i’m not a developer myself. Are all machines identical with the identical software? Can you try on somewhat different machine, or the same machine but only with Windows and minimal drivers installed?