Web Service 'Report Copy' - Nullpointer on copying report

Patrick Lynch shared this idea 1 year ago
Completed

Getting the following NullPointer when using the report web service copy, as implemented here:


YF:2017-06-13 14:14:32:ERROR (AdministrationService:copyReport) - Error Copying Report

com.hof.util.ActionErrorsException

at com.hof.mi.process.CopyReportProcess.copyReport(CopyReportProcess.java:168)

at com.hof.mi.web.service.AdministrationService.copyReport(AdministrationService.java:5818)

at com.hof.mi.web.service.AdministrationService.remoteAdministrationCall(AdministrationService.java:3625)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

Comments (2)

photo
1

Hi Partick,


This error itself means the report cannot be saved into a valid category, so it's not a defect.

However, the error message itself is not something anyone other than our YF devs can understand, so this idea is to ensure the error displayed is

"No valid category to copy report into" , so if you run into this problem, you know how to resolve.


Will post any updates on this task here.


Regards,

David

photo
1

Hi Patrick,


Just letting you know this has now been sorted. If you try copying a report from default org to client org, it now just works.


If you still have issues post upgrade, or if there was anything else you were after, please let us know.

Regards,

David