Environment
Novell ZENworks Configuration Management 11.2
Situation
Bundle does not show in zenicon, nalwin, desktop etc.
ERROR (in zmd-messages.log):
[ERROR] [08/23/2012 14:37:19.854] [1148] [ZenworksWindowsService] [4] [] [Bundle] [Bundle.ItemCreationError] [Error creating item to represent bundle: 42e9fb12653e2389fb4e554ff459a867 Exception: There is an error in XML document (177, 81). Stack: at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at Novell.Zenworks.Zmd.XmlUtil.DeSerializeXML(Object xmlData, Type type, XmlSerializer xml)
at Novell.Zenworks.AppModule.Schema.AppSchemaUtil.DeSerializeAppObject(String appData)
at Novell.Zenworks.AppModule.AppItem.UpdateAppData(Session session, AppData appData)
at Novell.Zenworks.AppModule.AppActionItem.UpdateAppData(Session session, AppData appData)
at Novell.Zenworks.AppModule.AppItem.initAppItem(Session session, AppData data, String zone)
at Novell.Zenworks.AppModule.AppActionItem.initBaseItem(Session uiSession, AppData data, Session serviceSession, IService service)
at Novell.Zenworks.AppModule.AppActionItem..ctor(Session uiSession, AppData data, Session serviceSession, IService service)
at Novell.Zenworks.AppModule.AppItemManager.CreateNewActionItem(Session session, AppData app, Session serviceSession, IService service, Boolean createdFromUserProcess, Boolean createAsADependentApp)] [] []
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at Novell.Zenworks.Zmd.XmlUtil.DeSerializeXML(Object xmlData, Type type, XmlSerializer xml)
at Novell.Zenworks.AppModule.Schema.AppSchemaUtil.DeSerializeAppObject(String appData)
at Novell.Zenworks.AppModule.AppItem.UpdateAppData(Session session, AppData appData)
at Novell.Zenworks.AppModule.AppActionItem.UpdateAppData(Session session, AppData appData)
at Novell.Zenworks.AppModule.AppItem.initAppItem(Session session, AppData data, String zone)
at Novell.Zenworks.AppModule.AppActionItem.initBaseItem(Session uiSession, AppData data, Session serviceSession, IService service)
at Novell.Zenworks.AppModule.AppActionItem..ctor(Session uiSession, AppData data, Session serviceSession, IService service)
at Novell.Zenworks.AppModule.AppItemManager.CreateNewActionItem(Session session, AppData app, Session serviceSession, IService service, Boolean createdFromUserProcess, Boolean createAsADependentApp)] [] []
Resolution
The bundle defined a system variable with an illegal character in it.
Variable values cannot include the characters & and <.