Error while running a dpage
|
|
@ashmjcan you share the screenshot of the source of your datapage? Seems the expected value is null. If you can check that you should be good to resolve the issue.
Hi @ashmj, below issues may be the reasons for your question.
Data Page Reference Issue
The D_GetPlans data page may be trying to reference another clipboard page (e.g., for a parameter or context), but that page doesn't exist yet.
Missing or Incorrect Parameter Page
If D_GetPlans is defined with parameters, make sure those are being provided when it is referenced. Pega won’t always throw a clean error if required parameters are missing—it might just break somewhere in the logic like here.
Manual Clipboard Access
If a rule (e.g., a Data Transform or Activity) inside D_GetPlans is manually trying to access a page using findPage() or getPage(), and it assumes the page always exists, this can fail.
Regards,
Prasad.
@ashmj This error means that while trying to load the data page D_GetPlans
, Pega encountered a NullPointerException
. Specifically, it tried to call a method on a page that doesn't exist. The root cause is that Pega attempted to access a clipboard page using findPage
, but that page was not found (i.e., it returned null), and then tried to perform an action on it, which caused the crash. To fix this, ensure that any reference pages (like parameters or source pages) required by the data page are properly initialized before calling D_GetPlans
. Also, check the data page's parameters and source activity or report definition to confirm nothing is missing or misconfigured. Adding a null check before using any page in custom code (e.g., in data transforms or activities) can also prevent this error
Question
Question
Discussion
Question Solved
Question
Support Doc
Question Solved
Question Solved
Question Solved
Discussion
Pega Collaboration Center 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.