NPE on start up - never starts

After an error with exchange config, now eM Client doesn’t start

For some unknown reason, the client stopped showing a calender from a resource account on my Office365 exchange server. I added, deleted and re-added the account, which caused the client to crash. An automatic error report was sent to you. Now, however, I can’t start the client. It goes through the DB repair process, but still reports the error below. As it stands I CAN’T START THE CLIENT!

eM Client (6.0.21040.0)
Windows: Microsoft Windows NT 6.2.9200.0, Framework: 4.0.30319.34014
The following error has occurred:
System.NullReferenceException: Object reference not set to an instance of an object.
at MailClient.Protocols.Exchange.ExchangeAccount.AccountList.InsertItem(Int32 index, IBindableAccount item)
at MailClient.Protocols.Exchange.ExchangeAccount.LoadInt()
at MailClient.Protocols.Common.SynchronizableAccount.Load()
at MailClient.Accounts.MailAccount.Load()
at MailClient.Accounts.AccountManager…ctor()
at MailClient.Accounts.AccountManager.Initialize()
at MailClient.Program.Main(String[] args)

eM Client
6.0.21040.0

false

Microsoft Windows NT 6.2.9200.0
4.0.30319.34014

System.NullReferenceException
Object reference not set to an instance of an object.
MailClient

MailClient.exe
100667753
MailClient
MailClient.Protocols.Exchange.ExchangeAccount+AccountList
InsertItem

mscorlib
System.Int32
index

MailClient
MailClient.Accounts.IBindableAccount
item

0
f

MailClient.exe
100667712
MailClient
MailClient.Protocols.Exchange.ExchangeAccount
LoadInt

74
1a1

MailClient.exe
100666489
MailClient
MailClient.Protocols.Common.SynchronizableAccount
Load

5d
c8

MailClient.exe
100687066
MailClient
MailClient.Accounts.MailAccount
Load

f2
1ac

MailClient.exe
100663445
MailClient
MailClient.Accounts.AccountManager
.ctor

aa
162

MailClient.exe
100663446
MailClient
MailClient.Accounts.AccountManager
Initialize

15
54

MailClient.exe
100675782
MailClient
MailClient.Program
Main

mscorlib
System.String[]
args

de6
1bdc

MailClient.exe
C:\Program Files (x86)\eM Client\MailClient.exe
MailClient.exe
MailClient.exe
6.0.21040.0
eM Client
eM Client
6.0.21040.0
False
False
False
False
False
Language Neutral

ntdll.dll
C:\windows\SYSTEM32\ntdll.dll
ntdll.dll
ntdll.dll.mui
6.3.9600.17031 (winblue_gdr.140221-1952)
NT Layer DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)

MSCOREE.DLL
C:\windows\SYSTEM32\MSCOREE.DLL
mscoree.dll
mscoree.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft .NET Runtime Execution Engine
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

KERNEL32.dll
C:\windows\SYSTEM32\KERNEL32.dll
kernel32
kernel32
6.3.9600.17031 (winblue_gdr.140221-1952)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)

KERNELBASE.dll
C:\windows\SYSTEM32\KERNELBASE.dll
Kernelbase.dll
Kernelbase.dll.mui
6.3.9600.17031 (winblue_gdr.140221-1952)
Windows NT BASE API Client DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)

ADVAPI32.dll
C:\windows\SYSTEM32\ADVAPI32.dll
advapi32.dll
advapi32.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Advanced Windows 32 Base API
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

msvcrt.dll
C:\windows\SYSTEM32\msvcrt.dll
msvcrt.dll
msvcrt.dll
7.0.9600.16384 (winblue_rtm.130821-1623)
Windows NT CRT DLL
Microsoft® Windows® Operating System
7.0.9600.16384
False
False
False
False
False
English (United States)

sechost.dll
C:\windows\SYSTEM32\sechost.dll
sechost.dll
sechost.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Host for SCM/SDDL/LSA Lookup APIs
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

