Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Database-BadClassDef Data Error

SA-2664

Summary



I have a campaign for which the program runs crash with an error.

The campaign works on DEV, but on UAT this error appears.
It ran over the weekend and the PRs for 10, 11 and 12 of October crashed.

It's P177 with PR320, PR322 and PR324. I have one campaign running ok on UAT (P178).

Error Messages



On screen:
Batch strategy execution failed: Batch execution failed. Can't create batch writer. Database-BadClassDef Data-BatchOutPR324
-------------
on log: [sample]
2014-10-10 11:02:07,129 INFO [STDOUT] (Dispatcher-Thread-28) 2014-10-10 11:02:07,117 [ WorkManager(2)-71] [ STANDARD] [ PegaNBAM:06.03] (a_decisionengine_batchdecision) ERROR - Batch execution failed. Can't create batch writer. Database-BadClassDef Data-BatchOutPR320
java.lang.RuntimeException: Can't create batch writer. Database-BadClassDef Data-BatchOutPR320
at com.pegarules.generated.pzInitRDBBatchWriter_060320_kxpB8FJrdfanEx5DCr03ow.pzInitRDBBatchWriter06_03_20(pzInitRDBBatchWriter_060320_kxpB8FJrdfanEx5DCr03ow.java:119)
at com.pegarules.generated.pzInitRDBBatchWriter_060320_kxpB8FJrdfanEx5DCr03ow.invoke(pzInitRDBBatchWriter_060320_kxpB8FJrdfanEx5DCr03ow.java:89)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:132)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:109)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:7975)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_decisionengine_batchdecision.pzInitRDBBatchWriter(pega_decisionengine_batchdecision.java:534)
at com.pegarules.generated.pzCreateBatchWriter_060320_0LvOvk7tKC_2LgEaT7PwgA.pzCreateBatchWriter06_03_20(pzCreateBatchWriter_060320_0LvOvk7tKC_2LgEaT7PwgA.java:137)
at com.pegarules.generated.pzCreateBatchWriter_060320_0LvOvk7tKC_2LgEaT7PwgA.invoke(pzCreateBatchWriter_060320_0LvOvk7tKC_2LgEaT7PwgA.java:89)

etc...

Steps to Reproduce



Run a campaign on UAT using : NetTrialFlashv2 segment, NetTrialFlashv2 strategy

Root Cause



The root cause of this problem is defect/misconfiguration in the PRPC operating environment. the Issue-Group of the program was different than that of strategy used inside the program.



Resolution



Recreate the Program under Issue and Group same as the Issue-Group of the Strategy used within the program.
 
Suggest Edit

Published January 31, 2016 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us