Can't create, edit or delete Discovery or Deployment tasks with saved credentials containing empty password

  • 7001132
  • 10-Aug-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10.1 Configuration Management
Novell ZENworks 10.1 Configuration Management Discovery

Situation

After updating from 10.0.3 to 10.1, can't edit or delete discovery or deployment tasks that were made with saved credentials including empty password.
 
ERROR: "Exception occured
java.lang.IllegalArgumentException: Illegal xml value: unencrypted string was null or empty
"

Resolution

This is fixed in version 10.1.1 - see KB 7001406 "ZENworks 10 Configuration Management 10.1.1" which can be found at https://www.novell.com/support

Additional Information

Note:  Windows XP and Vista will not accept Remote Connections from Accounts with Blank Passwords by Default.  In versions where ZCC allows blank password, typically a runtime error will be seen when deployment WinAPIs fail with password cannot be empty error.
 
Complete ERROR (from zcc.log):
 
08 Aug 2008 09:46:58     Message..... Illegal xml value: unencrypted string was null or empty
08 Aug 2008 09:46:58     Logged at... WebControl.........2001
08 Aug 2008 09:46:58 ============== Exception (end) =============================
08 Aug 2008 09:46:58 WebControl.........2002 :   target= DiscoveryTaskSnapshot[id=discoverytask; hash=5e7d96]
08 Aug 2008 09:46:58 WebControl.........2003 :   event= bindStatusItem
08 Aug 2008 09:46:58 ============== Exception (begin) ===========================
08 Aug 2008 09:46:58 Exception occured
java.lang.IllegalArgumentException: Illegal xml value: unencrypted string was null or empty
 at com.novell.zenworks.datamodel.services.discovery.CredentialPacket.<init>(CredentialPacket.java:97)
 at com.novell.zenworks.datamodel.services.discovery.DiscoveryAdminImpl.get(DiscoveryAdminImpl.java:891)
 at com.novell.zenworks.admin.pages.discovery.DiscoveryTaskSnapshot.bindStatusItem(DiscoveryTaskSnapshot.java:561)
 at sun.reflect.GeneratedMethodAccessor1385.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at com.novell.web.controls.WebControl.fireEvent(WebControl.java:1977)
 at com.novell.web.controls.WebControl.onDataBinding(WebControl.java:2596)
 at com.novell.web.controls.DataGrid.createTableRows(DataGrid.java:1426)
 at com.novell.web.controls.DataGrid.createChildControlsImpl(DataGrid.java:664)
 at com.novell.web.controls.DataGrid.createChildControls(DataGrid.java:512)
 at com.novell.web.controls.WebControl.ensureChildControls(WebControl.java:1738)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1641)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1685)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1685)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1685)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1685)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1685)
 at com.novell.web.controls.WebControl.findControl(WebControl.java:1618)
 at com.novell.web.controls.Page.processPostData(Page.java:1157)
 at com.novell.web.controls.Page.internalProcessRequest(Page.java:577)
 at com.novell.web.controls.Page.processRequest(Page.java:527)
 at com.novell.zenworks.fw.web.internal.layout.Index.processRequest(Index.java:479)
 at com.novell.web.internal.controls.PageTag.doEndTag(PageTag.java:86)
 at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:176)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
 at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
 at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:364)
 at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
 at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet.java:97)
 at com.novell.zenworks.fw.web.internal.ZENworksServlet.service(ZENworksServlet.java:84)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at com.patchlink.sapphire.web.pages.vulnerability.session.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:75)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:1122)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
 at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
 at java.lang.Thread.run(Thread.java:595)
08 Aug 2008 09:46:58
Exception Info:
08 Aug 2008 09:46:58     Class....... java.lang.IllegalArgumentException
08 Aug 2008 09:46:58     Message..... Illegal xml value: unencrypted string was null or empty
08 Aug 2008 09:46:58     Logged at... DataGrid...........1430
08 Aug 2008 09:46:58 ============== Exception (end) =============================
 
 
 
 

Feedback service temporarily unavailable. For content questions or problems, please contact Support.