[
https://issues.apache.org/jira/browse/NPANDAY-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Burton updated NPANDAY-426:
----------------------------------
Attachment: testWpfControlLibrary.zip
I've been receiving a similar System.TypeLoadException exception when trying to
build WPF projects with NPanday.
I've attached testWpfControlLibrary.zip that contains most the error
(error.txt) and the sample WPF Custom Control Library with the poms used. I've
had the same issue compiling WPF Application.
After reading related posts I've tried changing my path, npanday-settings.xml &
poms with no luck.
I receive the error while using the VS plugin or running via command line.
Have you successfully been able to use NPanday to compile WPF applications?
OS: XP Pro SP3 32bit
VS 2010, 2008 & 2005 Professional all installed
M2_HOME=C:\Working\dev\apps\maven\apache-maven-2.2.1
> unhandled exception when attempting to execute NPanday.Plugin.Loader.exe
> ------------------------------------------------------------------------
>
> Key: NPANDAY-426
> URL: https://issues.apache.org/jira/browse/NPANDAY-426
> Project: NPanday
> Issue Type: Bug
> Components: Maven Plugins
> Affects Versions: 1.4-incubating
> Environment: Maven 2.2.1, Windows 7 64 bit, Java 1.6_23, Npanday
> 1.3-incubating
> Reporter: Khai Do
> Priority: Critical
> Labels: maven
> Fix For: 1.4.1-incubating
>
> Attachments: NPANDAY_426.zip, npanday-settings.xml,
> testWpfControlLibrary.zip
>
>
> I get an unhandled exception when attempting to execute
> NPanday.Plugin.Loader.exe. I've found that I get this exception when
> npanday-settings.xml is missing from C:\Documents and Settings\<username>\.m2
> folder. The fialure goes away when the file is present. The
> Npanday-1.3-incubating.msi doesn't install this file. I've already posted
> this issue on the npanday mailing list:
> http://markmail.org/message/vw4dsxlbchcknbbz
> Here is the error..
> [INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings {execution:
> default-generate-settings}] NPanday: Start Process = 4/14/2011 2:47:26 PM
> "parameterFile=C:\Users\ADMINI~1\AppData\Local\Temp\Plugin2180957865136058399.xml"
> "assemblyFile=C:\source\DashboardSample\target\NPanday.Plugin.Settings.dll"
> "mojoName=NPanday.Plugin.Settings.Setting sGeneratorMojo"
> "startProcessAssembly=C:\source\DashboardSample\target\NPanday.Plugin.Loader.exe"
> [INFO] [INFO] Unhandled Exception: System.TypeLoadException: The domain
> manager
> specified by the host could not be instantiated. [INFO] at
> System.AppDomain.CreateDomainManager(String
> domainManagerAssemblyName, String domainManagerTypeName) [INFO] at
> System.AppDomain.SetDomainManager(Evidence providedSecurityInfo,
> Evidence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, Boolean
> publishAppDomain) [INFO] at System.AppDomain.SetDefaultDomainManager(String
> fullName, String[]
> manifestPaths, String[] activationData) NPanday: End Process = 4/14/2011
> 2:47:30 PM; exit code = -532459699 [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR [INFO]
> ------------------------------------------------------------------------
> [INFO] NPANDAY-xxx-000
> Embedded error: NPANDAY-063-000: Execution Path =
> C:\source\DashboardSample\target, Command =
> [parameterFile=C:\Users\ADMINI~1\AppData\Local\Temp\Plugin2180957865136058399.xml,
> assemblyFile=C:\source\ DashboardSample\target\NPanday.Plugin.Settings.dll,
> mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo,
> startProcessAssembly=C:\source\DashboardSample\target\NPanday.Plugin.Loader.exe]
> NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C
> NPanday.Plugin.Runner.exe
> parameterFile=C:\Users\ADMINI~1\AppData\Local\Temp\Plugin2180957865136058399.xml
> assemblyFile=C:\source\DashboardS ample\target\NPanday.Plugin.Settings.dll
> mojoName=NPanday.Plugin.Settings.SettingsGeneratorMojo
> startProcessAssembly=C:\source\DashboardSample\target\NPanday.Plugin.Loader.exe,
> Result = -532459699
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira