Article - CS261309
Cognos load report failed with Exception in thread "main" java.lang.reflect.InvocationTargetException, in Windchill PDMLink
Modified: 24-Apr-2017
Applies To
- Windchill PDMLink 10.0 to 11.0
Description
Cognos load report failed with Exception in thread "main" java.lang.reflect.InvocationTargetException
Error in LoadReports.log file :
Exception in thread "main" java.lang.reflect.InvocationTargetException
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)
at com.ptc.windchill.cognos.CognosProxy.main(CognosProxy.java:63)
Caused by: java.lang.NullPointerException
at com.ptc.windchill.cognos.CognosFacade.addReportPropsFilesFrom(CognosFacade.java:2632)
at com.ptc.windchill.cognos.CognosFacade.loadCognosReports(CognosFacade.java:2584)
at com.ptc.windchill.cognos.CognosFacade.loadCognosReports(CognosFacade.java:2567)
at com.ptc.windchill.cognos.CognosFacade.main(CognosFacade.java:2470)
... 5 more
Error in LoadReports.log file :
Exception in thread "main" java.lang.reflect.InvocationTargetException
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)
at com.ptc.windchill.cognos.CognosProxy.main(CognosProxy.java:63)
Caused by: java.lang.NullPointerException
at com.ptc.windchill.cognos.CognosFacade.addReportPropsFilesFrom(CognosFacade.java:2632)
at com.ptc.windchill.cognos.CognosFacade.loadCognosReports(CognosFacade.java:2584)
at com.ptc.windchill.cognos.CognosFacade.loadCognosReports(CognosFacade.java:2567)
at com.ptc.windchill.cognos.CognosFacade.main(CognosFacade.java:2470)
... 5 more
This is a printer-friendly version of Article 261309 and may be out of date. For the latest version click CS261309