search cancel

Update Jaspersoft Parameter command is throwing Null Pointer exception


Article ID: 256223


Updated On:


Clarity PPM On Premise


admin update jasperParameters is throwing null pointer exception.

Failed to update: jasperParameters: null
Error occurred: java.lang.NullPointerException

With -verbose on we observe the below stack trace.

 at java.base/java.util.concurrent.ConcurrentHashMap.putVal(
 at java.base/java.util.concurrent.ConcurrentHashMap.put(
 at java.base/java.util.Properties.put(
 at com.niku.reporting.jasper.ClarityJasperAdmin.populateDBProperties(
 at com.niku.reporting.jasper.ClarityJasperAdmin.updateDWHAttrsForBeanDS(
 at com.niku.reporting.jasper.ClarityJasperAdmin.updateUserProfileAttrsForBeanDS(
 at com.niku.reporting.jasper.ClarityJasperAdmin.updateUserProfileAttrsForBeanDS(
 at com.niku.nsa.service.AdminManager.doUpdate(
 at com.niku.nsa.service.AdminManager.invokeAction(
 at com.niku.nsa.service.AdminManager.execute(
 at com.niku.nsa.service.Admin.main(
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.base/java.lang.reflect.Method.invoke(
 at com.werken.forehead.Forehead.main(



Release : 16.0.3


This is caused in 16.0.3 when you configure Clarity with Oracle Database using a TNS format connection string along with Service Name


1. Download Clarity ISO and extract install.jar

2. Under install-packages/16.0.3/ run the command jar -xf package.jar lib/

3. The above command will extract only the lib folder. Copy the union.jar from this folder and replace it in the Clarity Server where you've seen this issue.

4. Bounce the services and test the command again.


Note :- This issue is only observed in 16.0.3 and please perform the steps with caution after taking proper backups.