search cancel

Unable to update a cost plan / Error 500 - com.niku.xmlserver.blob.FiscalCurve

book

Article ID: 203424

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Unable to update a cost plan class com.niku.xmlserver.blob.NkCurve cannot be cast to class com.niku.xmlserver.blob.FiscalCurve

When trying to update any line on a Cost plan, you see: Error 500 - Internal Server Error.

In the logs you see a Java error:

ERROR 2020-11-16 20:53:42,321 [http-nio-1581-exec-9] services.CostPlanDetailUpdateService (clarity:admin:18190277__4FB18AAD-60D7-4A43-B5A2-A59F278AF1B2:npt.gridUpdate) Exception while updating cost plan detail

java.lang.ClassCastException: class com.niku.xmlserver.blob.NkCurve cannot be cast to class com.niku.xmlserver.blob.FiscalCurve (com.niku.xmlserver.blob.NkCurve and com.niku.xmlserver.blob.FiscalCurve are in unnamed module of loader java.net.URLClassLoader @6fd2a25f)

              at com.ca.clarity.financial.planning.services.CostPlanDetailUpdateService.setVarianceFieldsInDataDoc(CostPlanDetailUpdateService.java:199)

              at com.ca.clarity.financial.planning.services.CostPlanDetailUpdateService.processRequest(CostPlanDetailUpdateService.java:76)

              at com.niku.union.service.binding.ServiceControlBindingJava.processRequest(ServiceControlBindingJava.java:58)

              at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:914)

              at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:212)

              at com.niku.odf.object.Utils.execService(Utils.java:208)

Environment

Release : 15.8.1, 15.9.0, 15.9.1

Component : CLARITY FINANCIAL MANAGEMENT

Resolution

Fixed in 15.9.2 as DE58707