RPCRT4.dll
C:\windows\SYSTEM32\RPCRT4.dll
rpcrt4.dll
rpcrt4.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Remote Procedure Call Runtime
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

SspiCli.dll
C:\windows\SYSTEM32\SspiCli.dll
security.dll
security.dll
6.3.9600.16408 (winblue_gdr.130920-1803)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.3.9600.16408
False
False
False
False
False
English (United States)

CRYPTBASE.dll
C:\windows\SYSTEM32\CRYPTBASE.dll
cryptbase.dll
cryptbase.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
Base cryptographic API DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

bcryptPrimitives.dll
C:\windows\SYSTEM32\bcryptPrimitives.dll
bcryptprimitives.dll
bcryptprimitives.dll
6.3.9600.17120 (winblue_gdr.140509-1516)
Windows Cryptographic Primitives Library
Microsoft® Windows® Operating System
6.3.9600.17120
False
False
False
False
False
English (United States)

mscoreei.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
mscoreei.dll
mscoreei.dll
4.0.30319.34014 built by: FX45W81RTMGDR
Microsoft .NET Runtime Execution Engine
Microsoft® .NET Framework
4.0.30319.34014
False
False
False
True
False
English (United States)

SHLWAPI.dll
C:\windows\SYSTEM32\SHLWAPI.dll
SHLWAPI
SHLWAPI.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Shell Light-weight Utility Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

combase.dll
C:\windows\SYSTEM32\combase.dll
COMBASE.DLL
COMBASE.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft COM for Windows
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

USER32.dll
C:\windows\SYSTEM32\USER32.dll
user32
user32
6.3.9600.16384 (winblue_rtm.130821-1623)
Multi-User Windows USER API Client DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

GDI32.dll
C:\windows\SYSTEM32\GDI32.dll
gdi32
gdi32
6.3.9600.17246 (winblue_gdr.140801-1518)
GDI Client DLL
Microsoft® Windows® Operating System
6.3.9600.17246
False
False
False
False
False
English (United States)

IMM32.DLL
C:\windows\system32\IMM32.DLL
imm32
imm32
6.3.9600.17031 (winblue_gdr.140221-1952)
Multi-User Windows IMM32 API Client DLL
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)

MSCTF.dll
C:\windows\SYSTEM32\MSCTF.dll
MSCTF
MSCTF.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
MSCTF Server DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

clr.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
clr.dll
clr.dll
4.0.30319.34014 built by: FX45W81RTMGDR
Microsoft .NET Runtime Common Language Runtime - WorkStation
Microsoft® .NET Framework
4.0.30319.34014
False
False
False
True
False
English (United States)

MSVCR120_CLR0400.dll
C:\windows\SYSTEM32\MSVCR120_CLR0400.dll
msvcr120_clr0400.dll
msvcr120_clr0400.dll
12.00.51670.34230 built by: FX452RTMGDR
Microsoft® C Runtime Library
Microsoft® Visual Studio® 12 CTP
12.00.51670.34230
False
False
False
False
False
English (United States)

VERSION.dll
C:\windows\SYSTEM32\VERSION.dll
version
VERSION.DLL
6.3.9600.16384 (winblue_rtm.130821-1623)
Version Checking and File Installation Libraries
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

ole32.dll
C:\windows\SYSTEM32\ole32.dll
OLE32.DLL
OLE32.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft OLE for Windows
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

kernel.appcore.dll
C:\windows\SYSTEM32\kernel.appcore.dll
kernel.appcore.dll
kernel.appcore.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
AppModel API Host
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

uxtheme.dll
C:\windows\system32\uxtheme.dll
UxTheme.dll
UxTheme.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft UxTheme Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

clrjit.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
clrjit.dll
clrjit.dll
4.0.30319.34014 built by: FX45W81RTMGDR
Microsoft .NET Runtime Just-In-Time Compiler
Microsoft® .NET Framework
4.0.30319.34014
False
False
False
True
False
English (United States)

OLEAUT32.dll
C:\windows\SYSTEM32\OLEAUT32.dll
OLEAUT32.DLL

6.3.9600.17403

