Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Version: Windchill 12.0
Use Case: Integration with Jasper Studio
Description:
Following the steps in Authoring Jasper Report Using Report Template
After completed step 12 I get this error InvocationTargetException
If anyone has experience with this integration or knows how to resolve this issue, your assistance would be greatly appreciated.
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at net.sf.jasperreports.data.provider.DataSourceProviderDataAdapterService.getProvider(DataSourceProviderDataAdapterService.java:93)
at com.jaspersoft.studio.data.jrdsprovider.JRDSProviderFieldsProvider.getFields(JRDSProviderFieldsProvider.java:43)
at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFields(JrdsProviderDataAdapterDescriptor.java:55)
at com.jaspersoft.studio.data.ui.EmptyWizardDataEditorComposite.readFields(EmptyWizardDataEditorComposite.java:68)
at com.jaspersoft.studio.wizards.datasource.StaticWizardDataSourcePage.run(StaticWizardDataSourcePage.java:365)
at com.jaspersoft.studio.wizards.JSSWizardRunnablePage$1.run(JSSWizardRunnablePage.java:67)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.ptc.wbr.datasource.ReportTemplateJRDataSource
at com.ptc.wbr.datasource.providers.Site_Open_Task_Disabled_UserWNCProvider.<init>(Site_Open_Task_Disabled_UserWNCProvider.java:18)
... 12 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager [in thread "ModalContext"]
at com.ptc.wbr.datasource.ReportTemplateJRDataSource.<clinit>(ReportTemplateJRDataSource.java:37)
at com.ptc.wbr.datasource.providers.Site_Open_Task_Disabled_UserWNCProvider.<init>(Site_Open_Task_Disabled_UserWNCProvider.java:18)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at net.sf.jasperreports.data.provider.DataSourceProviderDataAdapterService.getProvider(DataSourceProviderDataAdapterService.java:93)
at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFieldProvider(JrdsProviderDataAdapterDescriptor.java:69)
at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFields(JrdsProviderDataAdapterDescriptor.java:54)
... 4 more