Question

1
Replies
413
Views
Tiesv895 Member since 2018 1 post
Stichting Hogeschool Utrecht
Posted: 1 year ago
Last activity: 1 year 8 months ago
Closed

Can not select type for a label when configuring view

Hi all,

I'm currently working on the Business Architect Essentials course, lesson "Defining user views". I need to give the label "Employee", the type "Field Group", but when i have "Employee" as label name, i can not select anything. It is set to "Text (single line)". Only when i enter a number in the label, i can change the type, but then i get this error when clicking "Open":

Test compilation failed: ----------
1. ERROR in /Rule_Obj_Model_TGB_HRApps_Work_Onboarding_pyDefault_Model_20180727T134931_360_GMT.java (at line 88)
}ClipboardPage targetPage_1 = (ClipboardProperty) null.getParentPage();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from ClipboardProperty to ClipboardPage
----------
2. ERROR in /Rule_Obj_Model_TGB_HRApps_Work_Onboarding_pyDefault_Model_20180727T134931_360_GMT.java (at line 88)
}ClipboardPage targetPage_1 = (ClipboardProperty) null.getParentPage();
^^^^^^^^^^^^^^^^^^^^
Cannot invoke getParentPage() on the primitive type null
----------
2 problems (2 errors)
Compile failed.

.pyProperties(2).pyPropertiesName:

Error occurred trying to parse the expression and augmenting the code: java.lang.NullPointerException
Test compilation failed: ----------
1. ERROR in /Rule_Obj_Model_TGB_HRApps_Work_Onboarding_pyDefault_Model_20180727T134931_360_GMT.java (at line 88)
}ClipboardPage targetPage_1 = (ClipboardProperty) null.getParentPage();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Type mismatch: cannot convert from ClipboardProperty to ClipboardPage
----------
2. ERROR in /Rule_Obj_Model_TGB_HRApps_Work_Onboarding_pyDefault_Model_20180727T134931_360_GMT.java (at line 88)
^^^^^^^^^^^^^^^^^^^^
Cannot invoke getParentPage() on the primitive type null
2 problems (2 errors)
Compile failed.
.pyProperties(2).pyPropertiesName: Error occurred trying to parse the expression and augmenting the code: java.lang.NullPointerException

I have followed along with the first 5 excersise steps, but step 6 (Selecting a type) is just not possible. I hope anyone can help me out!

Regards,

Ties

Pega Academy
Moderation Team has archived post
Share this page LinkedIn