6.3.9600.17403
False
False
False
False
False
English (United States)

bcrypt.dll
C:\windows\SYSTEM32\bcrypt.dll
bcrypt.dll
bcrypt.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Windows Cryptographic Primitives Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

CRYPTSP.dll
C:\windows\SYSTEM32\CRYPTSP.dll
cryptsp.dll
cryptsp.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
Cryptographic Service Provider API
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

rsaenh.dll
C:\windows\system32\rsaenh.dll
rsaenh.dll
rsaenh.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft Enhanced Cryptographic Provider
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

gdiplus.dll
C:\windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17227_none_dad9452e5bcb7986\gdiplus.dll
gdiplus
gdiplus
6.3.9600.17227 (winblue_gdr.140703-2146)
Microsoft GDI+
Microsoft® Windows® Operating System
6.3.9600.17227
False
False
False
False
False
English (United States)

System.Data.dll
C:\windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
system.data.dll
system.data.dll
4.0.30319.33440 built by: FX45W81RTMREL
.NET Framework
Microsoft® .NET Framework
4.0.30319.33440
False
False
False
True
False
English (United States)

WS2_32.dll
C:\windows\SYSTEM32\WS2_32.dll
ws2_32.dll
ws2_32.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Windows Socket 2.0 32-Bit DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

CRYPT32.dll
C:\windows\SYSTEM32\CRYPT32.dll
CRYPT32.DLL
CRYPT32.DLL.MUI
6.3.9600.16431 (winblue_gdr.131015-2301)
Crypto API32
Microsoft® Windows® Operating System
6.3.9600.16431
False
False
False
False
False
English (United States)

NSI.dll
C:\windows\SYSTEM32\NSI.dll
nsi.dll
nsi.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
NSI User-mode interface DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

MSASN1.dll
C:\windows\SYSTEM32\MSASN1.dll
msasn1.dll
msasn1.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
ASN.1 Runtime APIs
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

comctl32.dll
C:\windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_7c55c866aa0c3ff0\comctl32.dll
COMCTL32
COMCTL32.DLL.MUI
5.82 (winblue_rtm.130821-1623)
Common Controls Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

comctl32.dll
C:\windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_a9efdb8b01377ea7\comctl32.dll
comctl32
comctl32.DLL.MUI
6.10 (winblue_rtm.130821-1623)
User Experience Controls Library
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

dwmapi.dll
C:\windows\system32\dwmapi.dll
dwmapi.dll
dwmapi.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft Desktop Window Manager API
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

shell32.dll
C:\windows\SYSTEM32\shell32.dll
SHELL32
SHELL32.DLL.MUI
6.3.9600.17031 (winblue_gdr.140221-1952)
Windows Shell Common Dll
Microsoft® Windows® Operating System
6.3.9600.17031
False
False
False
False
False
English (United States)

SHCORE.dll
C:\windows\SYSTEM32\SHCORE.dll
SHCORE
SHCORE.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
SHCORE
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

mswsock.dll
C:\windows\system32\mswsock.dll
mswsock.dll
mswsock.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Microsoft Windows Sockets 2.0 Service Provider
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

diasymreader.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
diasymreader.dll
diasymreader.dll
12.0.20806.33440 built by: FX45W81RTMREL
Dia based SymReader
Microsoft® .NET Framework
12.0.20806.33440
False
False
False
False
False
English (United States)

PROPSYS.dll
C:\windows\SYSTEM32\PROPSYS.dll
propsys.dll
propsys.dll.mui
7.00.9600.17031 (winblue_gdr.140221-1952)
Microsoft Property System
Windows® Search
7.00.9600.17031
False
False
False
False
False
English (United States)

clbcatq.dll
C:\windows\SYSTEM32\clbcatq.dll
CLBCATQ.DLL
CLBCATQ.DLL
2001.12.10530.16384 (winblue_rtm.130821-1623)
COM+ Configuration Catalog
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

