cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Error InvocationTargetException during Authoring Jasper Report

Jose3313
6-Contributor

Error InvocationTargetException during Authoring Jasper Report

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

 

 

 

Jose3313_1-1729521446693.png

 

 

0 REPLIES 0
Announcements


Top Tags