You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Khai Do (JIRA)" <ji...@apache.org> on 2011/06/02 19:11:47 UTC

[jira] [Commented] (NPANDAY-426) unhandled exception when attempting to execute NPanday.Plugin.Loader.exe

    [ https://issues.apache.org/jira/browse/NPANDAY-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042991#comment-13042991 ] 

Khai Do commented on NPANDAY-426:
---------------------------------

This failure will always happen when attempting to build a WPF project.  It will happen when there is an existing npanday-setting.xml file or NOT. I have not been able to build a WPF application at all due to this issue. I guess that was what I was trying to convey in issue NPANDAY-427.  


> 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
>         Attachments: NPANDAY_426.zip, npanday-settings.xml
>
>
> 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