profapi.dll
C:\windows\SYSTEM32\profapi.dll
PROFAPI.DLL
PROFAPI.DLL
6.3.9600.16384 (winblue_rtm.130821-1623)
User Profile Basic API
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

urlmon.dll
C:\Windows\SYSTEM32\urlmon.dll
UrlMon.dll
UrlMon.dll.mui
11.00.9600.16384 (winblue_rtm.130821-1623)
OLE32 Extensions for Win32
Internet Explorer
11.00.9600.16384
False
False
False
False
False
English (United States)

iertutil.dll
C:\Windows\SYSTEM32\iertutil.dll
IeRtUtil.dll
IeRtUtil.dll.mui
11.00.9600.16384 (winblue_rtm.130821-1623)
Run time utility for Internet Explorer
Internet Explorer
11.00.9600.16384
False
False
False
False
False
English (United States)

WININET.dll
C:\Windows\SYSTEM32\WININET.dll
wininet.dll
wininet.dll.mui
11.00.9600.16384 (winblue_rtm.130821-1623)
Internet Extensions for Win32
Internet Explorer
11.00.9600.16384
False
False
False
False
False
English (United States)

USERENV.dll
C:\Windows\SYSTEM32\USERENV.dll
userenv
userenv.dll.mui
6.3.9600.16384 (winblue_rtm.130821-1623)
Userenv
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

Secur32.dll
C:\windows\SYSTEM32\Secur32.dll
secur32.dll
secur32.dll
6.3.9600.16384 (winblue_rtm.130821-1623)
Security Support Provider Interface
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

SETUPAPI.dll
C:\windows\SYSTEM32\SETUPAPI.dll
SETUPAPI.DLL
SETUPAPI.DLL.MUI
6.3.9600.16384 (winblue_rtm.130821-1623)
Windows Setup API
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

CFGMGR32.dll
C:\windows\SYSTEM32\CFGMGR32.dll
cfgmgr32.dll
CFGMGR32.DLL
6.3.9600.16384 (winblue_rtm.130821-1623)
Configuration Manager DLL
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

sqlite3.dll
C:\Program Files (x86)\eM Client\SQLite\x86\sqlite3.dll

False
False
False
False
False

System.Transactions.dll
C:\windows\Microsoft.Net\assembly\GAC_32\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
system.transactions.dll
system.transactions.dll
4.0.30319.33440 built by: FX45W81RTMREL
.NET Framework
Microsoft® .NET Framework
4.0.30319.33440
False
False
False
True
False
English (United States)

System.EnterpriseServices.Wrapper.dll
C:\windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
System.EnterpriseServices.Wrapper.dll
System.EnterpriseServices.Wrapper.dll
4.0.30319.33440 built by: FX45W81RTMREL
Microsoft .NET Services Native Thunks
Microsoft® .NET Framework
4.0.30319.33440
False
False
False
True
False
English (United States)

psapi.dll
C:\windows\SYSTEM32\psapi.dll
PSAPI
PSAPI
6.3.9600.16384 (winblue_rtm.130821-1623)
Process Status Helper
Microsoft® Windows® Operating System
6.3.9600.16384
False
False
False
False
False
English (United States)

Hi George, can you please install this update on your computer, http://www.emclient.com/dist/v6.0.21273/setup.msi , after you do so, please try to setup a new database for the application.
To do so, please navigate to your local folder > App Data > Roaming, and rename or delete the eM Client database.

Reopen the application and a new database should be automatically created allowing you to setup the account again.

Hope this helps,
Paul.

well, it started up, but this is the third time I have had to recreate the accounts so it is a pain. Maybe you need some way for a user to reset information so that I don’t have to start from scratch each time

Hi again Richard, I’m not completely sure why this crash occurred, but please make sure to let us know if it reoccurs.
You can make a backup of your data to avoid this situation in future, to do so go to File > Backup.

Or export your data using the export feature in File > Export, you can also export your account settings, so in case you want to import all your existing account into a new instance of eM Client, you can use a simple .xml file and all your accounts can be imported including your Rules/Passwords/etc. based on the export settings.

Hope this helps,
Paul.