Brett Porter created NPANDAY-635:
------------------------------------
Summary: Unable to build netplugins on Mono 3.6.0
Key: NPANDAY-635
URL: https://issues.apache.org/jira/browse/NPANDAY-635
Project: NPanday
Issue Type: Bug
Environment: Mac OS X Mavericks, Mono 3.6.0 from homebrew, Maven
3.2.3, Java 1.7.0_65
Reporter: Brett Porter
I get this error when doing the mojo generation:
{code}
[ERROR] | [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException:
There was an error reflecting type 'NPanday.Model.Pom.Model'. --->
System.InvalidOperationException: There was an error reflecting field
'ciManagement'. ---> System.InvalidOperationException: There was an error
reflecting type 'NPanday.Model.Pom.CiManagement'. --->
System.InvalidOperationException: There was an error reflecting field
'notifiers'. ---> System.InvalidOperationException: There was an error
reflecting type 'NPanday.Model.Pom.Notifier'. --->
System.InvalidOperationException: There was an error reflecting field
'configuration'. ---> System.InvalidOperationException: There was an error
reflecting type 'NPanday.Model.Pom.NotifierConfiguration'. --->
System.InvalidOperationException: There was an error reflecting field 'Any'.
---> System.InvalidOperationException: The element Any has been attributed with
an XmlAnyElementAttribute and a namespace '', but no name. When a namespace is
supplied, a name is also required. Supply a name or remove the namespace.
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportAnyElementInfo
(System.String defaultNamespace, System.Xml.Serialization.XmlReflectionMember
rmember, System.Xml.Serialization.XmlTypeMapMemberElement member,
System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0
[ERROR] | at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember
(System.Type declaringType, System.Xml.Serialization.XmlReflectionMember
rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type
type, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type
cls, System.String defaultName, System.String defaultNamespace, System.Type
defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member,
System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0
[ERROR] | at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember
(System.Type declaringType, System.Xml.Serialization.XmlReflectionMember
rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type
type, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportListMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace,
System.Xml.Serialization.XmlAttributes atts, Int32 nestingLevel) [0x00000] in
<filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportListMapping (System.Type
type, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace, System.Xml.Serialization.XmlAttributes atts, Int32
nestingLevel) [0x00000] in <filename unknown>:0
[ERROR] | at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember
(System.Type declaringType, System.Xml.Serialization.XmlReflectionMember
rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type
type, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportElementInfo (System.Type
cls, System.String defaultName, System.String defaultNamespace, System.Type
defaultType, System.Xml.Serialization.XmlTypeMapMemberElement member,
System.Xml.Serialization.XmlAttributes atts) [0x00000] in <filename unknown>:0
[ERROR] | at System.Xml.Serialization.XmlReflectionImporter.CreateMapMember
(System.Type declaringType, System.Xml.Serialization.XmlReflectionMember
rmember, System.String defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportClassMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | --- End of inner exception stack trace ---
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping
(System.Xml.Serialization.TypeData typeData,
System.Xml.Serialization.XmlRootAttribute root, System.String defaultNamespace)
[0x00000] in <filename unknown>:0
[ERROR] | at
System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping (System.Type
type, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at System.Xml.Serialization.XmlSerializer..ctor (System.Type type,
System.Xml.Serialization.XmlAttributeOverrides overrides, System.Type[]
extraTypes, System.Xml.Serialization.XmlRootAttribute root, System.String
defaultNamespace) [0x00000] in <filename unknown>:0
[ERROR] | at System.Xml.Serialization.XmlSerializer..ctor (System.Type type)
[0x00000] in <filename unknown>:0
[ERROR] | at NPanday.Plugin.MojoGenerator.Generator.BuildPluginProject
(System.AppDomain applicationDomain, System.IO.FileInfo pluginArtifact,
System.IO.FileInfo outputDirectory, System.String groupId, System.String
artifactId, System.String version) [0x00000] in <filename unknown>:0
[ERROR] | at NPanday.Plugin.MojoGenerator.Generator.Main (System.String[]
args) [0x00000] in <filename unknown>:0
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)