Question

1
Replies
425
Views
Ties van den Wijngaard (Tiesv895)
Stichting Hogeschool Utrecht

Stichting Hogeschool Utrecht
NL
Tiesv895 Member since 2018 1 post
Stichting Hogeschool Utrecht
Posted: November 20, 2018
Last activity: January 24, 2019
Posted: 20 Nov 2018 8:43 EST
Last activity: 24 Jan 2019 16:49 EST
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":

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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.