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
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