Super Secret StatLight Code: 836D4425-DB59-48BB-BA7B-03AB20A57499

Dec 29, 2011 at 5:02 PM
Edited Dec 29, 2011 at 5:02 PM

Using Google I found a few discussions around the same error, but none of the fixes I found helped me...

 

I just tried to switch from an older version to the current and I receive the error mentioned above.  I am still able to run the tests with an older version of Statlight (1.2).  

Following you will find the entire stacktrace (generated using the --debug switch):

 

C:\Dev\branches\massnahmen\GeoMan\src\SlRia\Wk.Test>call ..\..\..\tools\StatLight.v1.6\statlight.exe -x=.\Wk.Test.Sl\Bin\Wk.Test.Sl.xap -c --debug

StatLight - Version 1.6.4375
Copyright (C) 2009-2011 Jason Jarrett
All Rights Reserved.

****************** Input options as configured ******************
ContinuousIntegrationMode          : True
DllPaths                           : IEnumerable
                                     {
                                     }
ForceBrowserStart                  : False
IsRequestingDebug                  : True
MethodsToTest                      : IEnumerable
                                     {
                                     }
MicrosoftTestingFrameworkVersion   :
NumberOfBrowserHosts               : 1
OutputForTeamCity                  : False
QueryString                        :
ReportOutputFileType               : StatLight
ReportOutputPath                   :
SettingsOverride                   : System.Collections.Generic.Dictionary`2[Sys
tem.String,System.String]
StartWebServerOnly                 : False
TagFilters                         :
UnitTestProviderType               : Undefined
UseRemoteTestPage                  : False
WebBrowserType                     : SelfHosted
WindowGeometry                     : StatLight.Core.Configuration.WindowGeometry

XapPaths                           : IEnumerable
                                     {
                                       '.\Wk.Test.Sl\Bin\Wk.Test.Sl.xap'
                                     }
*****************************************************************
Starting configuration for: .\Wk.Test.Sl\Bin\Wk.Test.Sl.xap
XapItems.FilesContainedWithinXap = AppManifest.xaml
XapItems.FilesContainedWithinXap = Castle.Core.dll
XapItems.FilesContainedWithinXap = GalaSoft.MvvmLight.SL4.dll
XapItems.FilesContainedWithinXap = Microsoft.Silverlight.Testing.dll
XapItems.FilesContainedWithinXap = Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
XapItems.FilesContainedWithinXap = Moq.Silverlight.dll
XapItems.FilesContainedWithinXap = System.ComponentModel.DataAnnotations.dll
XapItems.FilesContainedWithinXap = System.ServiceModel.DomainServices.Client.dll

XapItems.FilesContainedWithinXap = Wk.Test.Sl.dll
Incoming Microsoft.Silverlight.Testing.dll file's hash = 357A677957F309AE85C3E5AEEDA43A32BCA23AD3
RunnerType = ContinuousTest
Attempting to open port at http://localhost:8887/
testPageUrlWithQueryString = http://localhost:8887/GetHtmlTestPage?


Starting Test Run: 12/29/2011 6:50:29 PM

Listening on http://localhost:8887/
Loading XapHost file [MSTest2010April]
Loading XapHost [C:\Dev\branches\massnahmen\GeoMan\tools\StatLight.v1.6\StatLight.Client.For.MSTest2010April.xap]
XapItems.FilesContainedWithinXap = AppManifest.xaml
XapItems.FilesContainedWithinXap = Castle.Core.dll
XapItems.FilesContainedWithinXap = GalaSoft.MvvmLight.SL4.dll
XapItems.FilesContainedWithinXap = Microsoft.Silverlight.Testing.dll
XapItems.FilesContainedWithinXap = Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
XapItems.FilesContainedWithinXap = Moq.Silverlight.dll
XapItems.FilesContainedWithinXap = System.ComponentModel.DataAnnotations.dll
XapItems.FilesContainedWithinXap = System.ServiceModel.DomainServices.Client.dll

XapItems.FilesContainedWithinXap = Wk.Test.Sl.dll
re-writing host xap with the following files
    -  already has file AppManifest.xaml
    add -  Castle.Core.dll
        updated AppManifest - Castle.Core
    add -  GalaSoft.MvvmLight.SL4.dll
        updated AppManifest - GalaSoft.MvvmLight.SL4
    -  already has file Microsoft.Silverlight.Testing.dll
    -  already has file Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll
    add -  Moq.Silverlight.dll
        updated AppManifest - Moq.Silverlight
    add -  System.ComponentModel.DataAnnotations.dll
        updated AppManifest - System.ComponentModel.DataAnnotations
    add -  System.ServiceModel.DomainServices.Client.dll
        updated AppManifest - System.ServiceModel.DomainServices.Client
    add -  Wk.Test.Sl.dll
        updated AppManifest - Wk.Test.Sl

A Silverlight MessageBox dialog was automatically closed.
Caption: Unhandled Error in Silverlight Application
Super Secret StatLight Code: 836D4425-DB59-48BB-BA7B-03AB20A57499
Code: 2103
Category: InitializeError
Message: Invalid or malformed application: Check manifest

Dialog Message:
Message from webpage

------------------ Test Failed ------------------
Test Namespace:
Test Class:
Test Method:
Other Info:        A Silverlight MessageBox dialog was automatically closed.
Caption: Unhandled Error in Silverlight Application
Super Secret StatLight Code: 836D4425-DB59-48BB-BA7B-03AB20A57499
Code: 2103
Category: InitializeError
Message: Invalid or malformed application: Check manifest

Dialog Message:
Message from webpage
-------------------------------------------------
Clicking OK on a dialog (MessageBox)
webBrowser.Stop()
********************************************
Error Summary for: C:\Dev\branches\massnahmen\GeoMan\src\SlRia\Wk.Test\Wk.Test.Sl\Bin\Wk.Test.Sl.xap

------------------ Test Failed ------------------
Test Namespace:
Test Class:
Test Method:
Other Info:        A Silverlight MessageBox dialog was automatically closed.
Caption: Unhandled Error in Silverlight Application
Super Secret StatLight Code: 836D4425-DB59-48BB-BA7B-03AB20A57499
Code: 2103
Category: InitializeError
Message: Invalid or malformed application: Check manifest

Dialog Message:
Message from webpage
-------------------------------------------------
********************************************

*************** Summary ********************
********************************************
Total          : 1
Successful     : 0
Failed         : 1
Ignored        : 0
Completion End : 12/29/2011 6:50:34 PM
Duration       : 00:00:05.1590551
********************************************
*** Type [?] for more info***
Current Filter <>:

 

I have stripped my test library of all tests and references to my libraries and still getting the error.  

The AppManifest.xaml has the following content

 

 

<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" EntryPointAssembly="Wk.Test.Sl" EntryPointType="Wk.Test.Sl.App" RuntimeVersion="4.0.50826.0">
  <Deployment.Parts>
    <AssemblyPart x:Name="Wk.Test.Sl" Source="Wk.Test.Sl.dll" />
    <AssemblyPart x:Name="Castle.Core" Source="Castle.Core.dll" />
    <AssemblyPart x:Name="GalaSoft.MvvmLight.SL4" Source="GalaSoft.MvvmLight.SL4.dll" />
    <AssemblyPart x:Name="Microsoft.Silverlight.Testing" Source="Microsoft.Silverlight.Testing.dll" />
    <AssemblyPart x:Name="Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight" Source="Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll" />
    <AssemblyPart x:Name="Moq.Silverlight" Source="Moq.Silverlight.dll" />
    <AssemblyPart x:Name="System.ComponentModel.DataAnnotations" Source="System.ComponentModel.DataAnnotations.dll" />
    <AssemblyPart x:Name="System.ServiceModel.DomainServices.Client" Source="System.ServiceModel.DomainServices.Client.dll" />
  </Deployment.Parts>
</Deployment>

 

I could send you the xap file in case you need it.  I am developing on an 2008 R2 workstation.  The following Silverlight products are installed (beyond Silverllight 4):

- 4 SDK

- 4 Toolkit April 2010

- VS Tools for Cisual Studio 2010

 

Thank you very much for your help on this issue!

 

Best regards

 

Nasser

 

Coordinator
Dec 30, 2011 at 2:44 AM

Thanks for the report. If possible would you mind sending me the xap? If you can't post the xap publicly, you can contact me through the codeplex site and I'll reply with my email.

Sorry for the trouble.

Coordinator
Jan 2, 2012 at 6:26 PM

NOTE TO ALL: if you got here because you're experiencing a similar issue. Most likely you're running StatLight 1.6 against a test xap and don't have Silverlight 5 installed.

Go back to using StatLight 1.5 until I either get a fix for this or you upgrade to SL5.