You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-users@incubator.apache.org by Khai Do <kh...@impinj.com> on 2011/05/03 17:55:29 UTC

RE: Unhandled Exception executing NPanday.Plugin.Loader.exe

I'm seeing this same Unhandled exception again.  This time it's when I attempt to build a WPF application with the NPanday.Plugin.Msbuild.JavaBinding plugin. I'm using maven 2.2.1, npanday-1.3-incubating, java-1.6_23 on windows 7 64 bit.  Do you know if there is a workaround for this?  Attached is my npanday-settings.xml and project pom files.

Here is the error..

[INFO] Mojo Execution Time = 1275
[INFO] [resolver:resolve {execution: default-resolve}]
[INFO] Mojo Execution Time = 0
[INFO] [NPanday.Plugin.Settings.JavaBinding:generate-settings {execution: defaul
t-generate-settings}]
[INFO] [NPanday.Plugin.Msbuild.JavaBinding:compile {execution: default}]
NPanday: Start Process = 5/3/2011 6:21:33 PM
"parameterFile=C:\Users\testuser\AppData\Local\Temp\Plugin8437723966499478084.xm
l" "assemblyFile=C:\workspace\DashboardSample\View\target\NPanday.Plugin.Msbuild
.dll" "mojoName=NPanday.Plugin.Msbuild.MsbuildMojo" "startProcessAssembly=C:\wor
kspace\DashboardSample\View\target\NPanday.Plugin.Loader.exe"
[INFO]
[INFO] Unhandled Exception: System.TypeLoadException: The domain manager specifi
ed by the host could not be instantiated.
[INFO]    at System.AppDomain.CreateDomainManager(String domainManagerAssemblyNa
me, String domainManagerTypeName)
[INFO]    at System.AppDomain.SetDomainManager(Evidence providedSecurityInfo, Ev
idence creatorsSecurityInfo, IntPtr parentSecurityDescriptor, Boolean publishApp
Domain)
[INFO]    at System.AppDomain.SetDefaultDomainManager(String fullName, String[]
manifestPaths, String[] activationData)
NPanday: End Process = 5/3/2011 6:21:38 PM; exit code = -532459699
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] NPANDAY-xxx-000

Embedded error: NPANDAY-063-000: Execution Path = C:\workspace\DashboardSample\V
iew\target, Command = [parameterFile=C:\Users\testuser\AppData\Local\Temp\Plugin
8437723966499478084.xml, assemblyFile=C:\workspace\DashboardSample\View\target\N
Panday.Plugin.Msbuild.dll, mojoName=NPanday.Plugin.Msbuild.MsbuildMojo, startPro
cessAssembly=C:\workspace\DashboardSample\View\target\NPanday.Plugin.Loader.exe]

NPANDAY-040-001: Could not execute: Command = CMD.EXE /X /C NPanday.Plugin.Runne
r.exe parameterFile=C:\Users\testuser\AppData\Local\Temp\Plugin84377239664994780
84.xml assemblyFile=C:\workspace\DashboardSample\View\target\NPanday.Plugin.Msbu
ild.dll mojoName=NPanday.Plugin.Msbuild.MsbuildMojo startProcessAssembly=C:\work
space\DashboardSample\View\target\NPanday.Plugin.Loader.exe, Result = -532459699