java Exception when clicking "deployment" in task menu

  • 7004846
  • 11-Nov-2009
  • 08-Nov-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2 ZENworks Control Center - ZCC
Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2 Deployment

Situation

Discovery has been run, which discovered one or more Windows 7 workstations
Clicking on "Deployment" in ZCC, Deployment page is not displayed.
ZCC.log shows "java.lang.IllegalArgumentException: No enum const class
com.novell.zenworks.discovery.ostype.OSPlatform.WIN7"
 
Discovery has also been run on Windows 2008 R2 devices:
The error "No enum const class com.novell.zenworks.discovery.ostype.OSPlatform.WIN2K8R2 at java.lang.Enum.valueOf(Enum.java:192)" will be seen in ZCC.log.

Resolution

For the problem with Windows 7 devices:
This is fixed in version 10.2.2 - see KB 7004803 "ZENworks 10 Configuration Management 10.2.2 - update information and list of fixes" which can be found at https://www.novell.com/support
 
Workaround: if it is not possible to upgrade to ZCM 10.2.2 at this time, in the interim, Novell has made a Patch available for testing, in the form of a Field Test File (FTF): it can be obtained at https://download.novell.com/patch/finder as "ZCM10.2.0/ZCM10.2.1 discovery jar files - TID 7004846". This Patch should only be applied if the symptoms above are being experienced, and are causing problems.
 
This Patch has had limited testing, and should not be used in a production system without first being checked in a test environment. Some Patches have specific requirements for deployment, it is very important to follow any instructions in the readme at the download site. Please report any problems encountered when using this Patch, by using the feedback link on this TID.
 
Regarding the  problem with Windows 2008 R2 devices:
This is fixed in version 10.3 - see KB 7005455 "ZENworks Configuration Management SP3 (10.3) - update information and list of fixes" which can be found at https://www.novell.com/support

Additional Information

Windows 7 is supported in ZCM 10.2.1 on an "experimental" basis only, see TID 7004445

Exception in ZCC.log:
04 nov. 2009 11:04:54 ============== Exception (begin) ===========================
04 nov. 2009 11:04:54 Exception occured
java.lang.IllegalArgumentException: No enum const class
com.novell.zenworks.discovery.ostype.OSPlatform.WIN7
          at java.lang.Enum.valueOf(Enum.java:192)
          at
com.novell.zenworks.discovery.ostype.OSPlatform.valueOf(OSPlatform.java:22)
          at
com.novell.zenworks.discovery.ostype.OSTypeInfoSerializer.deserialize(OSTypeInfoSerializer.java:239)
          at
com.novell.zenworks.discovery.ostype.OSType.isDeployable(OSType.java:147)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.isDeployable(DiscoveredDetailsList.java:1843)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.applyEligibleFilter(DiscoveredDetailsList.java:1635)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.applySearchFilter(DiscoveredDetailsList.java:1493)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.getItemOIDs(DiscoveredDetailsList.java:425)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.getItems(DiscoveredDetailsList.java:265)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.loadDataGrid(DiscoveredDetailsList.java:1067)
          at
com.novell.zenworks.admin.controls.discovery.DiscoveredDetailsList.prerender(DiscoveredDetailsList.java:598)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2626)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.zenworks.fw.web.internal.layout.SnapshotTemplate.preRenderRecursiveInternal(SnapshotTemplate.java:460)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at
com.novell.web.controls.WebControl.preRenderRecursiveInternal(WebControl.java:2637)
          at com.novell.web.controls.Page.internalProcessRequest(Page.java:599)
          at com.novell.web.controls.Page.processRequest(Page.java:528)
          at
com.novell.zenworks.fw.web.internal.layout.Index.processRequest(Index.java:518)
          at com.novell.web.internal.controls.PageTag.doEndTag(PageTag.java:86)
          at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:179)
          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)
04 nov. 2009 11:04:54

Exception Info:
04 nov. 2009 11:04:54     Class....... java.lang.IllegalArgumentException
04 nov. 2009 11:04:54     Message..... No enum const class
com.novell.zenworks.discovery.ostype.OSPlatform.WIN7
04 nov. 2009 11:04:54     Logged at... Index...............524
04 nov. 2009 11:04:54 ============== Exception (end) =============================
This issue is also seen for Windows 2008 R2 servers. (See TID Link)